/* ============================================================
   BASTAH MARKETING AGENCY — styles.css
   Professional Arabic RTL Design System
   Colors: Primary #1a35e8 | Accent #f97316
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manchette Fine', system-ui, 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1a35e8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #1228c0; }

/* ── Selection ── */
::selection { background: #1a35e8; color: #fff; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

#navbar.inner-page {
  background: #3d56f0;
  box-shadow: 0 4px 30px rgba(26, 53, 232, 0.2);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#navbar.inner-page.scrolled {
  background: #3d56f0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 30px rgba(26, 53, 232, 0.2);
}

#navbar.scrolled .nav-link,
#navbar.scrolled #menu-toggle {
  color: #0a0f2e;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: #f97316;
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

/* ============================================================
   HERO
   ============================================================ */

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated Background Blobs */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: blobFloat 8s ease-in-out infinite;
}

.shape-1 {
  width: 600px; height: 600px;
  background: #1a35e8;
  top: -200px; right: -200px;
  animation-delay: 0s;
}

.shape-2 {
  width: 400px; height: 400px;
  background: #f97316;
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}

.shape-3 {
  width: 300px; height: 300px;
  background: #3d56f0;
  top: 50%; left: 30%;
  animation-delay: 6s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid Pattern */
.grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.grid-pattern-dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.grid-pattern-light {
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero Card */
.hero-card {
  position: relative;
  height: 520px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Floating Cards */
.floating-card {
  animation: float1 4s ease-in-out infinite;
}
.floating-card-2 {
  animation: float2 5s ease-in-out infinite;
}
.floating-card-3 {
  animation: float3 3.5s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   PREMIUM HERO ADDITIONS
   ============================================================ */
/* Animated Text Slide */
@keyframes text-slide {
  0%, 26.66% { transform: translateY(0%); }
  33.33%, 60% { transform: translateY(-25%); }
  66.66%, 93.33% { transform: translateY(-50%); }
  100% { transform: translateY(-75%); }
}

.animate-text-slide {
  animation: text-slide 6s cubic-bezier(0.83, 0, 0.17, 1) infinite;
}

/* Premium Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2.25rem;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
  text-decoration: none;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.btn-outline-premium {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.4s ease;
  text-decoration: none;
}

.btn-outline-premium:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1a35e8 0%, #3d56f0 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(26, 53, 232, 0.35);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 53, 232, 0.5);
  background: linear-gradient(135deg, #1228c0 0%, #1a35e8 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, #ea6c0a 0%, #f97316 100%);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,53,232,0.1) 0%, rgba(61,86,240,0.1) 100%);
  color: #1a35e8;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(26,53,232,0.2);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-tag-light {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  color: #0a0f2e;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title-light {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ============================================================
   ABOUT — Value Cards
   ============================================================ */
.value-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: #1a35e8;
  box-shadow: 0 8px 24px rgba(26,53,232,0.1);
  transform: translateY(-3px);
}

/* ============================================================
   SERVICES
   ============================================================ */

/* قسم الخدمات: خلفية صلبة على الموبايل لتفادي وميض/وهج أبيض مع التمرير */
.services-section {
  background-color: #0a0f2e;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.services-title-responsive {
  font-size: clamp(1.15rem, 4.5vw + 0.35rem, 2.75rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-tag-light--compact {
  font-size: 0.75rem;
  padding: 0.28rem 0.85rem;
  margin-bottom: 0.75rem;
}

/* على الشاشات الصغيرة: بدون blur وزجاجي فاتح — يقلّل ظهور بقع بيضاء عند السكرول */
.service-card-glass {
  background: rgba(17, 23, 64, 0.92);
}

@media (min-width: 768px)  {
  .service-card-glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .service-card-glass:hover {
    background: rgba(255, 255, 255, 0.09);
  }
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,53,232,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.service-tags span {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
/* تابات التصفية: على الشاشات الضيقة تمرير أفقي (سحب يمين/يسار) */
.portfolio-filters-outer {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 53, 232, 0.35) transparent;
}

.portfolio-filters-outer::-webkit-scrollbar {
  height: 5px;
}
.portfolio-filters-outer::-webkit-scrollbar-thumb {
  background: rgba(26, 53, 232, 0.35);
  border-radius: 999px;
}
.portfolio-filters-outer::-webkit-scrollbar-track {
  background: transparent;
}

.portfolio-filters-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: max-content;
  padding-bottom: 0.35rem;
}

.portfolio-filters-scroll .filter-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (max-width: 767.98px) {
  .portfolio-filters-outer {
    scroll-snap-type: x proximity;
  }
}

@media (min-width: 768px) {
  .portfolio-filters-outer {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .portfolio-filters-scroll {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .portfolio-filters-scroll .filter-btn {
    scroll-snap-align: unset;
  }
}

.filter-btn {
  background: #f3f4f6;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1a35e8;
  color: #fff;
  border-color: #1a35e8;
  box-shadow: 0 4px 15px rgba(26,53,232,0.3);
}

.portfolio-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,46,0.95) 0%, rgba(26,53,232,0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.portfolio-overlay h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.portfolio-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s;
}

.portfolio-btn:hover { background: #f97316; }

.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden-item {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  display: none;
}

/* معاينة صورة العمل — مودال */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.portfolio-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 46, 0.9);
  cursor: pointer;
}

.portfolio-lightbox__dialog {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 1100px);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.portfolio-lightbox__dialog > * {
  pointer-events: auto;
}

.portfolio-lightbox__dialog img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(90vh - 5rem);
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  background: #111;
}

.portfolio-lightbox__caption {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 0 0.5rem;
  line-height: 1.4;
}

.portfolio-lightbox__caption:empty {
  display: none;
}

.portfolio-lightbox__close {
  position: absolute;
  top: 0.5rem;
  inset-inline-end: 0.5rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0a0f2e;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.portfolio-lightbox__close:hover {
  background: #f97316;
  color: #fff;
}

.portfolio-lightbox__close:focus-visible {
  outline: 3px solid #1a35e8;
  outline-offset: 2px;
}

.portfolio-card:focus {
  outline: none;
}

.portfolio-card:focus-visible {
  outline: 3px solid #1a35e8;
  outline-offset: 4px;
}

/* ============================================================
   STATS
   ============================================================ */
.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #1a35e8);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.12); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #f97316;
}

.stat-number {
  display: inline;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-plus {
  display: inline;
  font-size: 2rem;
  font-weight: 900;
  color: #f97316;
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  transition: background 0.3s;
}

.why-item:hover { background: rgba(26,53,232,0.04); }

.why-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, #1a35e8, #3d56f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-container { overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  min-width: calc(50% - 0.75rem);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .testimonial-card { min-width: 100%; }
}

.testimonial-quote {
  font-size: 2rem;
  color: #f97316;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}

.testimonial-stars {
  margin-right: auto;
  color: #fbbf24;
  font-size: 0.75rem;
  display: flex;
  gap: 2px;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.testimonial-nav-btn:hover {
  background: #1a35e8;
  border-color: #1a35e8;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #f97316;
  width: 24px;
}

/* ============================================================
   CLIENTS MARQUEE
   ============================================================ */
.clients-marquee { overflow: hidden; position: relative; }

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.clients-marquee::before {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.clients-marquee::after {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.clients-track {
  display: flex;
  gap: 2rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo {
  background: #f8f9ff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: #6b7280;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.client-logo:hover {
  border-color: #1a35e8;
  color: #1a35e8;
  background: rgba(26,53,232,0.05);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: #1a35e8;
  box-shadow: 0 8px 24px rgba(26,53,232,0.1);
  transform: translateX(-4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'Manchette Fine', system-ui, 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.9375rem;
  color: #111827;
  background: #f9fafb;
  transition: all 0.3s ease;
  outline: none;
  direction: rtl;
}

.form-input:focus {
  border-color: #1a35e8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,53,232,0.08);
}

.form-input::placeholder { color: #9ca3af; }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-btn:hover { transform: translateY(-3px) scale(1.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-link { 
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-link:hover { color: #f97316; }

.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social:hover {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   AOS OVERRIDES
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-card { height: 400px; }
}

@media (max-width: 768px) {
  .section-title { font-size: 1.75rem; }
  .section-title-light { font-size: 1.75rem; }

  .stat-number { font-size: 2.25rem; }

  .testimonial-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-outline, .btn-accent {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* ============================================================
   LOADING — شعار يدور + خلفية أزرق الواجهة
   ============================================================ */
.page-loader {
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader--minimal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #102aa8;
  pointer-events: auto;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-minimal img {
  display: block;
  width: min(28vw, 7rem);
  height: auto;
  object-fit: contain;
  transition: none;
  animation: loaderLogoMinimalSpin 1.15s linear infinite;
}

@keyframes loaderLogoMinimalSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo-minimal img {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; }

/* Smooth image hover */
img { transition: transform 0.4s ease; }
