/* ============================================
   AETHERVISOR — Premium Landing Page
   Custom CSS (Bootstrap handles layout utilities)
   ============================================ */

:root {
  --bg-dark: #0a0a0c;
  --bg-darker: #050507;
  --bg-card: #121216;
  --bg-elevated: #1a1a20;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-orange: #f97316;
  --accent-pink: #ec4899;
  --accent-red: #ef4444;
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-warm: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --gradient-cool: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.85) 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.25);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.section-padding {
  padding: 100px 0;
}

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

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn-primary-gradient {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-primary-gradient.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---------- NAVBAR ---------- */
#mainNavbar {
  padding: 18px 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  background: transparent;
  z-index: 1050;
}

#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

#mainNavbar .navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.brand-logo-dark {
  display: block;
}

.brand-logo-light {
  display: none;
}

#mainNavbar.scrolled .brand-logo-dark {
  display: none;
}

#mainNavbar.scrolled .brand-logo-light {
  display: block;
}

@media (max-width: 575.98px) {
  .brand-logo-img {
    height: 34px;
    max-width: 160px;
  }
}

#mainNavbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: color 0.3s ease;
  position: relative;
}

#mainNavbar.scrolled .nav-link {
  color: #1a1a20;
}

#mainNavbar .nav-link:hover {
  color: #fff;
}

#mainNavbar.scrolled .nav-link:hover {
  color: var(--accent-purple);
}

.btn-nav-cta {
  display: inline-flex;
  padding: 10px 22px;
  background: var(--gradient-primary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  color: #fff !important;
}

#mainNavbar .navbar-toggler {
  border: none;
  padding: 4px 8px;
}

#mainNavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNavbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810, 10, 12, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  #mainNavbar .navbar-collapse {
    background: rgba(10, 10, 12, 0.98);
    margin-top: 12px;
    padding: 20px;
    border-radius: var(--radius-md);
  }

  #mainNavbar.scrolled .navbar-collapse {
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  #mainNavbar .nav-link {
    padding: 12px 0 !important;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  /* min-height: 700px; */
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

