* {
  box-sizing: border-box;
}

:root {
  --primary: #5f63f2;
  --primary-dark: #4d45d8;
  --primary-light: #eef0ff;
  --secondary: #6bbef2;
  --accent: #cbb8ff;
  --text: #1f2850;
  --muted: #66708c;
  --white: #ffffff;
  --surface: #F8FAFF;
  --border: #e9ebf5;
  --shadow: 0 16px 45px rgba(78, 77, 160, 0.10);
  --shadow-hover: 0 24px 55px rgba(78, 77, 160, 0.17);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  --sb-track-color: #eef0ff;
  --sb-thumb-color: var(--primary);
  --sb-size: 5px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 20px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Top banner */
.top-banner {
    width: 100%;
    background: linear-gradient(100deg, var(--primary), #7b6cf6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 8px;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 2000;
}

.top-banner > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: #25D366;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.whatsapp-btn:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
    .top-banner {
        gap: 5px;
    }
}
/* Navbar */
.navbar {
  position: fixed;
  top: 60px;
  width: 100%;
  z-index: 1100;
  transition: 0.3s ease;
}
.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 5px 20px;
  border-radius: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}



.logo img {
  width: 100px;
  max-height: 66px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding-block: 20px;
  transition: 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 20px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
  transform: translateX(50%);
  transition: 0.25s ease;
}

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

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

/* Hero */
.hero {
  min-height: 485px;
  position: relative;
  display: grid;
  place-items: end;
  overflow: hidden;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(107, 190, 242, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(95, 99, 242, 0.14),
      transparent 30%
    ),
    #f8faff;
}

.hero::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  left: -135px;
  bottom: 11px;
  border-radius: 42% 58% 55% 45% / 54% 35% 65% 46%;
  background: linear-gradient(145deg, rgba(95, 99, 242, 0.09), rgba(203, 184, 255, 0.2));
  transform: rotate(-22deg);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding-block: 62px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid #dde1ff;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 13px 0 8px;
  font-size: clamp(54px, 8vw, 92px);
  line-height: 1.1;
  letter-spacing: -3px;
  background: linear-gradient(110deg, #4c51e7, #748dff 58%, #695be9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 15px 30px rgba(95, 99, 242, 0.10);
}

.hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.65;
}

.decoration-one {
  width: 46px;
  height: 46px;
  top: 92px;
  right: 13%;
  background: linear-gradient(145deg, #d8c9ff, #8fcaf7);
  box-shadow: 82px 60px 0 -12px rgba(128, 172, 247, 0.65);
}

.decoration-two {
  width: 9px;
  height: 9px;
  top: 118px;
  left: 19%;
  background: var(--primary);
  box-shadow:
    40px 42px 0 1px rgba(203, 184, 255, 0.9),
    -42px 83px 0 3px rgba(107, 190, 242, 0.55);
}

/* Categories */
.portfolio-section {
  background: var(--surface);
  padding: 30px 0 90px;
}

.category-showcase {
  display: flex;
  gap: 18px;
  margin-bottom: 42px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-showcase::-webkit-scrollbar {
  display: none;
}

.category-showcase-card {
  --category-color: #5f63f2;
  --category-soft: rgba(95, 99, 242, 0.08);
  --category-border: rgba(95, 99, 242, 0.18);

  position: relative;
  display: flex;
  min-width: 0;
    flex: 0 0 285px;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--category-border);
  border-radius: 18px;
  background: #fff;
  color: #1d2545;
  font-family: inherit;
  text-align: right;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(40, 56, 90, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.category-showcase-card:nth-child(4n + 2) {
  --category-color: #9d7df5;
  --category-soft: rgba(157, 125, 245, 0.09);
  --category-border: rgba(157, 125, 245, 0.22);
}

.category-showcase-card:nth-child(4n + 3) {
  --category-color: #d66fa3;
  --category-soft: rgba(214, 111, 163, 0.09);
  --category-border: rgba(214, 111, 163, 0.22);
}

.category-showcase-card:nth-child(4n + 4) {
  --category-color: #39a8c6;
  --category-soft: rgba(57, 168, 198, 0.09);
  --category-border: rgba(57, 168, 198, 0.22);
}

.category-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      var(--category-soft),
      transparent 48%
    );
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.category-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.category-showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--category-color);
  box-shadow: 0 20px 42px rgba(40, 56, 90, 0.12);
}

