 /* ── CSS Variables ── */
:root {
    --clr-primary:       #3d2b8e;
    --clr-primary-dark:  #2b1d72;
    --clr-primary-light: #5a46b8;
    --clr-accent:        #6c5ce7;
    --clr-white:         #ffffff;
    --clr-text-dark:     #1a1a2e;
    --clr-text-body:     #3a3a5c;
    --clr-text-muted:    #6b6b8a;
    --clr-border:        #e0ddf5;
    --clr-stats-bg:      #f5f5f8;
    --clr-navbar-bg:     #ffffff;

    --font-arabic:       'IBM Plex Sans Arabic', sans-serif;
    --font-latin:        'IBM Plex Sans Arabic', sans-serif;

    --nav-height:        72px;
    --transition:        0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm:         6px;
    --radius-md:         10px;
    --radius-lg:         16px;
    --shadow-sm:         0 2px 12px rgba(61, 43, 142, 0.08);
    --shadow-md:         0 6px 30px rgba(61, 43, 142, 0.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-arabic);
    color: var(--clr-text-dark);
    background: var(--clr-white);
    overflow-x: hidden;
    direction: ltr;
    text-align: right;
    overflow-x: hidden;
}
section{
    scroll-margin-top: 75px;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }


/* ══════════════════════════════════════════════
    NAVBAR
══════════════════════════════════════════════ */
.site-navbar {
    direction: rtl;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--clr-navbar-bg);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 rgba(61, 43, 142, 0.08);
    transition: box-shadow var(--transition);
}

.site-navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 clamp(16px, 4vw, 48px);
    gap: 16px;
}

/* Logo — right side (RTL) */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo img {
    /* assets/images/logo.png */
    height: 48px;
    width: auto;
    loading: lazy;
}

/* Center nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 500;
    color: var(--clr-text-body);
    padding: 4px 2px;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Active link has underline by default */
.nav-links a.active::after {
    width: 100%;
}

/* Left side — EN + CTA */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-lang {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text-body);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-lang:hover {
    color: var(--clr-primary);
    background: rgba(61, 43, 142, 0.06);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--clr-primary);
    color: var(--clr-white) !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-nav-cta:hover {
    background: var(--clr-primary-dark);
    box-shadow: 0 4px 16px rgba(61, 43, 142, 0.35);
    transform: translateY(-1px);
}

/* Hamburger (mobile) */
.nav-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggler:hover { background: rgba(61, 43, 142, 0.06); }

.nav-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.nav-toggler.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggler.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggler.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--clr-white);
    padding: 20px clamp(16px, 5vw, 32px) 28px;
    border-top: 1px solid var(--clr-border);
    gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-text-body);
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--clr-primary);
    background: rgba(61, 43, 142, 0.05);
}

.mobile-menu .mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--clr-border);
}
/* ══════════════════════════════════════════════
    NAVBAR — RESPONSIVE / MOBILE FIX
══════════════════════════════════════════════ */

/* Hide center links + CTA on tablet/mobile, show hamburger */
@media (max-width: 991.98px) {
    .nav-links {
        display: none;
    }

    .btn-nav-cta {
        display: none !important;
    }

    .nav-toggler {
        display: flex; /* was "display: none" with no override before — this is the actual bug */
    }

    .navbar-inner {
        justify-content: space-between;
    }
}

/* Mobile menu sits below fixed navbar, scrolls if content is tall */
@media (max-width: 991.98px) {
    .mobile-menu {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        left: 0;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
}

/* Small phones: tighten logo + padding so nothing overflows horizontally */
@media (max-width: 480px) {
    .nav-logo img {
        height: 38px;
    }

    .navbar-inner {
        padding: 0 16px;
    }

    .mobile-menu {
        padding: 16px 16px 24px;
    }
}
/* ══════════════════════════════════════════════
    HERO SECTION
══════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Cityscape photo — left side, ~55% width */
.hero-image-col {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.hero-image-col img {
    /* assets/images/hero-bg.jpg */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Gradient overlay: fades the photo into white rightward */
.hero-image-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.7) 65%,
    rgba(255,255,255,1) 100%
    );
    z-index: 1;
}

/* Content — right side */
.hero-content-col {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(48px, 7vh, 96px) clamp(16px, 5vw, 80px) clamp(48px, 7vh, 80px) 0;
}

.hero-content-wrap {
    max-width: 540px;
    width: 100%;
}

/* Eyebrow badge */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(61, 43, 142, 0.07);
    border: 1px solid rgba(61, 43, 142, 0.15);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 20px;
}

/* Hero headline */
.hero-headline {
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--clr-primary-dark);
    margin-bottom: 20px;
}

.hero-headline span {
    color: var(--clr-primary);
}

/* Body copy */
.hero-body {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 500;
    line-height: 1.85;
    color: var(--clr-text-body);
    margin-bottom: 36px;
}

/* CTA buttons row */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: right;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-hero-primary:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--clr-white);
}

.btn-hero-primary .btn-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform var(--transition);
}