/* .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(5, 5, 7, 0.92) 0%, rgba(5, 5, 7, 0.55) 45%, rgba(5, 5, 7, 0.3) 100%);
} */

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slide.active .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: clamp(2.7rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-desc {
  font-size: 1.85rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero-slide.active .hero-desc {
  opacity: 1;
  transform: translateY(0);
}

.hero-title-dark {
  font-size: clamp(2.7rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.hero-slide.active .hero-title-dark {
  color: #333;
  opacity: 1;
  transform: translateY(0);
}

.hero-desc-dark {
  font-size: 1.85rem;
  color: #333;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero-slide.active .hero-desc-dark {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}

.hero-slide.active .hero-cta-group {
  opacity: 1;
  transform: translateY(0);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

/* Secondary Button (الزر الثانوي الأساسي) */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* White / Light Button (زر باللون الأبيض للأسطح الفاتحة) */
.btn-hero-white {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  color: #1a1a1a;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(0, 0, 0, 0.692);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-hero-white:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.6);
  color: #000;
}

/* Dark Button (زر باللون الداكن للأسطح المظلمة) */
.btn-hero-dark {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid white;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-hero-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Hero Pagination */
.hero-pagination {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pagination-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.pagination-item:hover,
.pagination-item.active {
  opacity: 1;
}

.pagination-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  min-width: 28px;
}

.pagination-progress {
  width: 3px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: height 0.1s linear;
}

.pagination-item.active .progress-bar {
  animation: none;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 991.98px) {
  .hero-pagination {
    right: 20px;
    gap: 14px;
  }

  .pagination-progress {
    height: 28px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: 60vh;
  }

  .hero-content {
    padding-top: 100px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-pagination {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 90px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 16px;
  }

  .pagination-progress {
    width: 32px;
    height: 3px;
  }

  .progress-bar {
    width: 0%;
    height: 100%;
  }

  .pagination-number {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }
}

/* ---------- PRODUCTS ---------- */
/* ---------- PRODUCTS SECTION ---------- */
.products {
  background: var(--bg-dark, #0b0c10);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* 3 أعمدة متساوية */
  gap: 24px;
}

.products-right-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #121318;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* ارتفاع الكروت الطويلة (اليسار والمنتصف) */
.product-card-tall {
  min-height: 540px;
  height: 100%;
}

/* ارتفاع الكروت القصيرة (اليمين) */
.product-card-sm {
  flex: 1;
  min-height: 258px;
}

.product-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

/* .product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.2) 60%,
      rgba(0, 0, 0, 0) 100%);
} */

.product-card-content {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  padding: 0 24px;
  text-align: center;
  z-index: 2;
}

.product-card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 991.98px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    /* تحويل العرض لشاشات التابلت */
  }

  .product-card-tall {
    min-height: 400px;
  }

  .products-right-stack {
    grid-column: span 2;
    flex-direction: row;
  }

  .product-card-sm {
    min-height: 280px;
  }
}

@media (max-width: 767.98px) {
  .products-grid {
    grid-template-columns: 1fr;
    /* شاشة واحدة للموبايل */
  }

  .products-right-stack {
    grid-column: span 1;
    flex-direction: column;
  }

  .product-card-tall,
  .product-card-sm {
    min-height: 320px;
  }
}

/* ---------- SOLUTIONS (Scroll-Lock) ---------- */
.solutions {
  position: relative;
  background: var(--bg-darker);
  /* Extra height so sticky can pin while user navigates internal slides */
  height: 400vh;
  /* ~4 slides × 100vh */
}

.solutions-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 40px;
  overflow: hidden;
}

/* Container الخارجي للتوسيط */
.solutions-tabs-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

/* التابز نفسها */
.solutions-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  position: relative;
  z-index: 5;
  margin: 0 auto; /* ضمان التوسيط */
}

.solutions-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* الإطار الخارجي الأبيض الرفيع */
  border-radius: 50px;
  margin-bottom: 28px;
  position: relative;
  z-index: 5;
}

.solution-tab {
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: none;
  /* إلغاء الحدود الفردية لكل زر */
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.solution-tab:hover {
  color: #fff;
  opacity: 0.85;
}

.solution-tab.active {
  background: #fff;
  color: #0d1b2a;
  /* لون النص داخل التاب النشط */
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.solutions-visual {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  height: 55vh;
  min-height: 600px;
  max-height: 720px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.solution-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
  transform: scale(1.03);
}

.solution-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.solution-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.9) 0%, rgba(5, 5, 7, 0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 36px;
} */

.solution-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
}

.solution-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0;
}

@media (max-width: 767.98px) {
  .solutions {
    height: auto;
  }

  .solutions-sticky {
    height: auto;
    min-height: auto;
    position: relative;
    padding: 60px 0;
  }

  .solutions-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .solutions-tabs::-webkit-scrollbar {
    display: none;
  }

  .solution-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .solutions-visual {
    height: 40vh;
    min-height: 280px;
    border-radius: var(--radius-lg);
  }

  /* .solution-overlay {
    padding: 24px;
  } */

  .solution-info h3 {
    font-size: 1.2rem;
  }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--accent-purple);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---------- ABOUT ---------- */
/* .about {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  top: 20%;
  left: -10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

@media (max-width: 991.98px) {
  .about-visual img {
    height: 360px;
  }
} */

.about-us {
  min-height: 100vh;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.about-us .container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-us .img-box {
  width: 100%;
}

.about-us .about-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-us .content {
  margin-top: -70px;
}


.about-us .section-title {
  font-weight: bold;
  margin-bottom: 1rem;
}

.about-us .about-text {
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  color: #ccc;
}

/* Responsive Media Queries */
@media (max-width: 1400px) {
  .about-us .about-container {
    width: 75%;
  }
}

@media (max-width: 992px) {
  .about-us .about-container {
    width: 90%;
  }

  .about-us .content {
    margin-top: -30px;
  }

  .about-us .section-title {
    font-size: 1.6rem;
  }

  /* .about-us .about-text {
    font-size: 0.85rem;
    max-width: 90%;
  } */
}

/* ---------- FEATURES ---------- */
/* .features {
  background: var(--bg-darker);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-soft);
}

.feature-card-img {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

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

.feature-card:hover .feature-card-img img {
  transform: scale(1.06);
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(10, 10, 12, 0.3) 100%);
  transition: background 0.4s ease;
}

.feature-card:hover .feature-overlay {
  background: linear-gradient(90deg, transparent 40%, rgba(30, 20, 60, 0.4) 100%);
}

.feature-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.feature-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.feature-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature-card-body p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.feature-arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-arrow {
  background: var(--accent-purple);
  transform: translateX(6px);
}

@media (max-width: 991.98px) {
  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card-img {
    min-height: 240px;
  }

  .feature-card-body {
    padding: 28px;
  }
} */

/* ---------- SUCCESS STORIES ---------- */
/* ---------- SUCCESS STORIES ---------- */

.success-stories {
  background: var(--bg-dark);
}

.stories-carousel {
  position: relative;
}

/* The visible window */
.stories-track {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  touch-action: pan-y;
}

/* The element that actually moves */
.stories-slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
  cursor: grab;
}

.stories-slides:active {
  cursor: grabbing;
}

/* Each slide */
.story-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;

  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ---------- IMAGE ---------- */

.story-image {
  height: 500px;
  overflow: hidden;
}

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

.story-image img:hover {
  transform: scale(1.2);
}

/* ---------- CONTENT ---------- */

.story-content {
  padding: 48px 40px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  height: 100%;
  min-height: 400px;

  background: #fff;
  color: #0a0a0c;
}

.story-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.story-content h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: #0a0a0c;
}

.story-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
}

.story-content p {
  color: #444;
  margin-bottom: 28px;
  font-size: 1rem;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 600;
  color: var(--accent-purple);

  transition: gap 0.3s ease;
}

.story-link:hover {
  gap: 14px;
  color: var(--accent-blue);
}

/* ---------- CONTROLS ---------- */

.stories-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.stories-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Dots / bars */

.story-dot {
  width: 35px;
  height: 4px;

  padding: 0;
  border: 0;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.25);

  transition:
    width 0.3s ease,
    background 0.3s ease;

  cursor: pointer;
}