.category-showcase-card:hover::before {
  opacity: 1;
}

.category-showcase-card.active {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(
      135deg,
      var(--category-color),
      color-mix(in srgb, var(--category-color) 72%, #ffffff)
    );
  box-shadow:
    0 18px 40px color-mix(
      in srgb,
      var(--category-color) 24%,
      transparent
    );
}

.category-showcase-card.active::before {
  opacity: 0;
}

.category-showcase-card.active::after {
  border-color: rgba(255, 255, 255, 0.22);
}

.category-showcase-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--category-color);
  font-size: 13px;
  font-weight: 700;
}

.category-showcase-top i {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--category-soft);
  color: var(--category-color);
  font-size: 20px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.category-showcase-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  color: #1d2545;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.category-showcase-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 auto;
  color: #7d859d;
  font-size: 13px;
  line-height: 1.8;
}

.category-showcase-count {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--category-soft);
  color: var(--category-color);
  font-size: 12px;
  font-weight: 700;
}

.category-showcase-count::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.category-showcase-card.active h3,
.category-showcase-card.active p,
.category-showcase-card.active .category-showcase-top,
.category-showcase-card.active .category-showcase-count {
  color: #fff;
}

.category-showcase-card.active .category-showcase-top i,
.category-showcase-card.active .category-showcase-count {
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
}

.category-slider-wrapper {
  position: relative;
  margin-bottom: 42px;
}