.btn-hero-primary:hover .btn-arrow {
    transform: translateX(-4px);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--clr-primary);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 700;
    padding: 13px 32px;
    border: 2px solid var(--clr-primary);
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn-hero-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* Vision 2030 badge — bottom right of hero */
.vision-badge {
    position: absolute;
    bottom: clamp(24px, 4vw, 48px);
    left: clamp(16px, 4vw, 56px);
    z-index: 3;
    background: rgb(255 255 255 / 90%);
backdrop-filter: blur(2px);
    border: 1px solid rgba(61, 43, 142, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    text-align: center;
    min-width: 180px;
    box-shadow: var(--shadow-sm);
}

.vision-badge img {
    /* assets/images/vision-2030.png */
    height: 72px;
    width: auto;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════
    STATS / FEATURES BAR
══════════════════════════════════════════════ */
.stats-bar {
    background: var(--clr-stats-bg);
    border-top: 1px solid var(--clr-border);
    padding: clamp(20px, 3vh, 32px) 0;
    direction: rtl;
}

.stats-bar .container-fluid {
    padding: 0 clamp(16px, 4vw, 56px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px clamp(16px, 2.5vw, 32px);
    border-left: 1px solid var(--clr-border);
    transition: background var(--transition);
}

.stat-item:last-child {
    border-left: none;
}

.stat-item:hover {
    background: rgba(61, 43, 142, 0.04);
}

.stat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(61, 43, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.stat-item:hover .stat-icon {
    background: rgba(61, 43, 142, 0.15);
}

.stat-icon img {
    /* assets/images/icon-*.png */
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.stat-text {
    text-align: right;
    flex: 1;
}

.stat-title {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 700;
    color: var(--clr-primary-dark);
    margin-bottom: 2px;
    line-height: 1.3;
}

.stat-desc {
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 400;
    color: var(--clr-text-muted);
    line-height: 1.4;
}


/* ══════════════════════════════════════════════
    RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════ */

/* ── Large Desktop (1400px+) ── */
@media (min-width: 1400px) {
    /* .hero-image-col { width: 58%; } */
    .hero-content-wrap { max-width: 580px; }
}

/* ── Tablet Landscape / Small Desktop (992–1199px) ── */
@media (max-width: 1199px) {
    .hero-image-col { width: 50%; }
    .hero-headline { font-size: clamp(26px, 3.8vw, 44px); }
}

/* ── Tablet Portrait (768–991px) ── */
@media (max-width: 991px) {
    .nav-links { display: none; }
    .nav-lang   { display: none; }
    .nav-toggler { display: flex; }

    .hero-main { flex-direction: column; }

    .hero-image-col {
    position: relative;
    width: 100%;
    height: 320px;
    flex-shrink: 0;
    }

    .hero-image-col::after {
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(255,255,255,0.95) 100%
    );
    }

    .hero-content-col {
    justify-content: center;
    padding: 32px clamp(16px, 6vw, 48px) 40px;
    }

    .hero-content-wrap { max-width: 600px; text-align: right; }

    .vision-badge {
    bottom: auto;
    left: auto;
    top: 260px;
    right: clamp(16px, 5vw, 40px);
    min-width: 140px;
    }

    .vision-badge img { height: 56px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .stat-item:nth-child(2) { border-left: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--clr-border); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--clr-border); border-left: none; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767px) {
    :root { --nav-height: 60px; }

    .btn-nav-cta { padding: 8px 16px; font-size: 13px; }

    .hero-image-col { height: 240px; }

    .hero-content-col { padding: 28px 16px 36px; }

    .hero-btns {
    flex-direction: column;
    align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-outline {
    justify-content: center;
    width: 100%;
    }

    .vision-badge {
    top: 200px;
    right: 16px;
    min-width: 120px;
    padding: 8px 14px;
    }

    .vision-badge img { height: 44px; }

    .stats-grid { grid-template-columns: 1fr; gap: 0; }

    .stat-item {
    border-left: none;
    border-bottom: 1px solid var(--clr-border);
    }

    .stat-item:last-child { border-bottom: none; }
}

/* ── Ultra-wide (1800px+) ── */
@media (min-width: 1800px) {
    .hero-content-col { padding-right: 120px; }
    .hero-content-wrap { max-width: 620px; }
}

/* ── Wrapper for the two hero badges ── */
.hero-badges-wrap {
    position: absolute;
    bottom: clamp(24px, 4vw, 48px);
    left: clamp(16px, 4vw, 56px);
    z-index: 3;
    display: flex;
    gap: 12px;
}

/* Now that the wrapper handles positioning, the badge itself
   needs to drop its own absolute positioning ONLY inside the wrapper */
.hero-badges-wrap .vision-badge {
    position: static;
    bottom: auto;
    left: auto;
}

/* ── Responsive: stack badges on tablet/mobile to save width ── */
@media (max-width: 991px) {
    .hero-badges-wrap {
        bottom: auto;
        left: auto;
        top: 260px;
        right: clamp(16px, 5vw, 40px);
        gap: 8px;
    }

    .hero-badges-wrap .vision-badge {
        min-width: 140px;
    }

    .hero-badges-wrap .vision-badge img {
        height: 56px;
    }
}

@media (max-width: 767px) {
    .hero-badges-wrap {
        top: 200px;
        right: 16px;
        gap: 6px;
    }

    .hero-badges-wrap .vision-badge {
        min-width: 120px;
        padding: 8px 14px;
    }

    .hero-badges-wrap .vision-badge img {
        height: 44px;
    }
}
/* ══════════════════════════════════════════════
   ABOUT SECTION — من نحن
══════════════════════════════════════════════ */

.about-section {
  background: var(--clr-white);
  padding-bottom: 0;
}

/* ── Top row wrapper ── */
.about-top {
  padding: clamp(56px, 8vh, 96px) 0 clamp(48px, 6vh, 80px);
}

.about-top-inner {
    flex-direction: row-reverse;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 0 clamp(16px, 5vw, 80px);
}

/* ── Text column ── */
.about-text-col {
  flex: 1 1 45%;
  max-width: 520px;
  text-align: right;
}

/* Section label: ── من نحن ── */
.about-section-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.label-text {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--clr-primary-dark);
  white-space: nowrap;
  margin: 0;
  line-height: 1;
}

.label-line {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-primary);
  flex-shrink: 0;
}

/* Short line (right of title in RTL — appears on left visually) */
.label-line--short {
  width: 28px;
  background: var(--clr-primary);
}

/* Long line (left of title in RTL — appears on right visually, lighter) */
.label-line--long {
  width: clamp(48px, 6vw, 80px);
  background: #c8c4e8;
}

/* About body text */
.about-body {
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.9;
  color: var(--clr-text-body);
  margin-bottom: 28px;
}

.about-body strong {
  font-weight: 700;
  color: var(--clr-text-dark);
}

/* Outline CTA button */
.btn-about-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--clr-primary);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-arabic);
  padding: 11px 32px;
  border: 1.5px solid var(--clr-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-about-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 43, 142, 0.25);
}