.story-dot.active {
  width: 55px;
  background: var(--accent-purple);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991.98px) {

  .story-image {
    height: 280px;
  }

  .story-content {
    min-height: auto;
    padding: 32px 24px;
  }

}

@media (max-width: 575.98px) {

  .story-image {
    height: 240px;
  }

  .story-content {
    padding: 24px 20px;
  }

  .story-content h3 {
    font-size: 1.4rem;
  }

  .story-dot {
    width: 28px;
  }

  .story-dot.active {
    width: 45px;
  }

}

/* ---------- INTERACTIVE TOOL ---------- */
/* .interactive-tool {
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.tool-wrapper {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
}

.tool-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.tool-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.tool-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.tool-illustration {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-illustration i {
  font-size: 4.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
}

.tool-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  animation: orbitSpin 12s linear infinite;
}

.tool-orbit-2 {
  inset: -30px;
  border-color: rgba(59, 130, 246, 0.2);
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767.98px) {
  .tool-wrapper {
    padding: 40px 24px;
  }
} */

/* ---------- INDUSTRIES ---------- */
/* .industries {
  background: var(--bg-dark);
}

.industry-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.12);
}

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
  font-size: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.industry-card:hover .industry-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.industry-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
} */

/* ---------- FINAL CTA ---------- */
/* .final-cta {
  background: var(--bg-darker);
  position: relative;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a1028 0%, #0f1a30 50%, #0a1520 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-cta-primary {
  display: inline-flex;
  padding: 16px 36px;
  background: #fff;
  color: #0a0a0c;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  color: whitesmoke;
}

.btn-cta-secondary {
  display: inline-flex;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

@media (max-width: 767.98px) {
  .cta-box {
    padding: 50px 24px;
  }
} */

/*------------------ banner -------------------*/

.banners {
  background: var(--bg-dark);
}

.banners-track {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.banners-slides {
  display: flex;
  width: 100%;
  cursor: grab;
  transition: transform 0.5s ease;
}

.banners-slides:active {
  cursor: grabbing;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.banner-slide .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.banner-content {
  background: transparent;
  padding: 40px 0;
}

.banner-category {
  display: block;
  color: var(--accent-purple);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.banner-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.banner-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-purple);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.banner-link:hover {
  gap: 14px;
  color: var(--accent-blue);
}

.btn-banner-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-banner-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.banner-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

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

.banner-image img:hover {
  transform: scale(1.05);
}


/* Dots */

.banners-controls {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.banners-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-dot {
  width: 35px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.banner-dot.active {
  width: 55px;
  background: var(--accent-purple);
}


@media (max-width: 991.98px) {

  .banner-content {
    padding: 20px 0 32px;
  }

  .banner-content h2 {
    font-size: 2rem;
  }

  .banner-image {
    height: 350px;
  }
}


@media (max-width: 575.98px) {

  .banner-content h2 {
    font-size: 1.7rem;
  }

  .banner-image {
    height: 280px;
  }

  .banner-dot {
    width: 28px;
  }

  .banner-dot.active {
    width: 45px;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-darker);
  padding: 60px 0 30px;
  position: relative;
}

.footer-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider Line */
.footer-middle-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 40px 0 24px;
}

/* Actions Row (Social + Buttons) */
.footer-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
}

.footer-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Bottom Legal Section */
.footer-bottom {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

/* ---------- FLOATING BUTTONS ---------- */

/* Container للحاويات الثابتة أسفل الشاشة */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Base Styles الأزرار */
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* زر الدعم */
.float-support {
  background: var(--gradient-primary);
  color: #fff;
}

.float-support:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45);
  color: #fff;
}

/* زر العودة للأعلى */
.float-top {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.float-top:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Wrapper نافذة الدعم */
.float-support-wrapper {
  position: relative;
}

/* النافذة المنبثقة */
.support-popup {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: #1e1e2d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.support-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* خيارات التواصل */
.support-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.support-option i {
  font-size: 1.1rem;
  color: var(--accent-purple, #8b5cf6);
}

.support-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.float-top {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-top:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 767.98px) {
  .floating-buttons {
    right: 16px;
    bottom: 16px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    border-radius: 12px;
  }
}

/* ---------- SCROLL ANIMATIONS ---------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="slide-left"] {
  transform: translateX(-40px);
}

[data-animate="slide-right"] {
  transform: translateX(40px);
}

[data-animate="scale-in"] {
  transform: scale(0.95);
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

[data-delay="50"] {
  transition-delay: 0.05s;
}

[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="150"] {
  transition-delay: 0.15s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="250"] {
  transition-delay: 0.25s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

.btn:focus-visible,
.solution-tab:focus-visible,
.pagination-item:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}