.category-showcase {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 7px 44px 41px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 55px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.category-showcase::-webkit-scrollbar {
  display: none;
}

.category-showcase.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.category-showcase-card {
  flex: 0 0 285px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* الأسهم */

.category-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0e4f3;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(40, 56, 90, 0.14);
  transform: translateY(-50%);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.category-slider-arrow:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.category-slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.category-next {
  right: 0;
}

.category-prev {
  left: 0;
}

/* منع سحب النصوص والصور أثناء Drag */

.category-showcase-card,
.category-showcase-card * {
  user-select: none;
}

.category-showcase-card {
  -webkit-user-drag: none;
}

/* Tablet */

@media (max-width: 820px) {
  .category-showcase {
    gap: 15px;
    padding-inline: 48px;
    scroll-padding-inline: 48px;
  }

  .category-showcase-card {
    flex-basis: 260px;
  }

  .category-slider-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Mobile */

@media (max-width: 560px) {
  .category-slider-wrapper {
    margin-inline: -12px;
  }

  .category-showcase {
    gap: 14px;
    padding: 8px 18px 22px;
    scroll-padding-inline: 18px;
  }

  .category-showcase-card {
    flex: 0 0 84%;
    min-height: 185px;
    scroll-snap-align: center;
  }

  .category-slider-arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .category-showcase-card {
    flex-basis: 90%;
  }
}
@media (max-width: 768px) {
  .category-showcase {
    gap: 14px;
    padding-bottom: 18px;
  }

  .category-showcase-card {
    flex: 0 0 260px;
    min-height: 180px;
  }
}

@media (max-width: 480px) {
  .category-showcase-card {
    flex: 0 0 220px;
    min-height: 170px;
  }

  .category-showcase-card h3 {
    font-size: 17px;
  }

  .category-showcase-card p {
    font-size: 12px;
  }
}
.projects-heading {
  margin: 0 0 32px;
  text-align: center;
}


.projects-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 10px;
}

.projects-heading p {
  max-width: 650px;
  margin: auto;
  color: var(--text-muted);
  line-height: 1.8;
}
/* Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.project-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.35s cubic-bezier(.2, .7, .2, 1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: #d9ddff;
}

.project-preview {
  position: relative;
  height: 218px;
  overflow: hidden;
  background: #f0f2f8;
}

.project-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(30, 36, 72, 0.13), transparent);
  pointer-events: none;
}

.project-preview img {
  width: 100%;
  height: 400px;
  object-fit: cover;
    transition: transform .5s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.035);
}

.project-preview::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -120%;
  width: 70%;
  height: 220%;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.35),
    rgba(255,255,255,.08),
    transparent
  );

  transform: rotate(25deg);
  transition: left .8s ease;
}

.project-preview:hover::before {
  left: 150%;
}

.project-category-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: -27px auto 0;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  color: var(--primary);
  font-size: 20px;
}

.project-content {
  padding: 11px 23px 23px;
  text-align: center;
}

.project-title {
  margin: 4px 0 7px;
  font-size: 20px;
  color: var(--text);
}

.project-tag {
  display: inline-flex;
  padding: 4px 11px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.project-description {
  min-height: 54px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f0f1f7;
}

.project-link,
.details-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  padding: 9px 15px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.project-link {
  color: var(--primary);
  background: var(--primary-light);
}

.project-link:hover {
  background: var(--primary);
  color: var(--white);
}

.details-btn {
  border: 1px solid #e1e4f3;
  background: var(--white);
  color: #525c78;
}

.details-btn:hover {
  color: var(--primary);
  border-color: #cbd0ff;
}

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}

.empty-state i {
  font-size: 44px;
  color: var(--primary);
}

.testimonials-section {

  position: relative;
  overflow: hidden;
}

.testimonials-section::before,
.testimonials-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.testimonials-section::before {
  width: 250px;
  height: 250px;
  top: 10px;
  right: -70px;
  background: rgba(95, 99, 242, 0.08);
}

.testimonials-section::after {
  width: 200px;
  height: 200px;
  bottom: 12px;
  left: -60px;
  background: rgba(107, 190, 242, 0.1);
}

.testimonials-container {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.testimonials-heading {
  max-width: 680px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  margin-bottom: 18px;
  border: 1px solid rgba(95, 99, 242, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #5f63f2;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(95, 99, 242, 0.08);
}

.testimonials-heading h2 {
  margin: 0 0 16px;
  color: #17213f;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.25;
}

.testimonials-heading h2 span {
  position: relative;
  color: #5f63f2;
}

.testimonials-heading h2 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(95, 99, 242, 0.18),
    rgba(107, 190, 242, 0.5)
  );
}

.testimonials-heading p {
  margin: 0;
  color: #69738e;
  font-size: 16px;
  line-height: 2;
}

.testimonials-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.testimonial-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #e7eafd;
  border-radius: 15px;
  background: #fff;
  color: #5f63f2;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(63, 72, 135, 0.1);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.testimonial-arrow:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #6d7cff, #5f63f2);
  color: #fff;
  box-shadow: 0 14px 28px rgba(95, 99, 242, 0.25);
}

.testimonials-wrapper {
  overflow: hidden;
  padding: 8px 3px 0px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 1rem 2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

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

.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  padding: 28px;
  margin: 1rem 0;
  overflow: hidden;
  border: 1px solid rgba(226, 230, 249, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(56, 65, 123, 0.08);
  scroll-snap-align: start;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(
    135deg,
    rgba(95, 99, 242, 0.08),
    rgba(107, 190, 242, 0.04)
  );
}

.testimonial-card:hover {
  transform: translateY(-7px);
  border-color: rgba(95, 99, 242, 0.25);
  box-shadow: 0 24px 60px rgba(56, 65, 123, 0.14);
}

.testimonial-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.cta-section {
  padding-top: 2rem;
}

.client-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.client-logo {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(95, 99, 242, 0.1);
  border-radius: 17px;
  background: linear-gradient(135deg, #f0f1ff, #eaf8ff);
  color: #5f63f2;
  font-size: 21px;
}

.client-info h3 {
  margin: 0 0 5px;
  color: #1e2748;
  font-size: 17px;
  font-weight: 800;
}

.client-info span {
  display: block;
  overflow: hidden;
  color: #8991a8;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.quote-icon {
  color: rgba(95, 99, 242, 0.15);
  font-size: 30px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin: 22px 0 17px;
  color: #ffb800;
  font-size: 14px;
}

.testimonial-text {
  min-height: 145px;
  margin: 0;
  color: #626c87;
  font-size: 15px;
  line-height: 2;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid #edf0f8;
}

.testimonial-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4fba80;
  font-size: 12px;
  font-weight: 700;
}

.testimonial-footer small {
  color: #949bb0;
  font-size: 11px;
  text-align: left;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7daf1;
  cursor: pointer;
  transition: 0.3s ease;
}

.testimonial-dot.active {
  width: 25px;
  background: #5f63f2;
}

/* Tablet */
@media (max-width: 992px) {
  .testimonials-section {
    padding: 85px 20px;
  }

  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

/* Mobile */
@media (max-width: 650px) {
  .testimonials-section {
    padding: 70px 15px;
  }

  .testimonials-header {
    align-items: flex-start;
    margin-bottom: 30px;
  }

  .testimonials-navigation {
    display: none;
  }

  .testimonials-heading h2 {
    font-size: 33px;
  }

  .testimonials-heading p {
    font-size: 14px;
  }

  .testimonial-card {
    flex-basis: 90%;
    padding: 23px;
    border-radius: 22px;
  }

  .testimonial-text {
    min-height: auto;
    font-size: 14px;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .testimonial-card {
    flex-basis: 96%;
  }

  .client-logo {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .client-info h3 {
    font-size: 15px;
  }

  .testimonial-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* إصلاح حركة سلايدر الآراء فقط */

.testimonials-track {
  direction: ltr;
}

.testimonial-card {
  direction: rtl;
}

.testimonials-dots {
  direction: ltr;
}

.testimonial-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
/* CTA */


.cta-card {
  min-height: 145px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.8fr) auto;
  align-items: center;
  gap: 30px;
  padding: 30px 38px;
  border: 1px solid #e3e6ff;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 6% 50%,
      rgba(203, 184, 255, 0.35),
      transparent 24%
    ),
    linear-gradient(100deg, #f3f0ff 0%, #f9fbff 55%, #eef2ff 100%);
  overflow: hidden;
  position: relative;
}

.cta-art {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.cta-art img {
  width: 110px;
  max-width: 45%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.cta-art .line {
  width: min(130px, 45%);
  border-top: 2px dashed #8e9cff;
  transform: rotate(7deg);
  margin-right: -13px;
}

.cta-art .dot {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
}

.dot-one {
  width: 9px;
  height: 9px;
  left: 45px;
  top: 20px;
}

.dot-two {
  width: 6px;
  height: 6px;
  left: 8px;
  bottom: 20px;
}

.cta-copy {
  min-width: 0;
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.4;
}

.cta-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.cta-btn {
  min-width: 155px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 23px;
  border-radius: 999px;
  background: linear-gradient(135deg, #768dff, var(--primary));
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(95, 99, 242, 0.24);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(95, 99, 242, 0.3);
}

/* Tablet */
@media (max-width: 992px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-card {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 28px;
  }

  .cta-art img {
    width: 90px;
  }

  .cta-art .line {
    width: 80px;
  }

  .cta-btn {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 190px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .cta-section {
    padding: 45px 0;
  }

  .cta-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px;
    border-radius: 20px;
    text-align: center;
    background:
      radial-gradient(
        circle at 50% 5%,
        rgba(203, 184, 255, 0.38),
        transparent 30%
      ),
      linear-gradient(160deg, #f3f0ff 0%, #f9fbff 55%, #eef2ff 100%);
  }

  .cta-art {
    min-height: 100px;
    justify-content: center;
  }

  .cta-art img {
    width: 95px;
    max-width: none;
  }

  .cta-art .line {
    width: 85px;
    margin-right: -10px;
  }

  .dot-one {
    left: 25%;
    top: 10px;
  }

  .dot-two {
    left: 15%;
    bottom: 15px;
  }

  .cta-copy h2 {
    font-size: 22px;
  }

  .cta-copy p {
    max-width: 420px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.9;
  }

  .cta-btn {
    width: 100%;
    min-width: 0;
    max-width: 320px;
    justify-self: center;
    padding: 14px 20px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .cta-card {
    padding: 24px 16px;
  }

  .cta-art img {
    width: 82px;
  }

  .cta-art .line {
    width: 65px;
  }

  .cta-copy h2 {
    font-size: 20px;
  }
}
/* Footer */
.custom-footer {
  position: relative;
  padding: 120px 0 0;
  color: var(--white);
  background: linear-gradient(120deg, #5054dd, #636af1 54%, #697fea);
  overflow: hidden;
}

.footer-curve {
  position: absolute;
  top: -74px;
  left: -5%;
  width: 110%;
  height: 145px;
  background: var(--surface);
  border-radius: 0 0 50% 50%;
}

.footer-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr;
  gap: 55px;
  padding-bottom: 45px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  font-size: 14px;
}

.footer-column h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.s-menu-footer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 25px;
}

.s-menu-footer-list a {
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
  transition: 0.25s ease;
}

.s-menu-footer-list a:hover {
  color: var(--white);
  transform: translateX(-4px);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 17px 20px;
  text-align: center;
  background: rgba(30, 35, 120, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}


/* scroll up */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    left: 25px; /* في الـ RTL بيكون أحسن ناحية الشمال */
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d7cff, #5a63f2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(93, 99, 242, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .35s ease;
    z-index: 9999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 15px 35px rgba(93, 99, 242, .45);
}

#scrollTopBtn:active {
    transform: scale(.95);
}
/* Responsive */
@media (max-width: 1050px) {
  .nav-links {
    gap: 20px;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .top-banner {
    font-size: 12px;
  }

  .nav-container {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content {
    padding-block: 50px 62px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }
}

@media (max-width: 650px) {
  .container,
  .nav-container,
  .footer-content {
    width: min(100% - 24px, 1180px);
  }

  .top-banner {
    gap: 7px;
    padding: 9px 12px;
  }

  .top-banner > span {
    text-align: center;
  }

  .nav-container {
    min-height: 70px;
    gap: 10px;
  }

  .logo img {
    width: 90px;
  }
  .nav-links a {
    font-size: 12px;
    font-weight: 500;
}

  .hero p {
    font-size: 14px;
  }

  .portfolio-section {
    padding-top: 22px;
  }

 

  
  .project-preview img {
    height: 195px;
  }
  .project-preview {
    height: 215px;
  }

  .project-description {
    min-height: auto;
  }
  .project-description {
    line-height: 1.5;
}
  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    grid-column: auto;
  }

  .s-menu-footer-list {
    grid-template-columns: 1fr;
  }
}
  #judy-store-quiz {
    --jsq-primary: #5f63f2;
    --jsq-primary-dark: #4d45d8;
    --jsq-primary-light: #eef0ff;
    --jsq-secondary: #6bbef2;
    --jsq-accent: #cbb8ff;
    --jsq-text: #1f2850;
    --jsq-muted: #66708c;
    --jsq-white: #fff;
    --jsq-surface: #f8faff;
    --jsq-border: #e5e8f5;
    --jsq-shadow: 0 24px 70px rgba(45, 52, 120, .22);
    position: relative;
    z-index: 99999;
    font-family: "Cairo", sans-serif;
  }

  #judy-store-quiz * {
    box-sizing: border-box
  }

  .jsq-launcher {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    padding: 7px 10px 7px 8px;
    border: 1px solid rgba(95, 99, 242, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: var(--jsq-text);
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(50, 58, 130, .18);
    backdrop-filter: blur(14px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    animation: jsq-float 3.2s ease-in-out infinite;
  }

  .jsq-launcher:hover {
    transform: translateY(-4px);
    border-color: rgba(95, 99, 242, .35);
    box-shadow: 0 18px 42px rgba(50, 58, 130, .24);
    animation-play-state: paused;
  }

  .jsq-launcher-avatar {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jsq-primary), var(--jsq-secondary));
    box-shadow: 0 4px 15px rgba(95, 99, 242, .28);
  }

  .jsq-launcher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    background: #fff;
  }

  .jsq-launcher-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    flex: 1;
    text-align: right;
  }

  .jsq-launcher-copy strong {
    font-size: 13px;
    line-height: 1.5;
    color: var(--jsq-text);
  }

  .jsq-launcher-copy small {
    color: var(--jsq-muted);
    font-size: 9px;
    line-height: 1.5;
  }

  .jsq-launcher-arrow {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    border-radius: 50%;
    background: var(--jsq-primary-light);
    color: var(--jsq-primary);
    font-size: 17px;
    transition: .25s ease;
  }

  .jsq-launcher:hover .jsq-launcher-arrow {
    background: var(--jsq-primary);
    color: #fff;
    transform: translateX(-3px);
  }

  @keyframes jsq-float {

    0%,
    100% {
      transform: translateY(0)
    }

    50% {
      transform: translateY(-4px)
    }
  }

  .jsq-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(22, 27, 58, .56);
    backdrop-filter: blur(5px);
  }

  .jsq-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100002;
    width: min(92vw, 460px);
    max-height: 92vh;
    overflow: auto;
    transform: translate(-50%, -50%);
    padding: 22px 22px 15px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 26px;
    background: rgba(255, 255, 255, .98);
    color: var(--jsq-text);
    box-shadow: var(--jsq-shadow);
  }

  .jsq-close {
    position: absolute;
    top: 13px;
    left: 14px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #e7e9f4;
    border-radius: 50%;
    background: #f8f9ff;
    color: #68718b;
    font-size: 15px;
    cursor: pointer;
    transition: .2s ease;
  }

  .jsq-close:hover {
    background: var(--jsq-primary);
    border-color: var(--jsq-primary);
    color: #fff;
    transform: rotate(8deg);
  }

  .jsq-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 3px 0 17px;
    color: var(--jsq-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
  }

  .jsq-brand-mark {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--jsq-primary);
    border-radius: 50%;
    background: var(--jsq-primary-light);
    font-family: Georgia, serif;
    font-size: 16px;
  }

  .jsq-progress {
    height: 5px;
    margin: 0 3px 27px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0fa;
  }

  .jsq-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--jsq-secondary), var(--jsq-primary));
    transition: width .35s ease;
  }

  .jsq-content {
    padding: 0 7px;
    text-align: center;
  }

  .jsq-step {
    display: none
  }

  .jsq-step.is-active {
    display: block;
    animation: jsq-in .3s ease;
  }

  @keyframes jsq-in {
    from {
      opacity: 0;
      transform: translateX(10px)
    }

    to {
      opacity: 1;
      transform: none
    }
  }

  .jsq-sparkle,
  .jsq-result-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 13px;
    border: 1px solid #dfe3ff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jsq-primary-light), #eef9ff);
    color: var(--jsq-primary);
    font-size: 23px;
    box-shadow: 0 8px 25px rgba(95, 99, 242, .1);
  }
  .jsq-sparkle {
    width: 109px;
    height: 109px;
    display: grid;
    place-items: center;
    margin: 0 auto 3px;
  }

  .jsq-content h2 {
    margin: 0 0 9px;
    color: var(--jsq-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.5;
  }

  .jsq-content p {
    max-width: 350px;
    margin: 0 auto 20px;
    color: var(--jsq-muted);
    font-size: 13.5px;
    line-height: 1.9;
  }

  .jsq-kicker {
    margin-bottom: 7px !important;
    color: var(--jsq-primary) !important;
    font-size: 11px !important;
    font-weight: 800;
  }

  .jsq-question-help {
    margin-bottom: 13px !important;
    font-size: 12px !important;
    color: #8991a8 !important;
  }

  .jsq-intro small {
    display: block;
    margin-top: 11px;
    color: #9aa1b5;
    font-size: 10px;
  }

  .jsq-primary {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #748dff, var(--jsq-primary));
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(95, 99, 242, .2);
    transition: .25s ease;
  }

  .jsq-primary:hover {
    background: linear-gradient(135deg, var(--jsq-primary), var(--jsq-primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(95, 99, 242, .27);
  }

  .jsq-primary span {
    font-size: 19px;
    line-height: 1;
  }

  .jsq-options {
    display: grid;
    gap: 9px;
    margin-top: 15px;
  }

  .jsq-options button {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--jsq-border);
    border-radius: 13px;
    background: #fff;
    color: #46506e;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    transition: .22s ease;
  }

  .jsq-options button:hover {
    border-color: rgba(95, 99, 242, .45);
    background: var(--jsq-primary-light);
    color: var(--jsq-primary-dark);
    transform: translateX(-3px);
    box-shadow: 0 7px 20px rgba(95, 99, 242, .08);
  }

  .jsq-result h2 {
    font-size: 21px
  }

  .jsq-result-icon {
    background: linear-gradient(135deg, #eef0ff, #edfaff);
  }

  .jsq-result-list {
    margin: 13px 0 15px;
    padding: 12px 15px;
    border: 1px solid #e7e9f5;
    border-radius: 13px;
    background: #f8faff;
    color: #5e6781;
    font-size: 15px;
    line-height: 2;
    text-align: right;
  }

  .jsq-result-list div {
    display: flex;
    align-items: flex-start;
    gap: 7px;
  }

  .jsq-result-list div:before {
    content: "✓";
    flex: 0 0 auto;
    color: var(--jsq-primary);
    font-weight: 900;
  }

  .jsq-summary {
    margin: 0 0 15px;
    padding: 10px 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5f4ff, #f2faff);
    color: #68718b;
    font-size: 15px;
    line-height: 1.9;
    text-align: right;
  }

  .jsq-summary strong {
    color: var(--jsq-text)
  }

  .jsq-whatsapp {
    background: linear-gradient(135deg, #35d978, #20b85c);
    box-shadow: 0 10px 25px rgba(32, 184, 92, .2);
  }

  .jsq-whatsapp:hover {
    background: linear-gradient(135deg, #20b85c, #15984b);
    box-shadow: 0 15px 30px rgba(32, 184, 92, .27);
  }

  .jsq-restart {
    display: block;
    margin: 12px auto 0;
    padding: 4px;
    border: 0;
    background: none;
    color: #9299ab;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
  }

  .jsq-restart:hover {
    color: var(--jsq-primary)
  }

  .jsq-footer {
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1px solid #edf0f7;
    color: #9aa1b5;
    font-size: 9px;
    text-align: center;
  }

  @media(max-width:560px) {
    .jsq-launcher {
      right: 14px;
      bottom: 14px;
      min-width: 0;
      max-width: calc(100vw - 28px);
      padding: 6px 8px 6px 7px;
    }

    .jsq-launcher-avatar {
      width: 43px;
      height: 43px;
      flex-basis: 43px;
    }

    .jsq-launcher-copy strong {
      font-size: 12px
    }

    .jsq-launcher-copy small {
      font-size: 8px
    }

    .jsq-launcher-arrow {
      width: 28px;
      height: 28px;
      flex-basis: 28px;
    }

    .jsq-modal {
      width: calc(100vw - 24px);
      max-height: 90vh;
      padding: 19px 15px 13px;
      border-radius: 22px;
    }

    .jsq-content {
      padding: 0 4px
    }

    .jsq-content h2 {
      font-size: 21px
    }

    .jsq-options button {
      padding: 12px;
      font-size: 12px
    }
  }

  @media(max-width:360px) {
    .jsq-launcher-copy small {
      display: none
    }

    .jsq-launcher {
      padding-right: 7px
    }
  }
/* =========================
   أعمال المعرض (جرافيك / سيو): بطاقة صور + عارض الصور
   ========================= */

.project-media-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(31, 40, 80, 0.14);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .project-media-badge {
    top: 10px;
    inset-inline-start: 10px;
    gap: 5px;
    padding: 4px 9px;
    font-size: 11px;
  }
}

.project-preview-modal__box.is-gallery,
.project-preview-modal__box.is-gallery .project-preview-modal__content {
  background: #14163a;
}

.project-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-gallery__stage {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 64px 84px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.project-gallery__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.project-gallery__img.is-swapping {
  opacity: 0.25;
}

.project-gallery__nav {
  position: absolute;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.project-gallery__nav:active {
  transform: scale(0.95);
}

.project-gallery__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.project-gallery__nav--prev {
  right: 18px;
}

.project-gallery__nav--next {
  left: 18px;
}

.project-gallery__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 20px;
  color: #eceeff;
  font-size: 15px;
}

.project-gallery__bar strong {
  font-weight: 700;
}

.project-gallery__count {
  direction: ltr;
  color: #b9bdf0;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .project-gallery__nav:hover {
    background: rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 600px) {
  .project-gallery__stage {
    padding: 60px 10px 6px;
  }

  .project-gallery__nav {
    top: auto;
    bottom: 10px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.14);
  }

  .project-gallery__nav--prev {
    right: auto;
    left: 62px;
  }

  .project-gallery__nav--next {
    left: 12px;
  }

  .project-gallery__bar {
    padding: 12px 16px 14px;
    padding-left: 116px;
    font-size: 14px;
  }
}

/* =========================
   لون ثابت لكل قسم (البطاقة العلوية + بطاقات الأعمال تحتها)
   ========================= */

.category-showcase-card[data-key="all"],
.project-card[data-key="all"] {
  --category-color: #5f63f2;
  --category-deep: #4d45d8;
}

.category-showcase-card[data-key="stores"],
.project-card[data-key="stores"] {
  --category-color: #8a4fd8;
  --category-deep: #6f36bd;
}

.category-showcase-card[data-key="seo"],
.project-card[data-key="seo"] {
  --category-color: #0d8f80;
  --category-deep: #08705f;
}

.category-showcase-card[data-key="marketing"],
.project-card[data-key="marketing"] {
  --category-color: #d8612b;
  --category-deep: #b84b1a;
}

.category-showcase-card[data-key="design"],
.project-card[data-key="design"] {
  --category-color: #d1468a;
  --category-deep: #b0306f;
}

.category-showcase-card[data-key] {
  --category-soft: color-mix(in srgb, var(--category-color) 10%, transparent);
  --category-border: color-mix(in srgb, var(--category-color) 24%, transparent);
}

.category-showcase-card[data-key].active {
  background: linear-gradient(135deg, var(--category-deep), var(--category-color));
}

.project-card[data-key] .project-tag {
  background: color-mix(in srgb, var(--category-color) 10%, #ffffff);
  color: var(--category-deep);
}

.project-card[data-key] .project-link {
  background: color-mix(in srgb, var(--category-color) 10%, #ffffff);
  color: var(--category-deep);
}

.project-card[data-key] .project-link:hover {
  background: var(--category-deep);
  color: #ffffff;
}

.project-card[data-key] .project-media-badge {
  color: var(--category-deep);
}

/* =========================
   زر الطلب على الواتساب + عرض المزيد
   ========================= */

.project-actions {
  flex-wrap: wrap;
  gap: 10px;
}

.project-order {
  --order-color: var(--category-deep, var(--primary-dark));
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 11px;
  background: var(--order-color);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--order-color) 28%, transparent);
  transition:
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.project-order i {
  font-size: 16px;
}

.project-order:active {
  transform: scale(0.97);
}

.project-order:focus-visible {
  outline: 2px solid var(--order-color);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .project-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--order-color) 36%, transparent);
  }
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.load-more[hidden] {
  display: none;
}

.load-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid #dfe2f6;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(78, 77, 160, 0.10);
  transition:
    transform 160ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 200ms ease;
}

.load-more__btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .load-more__btn:hover {
    border-color: var(--primary);
  }
}

@media (max-width: 600px) {
  .project-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-actions .project-link,
  .project-actions .project-order {
    width: 100%;
    padding-inline: 8px;
    gap: 6px;
    font-size: 12px;
    white-space: nowrap;
  }
}