/* ── Photo column ── */
.about-photo-col {
  flex: 1 1 50%;
  max-width: 820px;
}

.about-photo {
  width: 100%;
  height: clamp(280px, 38vw, 420px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════
   VISION / MISSION CARDS ROW
══════════════════════════════════════════════ */

.about-cards-row {
  background: var(--clr-stats-bg);
  padding: clamp(28px, 4vw, 48px) 0;
}

.about-cards-inner {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 2vw, 24px);
  padding: 0 clamp(16px, 5vw, 80px);
}

/* ── Individual VM card ── */
.vm-card {
  position: relative;
  flex: 1 1 0;
  min-height: clamp(240px, 28vw, 360px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Background photo */
.vm-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.5s ease;
}

.vm-card:hover .vm-card__bg {
  transform: scale(1.04);
}

/* Dark gradient overlay */
.vm-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 14, 60, 0.25) 0%,
    rgba(20, 14, 60, 0.72) 60%,
    rgba(20, 14, 60, 0.88) 100%
  );
  z-index: 1;
}

/* Content on top of overlay */
.vm-card__content {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 32px);
  text-align: right;
}

.vm-card__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.vm-card__icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(210deg);
  opacity: 0.9;
}

.vm-card__title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  color: var(--clr-white);
  margin: 0;
  line-height: 1.2;
}

.vm-card__body {
  font-size: clamp(18px, 1.05vw, 24px);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Left-side purple accent bar */
.vm-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--clr-primary-light);
  z-index: 3;
  border-radius: 0 2px 2px 0;
  opacity: 0.85;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — ABOUT SECTION
══════════════════════════════════════════════ */

/* Tablet portrait */
@media (max-width: 991px) {
  .about-top-inner {
    flex-direction: column-reverse;
    gap: 32px;
    padding: 0 clamp(16px, 5vw, 40px);
  }

  .about-text-col {
    max-width: 100%;
    width: 100%;
  }

  .about-photo-col {
    max-width: 100%;
    width: 100%;
  }

  .about-photo {
    height: clamp(220px, 45vw, 340px);
  }

  .about-cards-inner {
    flex-direction: column;
    padding: 0 clamp(16px, 5vw, 40px);
  }

  .vm-card {
    min-height: clamp(220px, 50vw, 300px);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-top {
    padding: 48px 0 40px;
  }

  .about-section-label {
    justify-content: center;
  }

  .about-text-col {
    text-align: center;
  }

  .btn-about-outline {
    width: 100%;
    justify-content: center;
  }

  .about-cards-row {
    padding: 24px 0;
  }

  .vm-card {
    min-height: 260px;
  }

  .vm-card__content {
    padding: 20px 18px;
  }

  .label-line--long { width: 40px; }
  .label-line--short { width: 20px; }
}

/* Ultra-wide */
@media (min-width: 1800px) {
  .about-top-inner,
  .about-cards-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
  }
}    



/* ══════════════════════════════════════════════
   SERVICES SECTION — ماذا نقدم؟
══════════════════════════════════════════════ */

.services-section {
  background: var(--clr-white);
  padding: clamp(56px, 8vh, 96px) 0 clamp(56px, 8vh, 96px);
  overflow: hidden;
}

.services-container {
  width: 100%;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* ── Section heading ── */
.services-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.svc-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--clr-primary);
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

/* Line + dot groups flanking the title */
.svc-line-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.svc-line {
  display: block;
  width: clamp(40px, 5vw, 80px);
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  opacity: 0.5;
}

.svc-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-primary);
  flex-shrink: 0;
}

/* ── Cards track ── */
.services-track {
  display: flex;
  flex-direction: row-reverse;
  gap: clamp(14px, 2vw, 24px);
  align-items: flex-start;
}

/* ── Individual service card ── */
.svc-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(61, 43, 142, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: transform var(--transition), box-shadow var(--transition);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(61, 43, 142, 0.16);
}

/* ── Icon circle — overlaps top of card ── */
.svc-card__icon-wrap {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(61, 43, 142, 0.12);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.svc-card:hover .svc-card__icon-wrap {
  border-color: var(--clr-primary-light);
  box-shadow: 0 4px 18px rgba(61, 43, 142, 0.22);
}

.svc-card__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* ── Photo ── */
.svc-card__photo-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  margin-top: 0;
}

.svc-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.svc-card:hover .svc-card__photo {
  transform: scale(1.05);
}

/* ── Text body ── */
.svc-card__body {
  padding: clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 24px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
}

.svc-card__title {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 800;
  color: var(--clr-primary);
  margin: 0;
  line-height: 1.35;
}

.svc-card__desc {
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* Arrow link */
.svc-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(61, 43, 142, 0.07);
  color: var(--clr-primary);
  font-size: 16px;
  margin-top: 4px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.svc-card__arrow:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: scale(1.12);
}

/* ── Featured (center) card — slightly taller ── */
.svc-card--featured {
  border-color: rgba(61, 43, 142, 0.2);
  box-shadow: 0 4px 24px rgba(61, 43, 142, 0.13);
}

.svc-card--featured .svc-card__icon-wrap {
  border-color: var(--clr-primary-light);
}

/* Mobile scroll dots */
.svc-scroll-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.svc-scroll-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-border);
  transition: background var(--transition), transform var(--transition);
}

.svc-scroll-dot.active {
  background: var(--clr-primary);
  transform: scale(1.25);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — SERVICES
══════════════════════════════════════════════ */

/* Tablet: 3 visible, scroll for rest */
@media (max-width: 1100px) {
  .services-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* Hide scrollbar visually */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 20px;
  }

  .services-track::-webkit-scrollbar { display: none; }

  .svc-card {
    flex: 0 0 clamp(240px, 42vw, 310px);
    scroll-snap-align: start;
  }

  .svc-scroll-dots { display: flex; }
}

/* Mobile: 1.2 cards visible peek */
@media (max-width: 600px) {
  .services-container {
    padding: 0 0 0 clamp(12px, 4vw, 20px);
  }

  .services-heading {
    padding: 0 clamp(12px, 4vw, 20px);
  }

  .services-track {
    padding-right: clamp(12px, 4vw, 20px);
    padding-left: clamp(12px, 4vw, 20px);
  }

  .svc-card {
    flex: 0 0 82vw;
  }

  .svc-card__icon-wrap {
    width: 46px;
    height: 46px;
    top: -20px;
  }

  .svc-card__icon { width: 24px; height: 24px; }

  .svc-scroll-dots { display: flex; }
}

/* Ultra-wide */
@media (min-width: 1800px) {
  .services-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 60px;
  }
}


/* ══════════════════════════════════════════════
   STRATEGY SECTION — استراتيجيتنا في تطوير الكفاءات
══════════════════════════════════════════════ */

.strategy-section {
  background: #160f3a;
  padding: clamp(56px, 8vh, 96px) 0 clamp(64px, 9vh, 104px);
  overflow: hidden;
  position: relative;
}

.strategy-container {
  width: 100%;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* ── Heading ── */
.strategy-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.strat-title {
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 800;
  color: var(--clr-white);
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.strat-line-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.strat-line {
  display: block;
  width: clamp(32px, 4vw, 64px);
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.strat-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-white);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Steps track ── */
.strat-track {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

/* ── Wavy connector line ── */
.strat-connector {
  position: absolute;
  top: 56px; /* vertically centered through circle midpoints */
  right: 10%;
  left: 10%;
  height: 2px;
  z-index: 0;
  pointer-events: none;
  /* Dashed gradient line */
  background-image: repeating-linear-gradient(
    to left,
    rgba(108, 92, 231, 0.5) 0px,
    rgba(108, 92, 231, 0.5) 8px,
    transparent 8px,
    transparent 16px
  );
  /* Subtle wave using clip-path approximation */
  border-radius: 50%;
}

/* ── Individual step ── */
.strat-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 clamp(4px, 1vw, 12px);
}

/* ── Circle wrap (positions badge + ring + filled circle) ── */
.strat-step__circle-wrap {
  position: relative;
  width: clamp(96px, 9vw, 120px);
  height: clamp(96px, 9vw, 120px);
  margin-bottom: clamp(20px, 2.5vw, 28px);
  flex-shrink: 0;
}

/* Step number badge — top-right of ring */
.strat-step__badge {
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 4;
  background: var(--clr-white);
  color: var(--clr-primary);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-latin);
  line-height: 1;
  padding: 4px 7px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  letter-spacing: 0.5px;
}

/* Outer dashed ring */
.strat-step__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(108, 92, 231, 0.5);
  z-index: 1;
  transition: border-color var(--transition);
}

.strat-step__ring--active {
  border-color: rgba(108, 92, 231, 0.85);
  border-style: solid;
}

.strat-step:hover .strat-step__ring {
  border-color: rgba(108, 92, 231, 0.9);
}

/* Inner filled circle */
.strat-step__circle {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d2b8e 0%, #5a3ec8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(61, 43, 142, 0.45);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.strat-step:hover .strat-step__circle {
  background: linear-gradient(135deg, #4a35a8 0%, #6c5ce7 100%);
  box-shadow: 0 6px 28px rgba(108, 92, 231, 0.6);
  transform: scale(1.06);
}

/* Active (center) circle — brighter */
.strat-step__circle--active {
  background: linear-gradient(135deg, #5a3ec8 0%, #7c6aed 100%);
  box-shadow: 0 6px 30px rgba(108, 92, 231, 0.65);
  inset: 6px; /* slightly bigger */
}

.strat-step--active:hover .strat-step__circle {
  background: linear-gradient(135deg, #6c5ce7 0%, #8b7cf0 100%);
}

.strat-step__icon {
  width: clamp(28px, 2.5vw, 36px);
  height: clamp(28px, 2.5vw, 36px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

/* ── Step text ── */
.strat-step__text {
  text-align: center;
}

.strat-step__title {
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
  line-height: 1.35;
}

.strat-step__title--active {
  color: #a89ff7;
}

.strat-step__desc {
  font-size: clamp(10px, 0.85vw, 12.5px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 0;
}

/* ── Mobile scroll dots ── */
.strat-scroll-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.strat-scroll-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background var(--transition), transform var(--transition);
}

.strat-scroll-dot.active {
  background: var(--clr-white);
  transform: scale(1.3);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — STRATEGY
══════════════════════════════════════════════ */

/* Tablet: horizontal scroll */
@media (max-width: 1024px) {
  .strat-title { white-space: normal; text-align: center; }

  .strat-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
    padding-top: 20px;
    -ms-overflow-style: none;
  }

  .strat-track::-webkit-scrollbar { display: none; }

  .strat-step {
    flex: 0 0 clamp(160px, 36vw, 220px);
    scroll-snap-align: center;
    padding: 0 8px;
  }

  .strat-connector { display: none; }
  .strat-scroll-dots { display: flex; }
}

/* Mobile */
@media (max-width: 600px) {
  .strategy-container { padding: 0 16px; }

  .strategy-heading { gap: 10px; flex-wrap: wrap; justify-content: center; }

  .strat-title { font-size: clamp(17px, 5vw, 22px); white-space: normal; text-align: center; }

  .strat-step {
    flex: 0 0 72vw;
  }

  .strat-step__circle-wrap {
    width: 100px;
    height: 100px;
  }
}

/* Ultra-wide */
@media (min-width: 1800px) {
  .strategy-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 60px;
  }

  .strat-connector {
    right: 12%;
    left: 12%;
  }
}


/* ══════════════════════════════════════════════
   CLIENTS SECTION — عملاؤنا
══════════════════════════════════════════════ */
/* ── Clients Section ── */
.clients-section {
  background: var(--clr-white, #ffffff);
  padding: clamp(56px, 8vh, 96px) 0 clamp(40px, 6vh, 64px);
  overflow: hidden;
}

.clients-container {
  width: 100%;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* ── Heading ── */
.clients-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.cl-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--clr-primary, #3D2B8E);
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.cl-line-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cl-line {
  display: block;
  width: clamp(32px, 4vw, 60px);
  height: 2px;
  background: var(--clr-primary, #3D2B8E);
  border-radius: 2px;
  opacity: 0.45;
}

.cl-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-primary, #3D2B8E);
  flex-shrink: 0;
}

/* ── Marquee wrapper ── */
.clients-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade fog on edges (left/right) */
.clients-fog {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.clients-fog--left {
  left: 0;
  background: linear-gradient(to left, transparent, var(--clr-white, #ffffff));
}

.clients-fog--right {
  right: 0;
  background: linear-gradient(to right, transparent, var(--clr-white, #ffffff));
}

/* Outer clipping box */
.clients-track-outer {
  overflow: hidden;
  width: 100%;
}

/* The moving track — contains 2 identical inner groups for a seamless loop */
.clients-track {
  display: flex;
  width: max-content;
  direction: ltr; /* force LTR so the animation direction is predictable even on RTL pages */
  animation: clients-scroll 28s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.clients-marquee-wrap:hover .clients-track {
  animation-play-state: paused;
}

.clients-track__inner {
  display: flex;
  flex-shrink: 0;
  gap: clamp(20px, 3vw, 48px);
  padding-inline-end: clamp(20px, 3vw, 48px);
}

/* Seamless loop: move exactly by the width of ONE group (-50% of total track width) */
@keyframes clients-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ── Logo card ── */
.client-logo-card {
  flex: 0 0 clamp(130px, 14vw, 190px);
  height: clamp(80px, 9vw, 110px);
  background: #d9d9d9; /* لون خلفية هادئ بيبرز اللوجو الأبيض/الملون */
  border: 1px solid var(--clr-border, rgba(61, 43, 142, 0.12));
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  contain: layout size;
}

.client-logo-card:hover {
  box-shadow: 0 4px 18px rgba(61, 43, 142, 0.12);
  border-color: rgba(61, 43, 142, 0.25);
  transform: translateY(-2px);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.5);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
  }
}
/* ══════════════════════════════════════════════
   CTA BANNER — مستقبلك المهني يبدأ بقرار
══════════════════════════════════════════════ */

.cta-banner-section {
  background: var(--clr-white);
  padding: clamp(16px, 3vh, 32px) 0 clamp(48px, 7vh, 80px);
}

.cta-banner-container {
  padding: 0 clamp(16px, 4vw, 64px);
}

.cta-banner-card {
  position: relative;
  border-radius: clamp(16px, 2.5vw, 28px);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(180px, 22vw, 260px);
  /* Lavender-to-white gradient base */
  background: linear-gradient(
    to right,
    #7b5ff5 0%,
    #9b82f8 18%,
    #c4b3fb 38%,
    #e8e2fd 58%,
    #f4f1ff 78%,
    #ffffff 100%
  );
}

/* ── Photo column ── */
.cta-banner__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  z-index: 0;
}

.cta-banner__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Gradient overlay that fades photo into banner bg */
.cta-banner__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(100, 60, 220, 0.15) 0%,
    rgba(120, 80, 230, 0.45) 40%,
    rgba(140, 100, 240, 0.8) 65%,
    rgba(160, 120, 250, 1) 85%,
    #c4b3fb 100%
  );
}

/* ── Text content ── */
.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: right;
  margin-right: auto;
  margin-left: 0;
  padding: clamp(24px, 4vw, 48px) clamp(24px, 5vw, 64px) clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px);
  max-width: 580px;
  /* Push content to the right side (RTL: right = far from photo) */
  margin-left: 50%;
}

.cta-banner__headline {
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.cta-banner__sub {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  color: var(--clr-text-body);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* CTA button */
.btn-cta-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  font-family: var(--font-arabic);
  padding: 13px 28px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cta-banner:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(61, 43, 142, 0.35);
  color: var(--clr-white);
}

.btn-cta-banner__arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn-cta-banner:hover .btn-cta-banner__arrow {
  transform: translateX(-3px);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — CLIENTS + CTA BANNER
══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 991px) {
  .cl-logo-card {
    flex: 0 0 clamp(130px, 28vw, 180px);
    height: clamp(72px, 14vw, 100px);
  }

  .cta-banner__content {
    margin-left: 35%;
    padding-left: 20px;
  }

  .cta-banner__photo { width: 35%; }
}

/* Mobile */
@media (max-width: 767px) {
  .cl-arrow { width: 32px; height: 32px; }

  .cl-logo-card {
    flex: 0 0 clamp(120px, 42vw, 170px);
    height: 76px;
    padding: 10px 14px;
  }

  .cta-banner-card {
    flex-direction: column;
    min-height: unset;
  }

  .cta-banner__photo {
    position: relative;
    width: 100%;
    height: 180px;
  }

  .cta-banner__photo-overlay {
    background: linear-gradient(
      to bottom,
      rgba(100, 60, 220, 0.1) 0%,
      rgba(140, 100, 240, 0.7) 70%,
      #c4b3fb 100%
    );
  }

  .cta-banner__content {
    margin: auto;
    padding: 24px 20px 28px;
    max-width: 100%;
    text-align: center;
  }

  .btn-cta-banner {
    width: 100%;
    justify-content: center;
  }
}

/* Ultra-wide */
@media (min-width: 1800px) {
  .clients-container,
  .cta-banner-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 60px;
  }
}


/* ══════════════════════════════════════════════
   CONTACT SECTION — تواصل معنا
══════════════════════════════════════════════ */

.contact-section {
  background: var(--clr-white);
  overflow: hidden;
}

/* ── Hero header strip ── */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #ede9ff 0%, #f5f3ff 40%, #faf9ff 100%);
  padding: clamp(48px, 7vh, 88px) clamp(16px, 5vw, 80px) clamp(40px, 6vh, 72px);
  text-align: center;
  overflow: hidden;
}

.contact-hero__bg {
  /* assets/images/contact-office-bg.jpg */
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 28%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(237, 233, 255, 0) 0%,
    rgba(237, 233, 255, 0.85) 30%,
    rgba(237, 233, 255, 1) 60%
  );
  pointer-events: none;
}

.contact-hero__text {
  position: relative;
  z-index: 1;
}

.contact-eyebrow {
  display: block;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
}

.contact-main-title {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--clr-primary-dark);
  margin: 0 0 12px;
  line-height: 1.15;
}

.contact-title-line {
  width: 48px;
  height: 3px;
  background: var(--clr-primary);
  border-radius: 3px;
  margin: 0 auto 20px;
}

.contact-hero__desc {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  color: var(--clr-text-body);
  line-height: 1.85;
  margin: 0;
}

/* ── Main content body ── */
.contact-body {
  padding: clamp(28px, 4vh, 48px) clamp(16px, 4vw, 64px) clamp(28px, 4vh, 48px);
  background: #f8f7ff;
}

.contact-body__inner {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Form card ── */
.contact-form-card {
  flex: 0 0 44%;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
  box-shadow: 0 2px 20px rgba(61, 43, 142, 0.08);
}

.contact-form-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
  color: var(--clr-primary-dark);
  text-align: center;
  margin-bottom: 10px;
}

.contact-form-underline {
  width: 36px;
  height: 3px;
  background: var(--clr-primary);
  border-radius: 3px;
  margin: 0 auto 28px;
}

/* ── Form fields ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf-row {
  display: flex;
  gap: 12px;
}

.cf-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.cf-field-wrap--half {
  flex: 1 1 0;
  min-width: 0;
}

.cf-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.cf-input-group--textarea {
  align-items: flex-start;
}

.cf-input {
  width: 100%;
  background: #f5f4ff;
  border: 1.5px solid #eae8f8;
  border-radius: var(--radius-md);
  padding: 13px 44px 13px 16px;
  font-family: var(--font-arabic);
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 400;
  color: var(--clr-text-dark);
  text-align: right;
  direction: rtl;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
}

.cf-input::placeholder {
  color: #9b98c4;
  font-weight: 400;
}

.cf-input:focus {
  border-color: var(--clr-primary-light);
  background: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(61, 43, 142, 0.1);
}

.cf-input.cf-input--error {
  border-color: #e05a5a;
  background: #fff8f8;
}

.cf-textarea {
  padding-top: 13px;
  resize: vertical;
  min-height: 120px;
}

/* Icon inside input */
.cf-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9b98c4;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color var(--transition);
}

.cf-icon--textarea {
  top: 15px;
  transform: none;
}

.cf-input:focus ~ .cf-icon,
.cf-input-group:focus-within .cf-icon {
  color: var(--clr-primary-light);
}

/* Inline error message */
.cf-error {
  font-size: 12px;
  color: #e05a5a;
  font-weight: 500;
  min-height: 16px;
  text-align: right;
  padding-right: 4px;
}

/* Submit button */
.btn-contact-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-family: var(--font-arabic);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  padding: 15px 32px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-top: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-contact-submit:hover:not(:disabled) {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(61, 43, 142, 0.35);
}

.btn-contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-contact-submit__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--clr-white);
  border-radius: 50%;
  animation: cfSpin 0.7s linear infinite;
}

.btn-contact-submit.loading .btn-contact-submit__text,
.btn-contact-submit.loading .btn-contact-submit__icon {
  display: none;
}

.btn-contact-submit.loading .btn-contact-submit__loader {
  display: block;
}

@keyframes cfSpin {
  to { transform: rotate(360deg); }
}

/* Privacy note */
.cf-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--clr-text-muted);
  text-align: center;
  margin: 0;
}

/* ── Map card ── */
.contact-map-card {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(61, 43, 142, 0.08);
  min-height: clamp(340px, 42vw, 480px);
}

.contact-map-wrap {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.contact-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

/* ── Info bar ── */
.contact-info-bar {
  background: #f5f4ff;
  border-top: 1px solid var(--clr-border);
  padding: clamp(24px, 4vh, 40px) clamp(16px, 4vw, 64px);
}

.contact-info-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.ci-item {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 14px;
  padding: 12px clamp(12px, 2vw, 28px);
  border-right: 1px solid var(--clr-border);
  text-align: right;
}

.ci-item:last-child { border-right: none; }

.ci-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(61, 43, 142, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  margin-top: 2px;
}

.ci-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.ci-label {
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  color: var(--clr-primary-dark);
  line-height: 1.3;
}

.ci-value {
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 400;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.ci-link {
  color: var(--clr-primary);
  font-weight: 600;
  transition: color var(--transition);
  text-decoration: none;
}

.ci-link:hover { color: var(--clr-primary-dark); text-decoration: underline; }

/* ══════════════════════════════════════════════
   POPUP / MODAL
══════════════════════════════════════════════ */

.cf-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 15, 58, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cf-popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cf-popup-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px);
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(22, 15, 58, 0.25);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cf-popup-overlay.visible .cf-popup-card {
  transform: scale(1) translateY(0);
}

.cf-popup-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: var(--clr-white);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.cf-popup-close:hover {
  background: #fff0f0;
  color: #e05a5a;
}

.cf-popup-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cf-popup-icon--success {
  background: rgba(61, 43, 142, 0.1);
  color: var(--clr-primary);
}

.cf-popup-icon--error {
  background: rgba(224, 90, 90, 0.1);
  color: #e05a5a;
}

.cf-popup-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 10px;
}

.cf-popup-body {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  color: var(--clr-text-body);
  line-height: 1.75;
  margin-bottom: 24px;
}

.cf-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-family: var(--font-arabic);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 36px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.cf-popup-btn:hover { background: var(--clr-primary-dark); transform: translateY(-1px); }

.cf-popup-btn--error {
  background: #e05a5a;
}

.cf-popup-btn--error:hover { background: #c94444; }

/* ══════════════════════════════════════════════
   RESPONSIVE — CONTACT
══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .contact-body__inner { flex-direction: column; }
  .contact-form-card   { flex: none; width: 100%; }
  .contact-map-card    { min-height: 340px; }
  .contact-info-inner  { grid-template-columns: repeat(2, 1fr); }
  .ci-item:nth-child(2) { border-left: none; }
  .ci-item:nth-child(3) { border-top: 1px solid var(--clr-border); }
  .ci-item:nth-child(4) { border-top: 1px solid var(--clr-border); border-left: none; }
}

@media (max-width: 600px) {
  .contact-hero__bg     { display: none; }
  .cf-row               { flex-direction: column; gap: 14px; }
  .contact-info-inner   { grid-template-columns: 1fr; }
  .ci-item              { border-left: none !important; border-bottom: 1px solid var(--clr-border); }
  .ci-item:last-child   { border-bottom: none; }
  .contact-map-card     { min-height: 280px; }
}

@media (min-width: 1800px) {
  .contact-body,
  .contact-info-bar { padding-left: 80px; padding-right: 80px; }
}



/* ============================== */
/* FOOTER SECTION — scoped vars */
/* ============================== */
.shaghaf-footer {
  --footer-bg-start: #2a1f5e;
  --footer-bg-end:   #241a52;
  --footer-text:          rgba(255, 255, 255, 0.92);
  --footer-text-muted:    rgba(255, 255, 255, 0.62);
  --footer-link-hover:    var(--clr-white, #ffffff);
  --footer-border:        rgba(255, 255, 255, 0.12);
  --footer-input-bg:      rgba(255, 255, 255, 0.06);
  --footer-icon-bg:       rgba(255, 255, 255, 0.08);

  background: linear-gradient(160deg, var(--footer-bg-start), var(--footer-bg-end));
  color: var(--footer-text);
  font-family: var(--font-arabic);
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}

.shaghaf-footer * {
  box-sizing: border-box;
}

.shaghaf-footer a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ---------- Brand ---------- */
.shaghaf-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shaghaf-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.shaghaf-footer__logo-icon {
  width: 26px;
  height: 26px;
  color: var(--clr-accent, #6c5ce7);
}

.shaghaf-footer__logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-white, #fff);
  line-height: 1;
}

.shaghaf-footer__tagline {
  font-size: 0.82rem;
  color: var(--footer-text-muted);
  margin: 0 0 14px;
}

.shaghaf-footer__desc {
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--footer-text-muted);
  margin: 0 0 18px;
  max-width: 260px;
}

.shaghaf-footer__socials {
  display: flex;
  gap: 10px;
}

.shaghaf-footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--footer-icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--footer-text);
  transition: var(--transition);
}
.shaghaf-footer__social-link svg{
  width: 30px;
  height: 30px;
}
.shaghaf-footer__social-link:hover {
  background: var(--clr-accent, #6c5ce7);
  color: var(--clr-white, #fff);
  transform: translateY(-2px);
}

/* ---------- Columns ---------- */
.shaghaf-footer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white, #fff);
  margin-bottom: 18px;
  position: relative;
}

.shaghaf-footer__links,
.shaghaf-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shaghaf-footer__links a {
  font-size: 0.88rem;
  color: var(--footer-text-muted);
}

.shaghaf-footer__links a:hover {
  color: var(--footer-link-hover);
  padding-right: 4px;
}

.shaghaf-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--footer-text-muted);
}

.shaghaf-footer__contact i {
  color: var(--clr-accent, #6c5ce7);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.shaghaf-footer__contact a:hover {
  color: var(--footer-link-hover);
}

/* ---------- Newsletter ---------- */
.shaghaf-footer__newsletter-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--footer-text-muted);
  margin: 0 0 16px;
}

.shaghaf-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shaghaf-footer__newsletter-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--footer-border);
  background: var(--footer-input-bg);
  color: var(--clr-white, #fff);
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  text-align: right;
  outline: none;
  transition: var(--transition);
}

.shaghaf-footer__newsletter-input::placeholder {
  color: var(--footer-text-muted);
}

.shaghaf-footer__newsletter-input:focus {
  border-color: var(--clr-accent, #6c5ce7);
  background: rgba(255, 255, 255, 0.1);
}

.shaghaf-footer__newsletter-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: var(--radius-md, 10px);
  background: var(--clr-accent, #6c5ce7);
  color: var(--clr-white, #fff);
  font-family: var(--font-arabic);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.shaghaf-footer__newsletter-btn:hover {
  background: var(--clr-primary-light, #5a46b8);
  transform: translateY(-1px);
}

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

/* ---------- Bottom bar ---------- */
.shaghaf-footer__bottom {
  border-top: 1px solid var(--footer-border);
  margin-top: 48px;
  padding: 20px 0;
}

.shaghaf-footer__bottom-row {
    text-align: center;
}

.shaghaf-footer__copyright {
  margin: 0;
  font-size: 0.82rem;
  color: var(--footer-text-muted);
}

.shaghaf-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--footer-text-muted);
}

.shaghaf-footer__bottom-links a:hover {
  color: var(--footer-link-hover);
}

.shaghaf-footer__divider {
  color: var(--footer-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .shaghaf-footer {
    padding-top: 44px;
  }

  .shaghaf-footer__bottom {
    margin-top: 32px;
  }
}

@media (max-width: 767.98px) {
  .shaghaf-footer__brand {
    align-items: flex-start;
    text-align: right;
  }

  .shaghaf-footer__desc {
    max-width: 100%;
  }

  .shaghaf-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }
}

@media (max-width: 575.98px) {
  .shaghaf-footer {
    padding: 36px 0 0;
    text-align: right;
  }

  .shaghaf-footer__row {
    text-align: right;
  }
}




.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 18px;

  background: #25D366;
  color: #fff;
  text-decoration: none;

  border-radius: 999px;

  font-size: 15px;
  font-weight: 700;

  box-shadow:
    0 10px 25px rgba(37,211,102,.35),
    0 4px 10px rgba(0,0,0,.15);

  transition: all .3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);

  box-shadow:
    0 15px 35px rgba(37,211,102,.45),
    0 8px 18px rgba(0,0,0,.2);
}

.whatsapp-float::before {
  content: '';
  position: absolute;

  width: 100%;
  height: 100%;

  border-radius: 999px;

  background: rgba(37,211,102,.35);

  animation: pulse 2s infinite;
}

.whatsapp-float svg,
.whatsapp-float span {
  position: relative;
  z-index: 2;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }

  70% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {

  .whatsapp-float {
    width: 60px;
    height: 60px;

    padding: 0;

    border-radius: 50%;

    justify-content: center;
  }

  .whatsapp-float span {
    display: none;
  }
}