/* ===========================
   DROP Platform – Design System
   Dark Navy + Gold Premium
=========================== */

:root {
  --navy-950: #020617;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;
  --gold-400: #c9933a;
  --gold-300: #dba84f;
  --gold-200: #edc97a;
  --gold-glow: rgba(201, 147, 58, 0.15);
  --accent-blue: #3B82F6;
  --accent-teal: #06B6D4;
  --white: #ffffff;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-gold: 0 0 40px rgba(201, 147, 58, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===========================   RESET & BASE   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  background: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

[data-lucide] {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  color: var(--white);
  transition: var(--transition);
}

/* Icons turn gold when parent container is hovered */
a:hover [data-lucide],
button:hover [data-lucide],
.service-card:hover [data-lucide],
.mentor-card:hover [data-lucide],
.contact-item:hover [data-lucide],
.vision-card:hover [data-lucide],
.mission-card:hover [data-lucide],
.b2b-card:hover [data-lucide],
.skill-card:hover [data-lucide],
.partnership-model h3:hover [data-lucide],
.social-btn:hover [data-lucide],
.footer-col a:hover [data-lucide] {
  color: var(--gold-400) !important;
}

/* Article titles turn gold on hover */
.article-card:hover h3 {
  color: var(--gold-400);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===========================   NAVIGATION   =========================== */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 147, 58, 0.1);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 15, 30, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition);
}

#navbar.scrolled .logo-img {
  height: 40px;
}

footer .logo-img {
  height: 72px;
  /* 48px * 1.5 */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300)) !important;
  color: var(--navy-900) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-800);
  border-top: 1px solid rgba(201, 147, 58, 0.1);
}

.mobile-menu a {
  padding: 1rem 2rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold-400);
  background: rgba(201, 147, 58, 0.05);
}

.mobile-menu.open {
  display: flex;
}

/* ===========================   HERO   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-950);
  z-index: -1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: 2;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  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: 50px 50px;
  z-index: 1;
  opacity: 0.8;
}

#ascii-wave-canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  z-index: 4;
  pointer-events: none;
  opacity: 0.8;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0) 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform, top;
  transition: transform 0.2s cubic-bezier(0.1, 0.5, 0.2, 1);
  z-index: 3;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(201, 147, 58, 0.06);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.06);
  bottom: -10%;
  left: -10%;
  animation-delay: 3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.04);
  top: 40%;
  right: 30%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  will-change: transform, opacity;
  transition: transform 0.3s cubic-bezier(0.1, 0.5, 0.2, 1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(201, 147, 58, 0.1);
  border: 1px solid rgba(201, 147, 58, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--gold-300);
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.8s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2.25rem;
  animation: fadeSlideDown 0.8s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-400), var(--accent-blue), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

#s-hero-subtitle-1 {
  font-size: 1.3em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.003rem;
  color: var(--white);
}

#s-hero-subtitle-2 {
  font-size: 1em;
  display: block;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-950);
  padding: 1rem 2.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding: 0.875rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  display: inline-block;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  cursor: pointer;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  animation: fadeSlideDown 0.8s ease 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-400);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 2px;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

.wave {
  display: inline-block;
  animation: wave 2.5s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0% {
    transform: rotate(0.0deg)
  }

  10% {
    transform: rotate(14.0deg)
  }

  20% {
    transform: rotate(-8.0deg)
  }

  30% {
    transform: rotate(14.0deg)
  }

  40% {
    transform: rotate(-4.0deg)
  }

  50% {
    transform: rotate(10.0deg)
  }

  60% {
    transform: rotate(0.0deg)
  }

  100% {
    transform: rotate(0.0deg)
  }
}

/* ANIMATIONS */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================   SECTIONS BASE   =========================== */
section {
  padding: 6rem 0;
}

.dark-section {
  background: var(--navy-950);
  position: relative;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 147, 58, 0.3), transparent);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(201, 147, 58, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-label.light {
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.section-subtitle.light {
  color: var(--text-secondary);
}

.accent {
  color: var(--gold-400);
}

.gold-text {
  color: var(--gold-400);
}

/* ===========================   ABOUT   =========================== */
#about {
  background: var(--navy-800);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-text p {
  color: var(--gray-400);
  margin-bottom: 2rem;
  line-height: 1.9;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-item:hover {
  background: rgba(201, 147, 58, 0.05);
  border-color: rgba(201, 147, 58, 0.15);
  transform: translateX(-4px);
  cursor: pointer;
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision-card,
.mission-card {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  border-color: rgba(201, 147, 58, 0.2);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.vision-icon,
.mission-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.vision-card h3,
.mission-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gold-300);
}

.vision-card p,
.mission-card p {
  color: var(--gray-400);
  line-height: 1.8;
}

/* ===========================   B2C   =========================== */
.b2c-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.b2c-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}

.b2c-card.featured {
  background: linear-gradient(135deg, rgba(201, 147, 58, 0.08), rgba(59, 130, 246, 0.05));
  border-color: rgba(201, 147, 58, 0.3);
  box-shadow: var(--shadow-gold);
}

.b2c-card:hover {
  transform: translateY(-4px);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 2rem;
  background: var(--gold-400);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 50px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.b2c-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.b2c-card>p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.price-block {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.original-price {
  color: var(--gray-500);
  font-size: 0.85rem;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.our-price {
  font-size: 1.3rem;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
}

.our-price strong {
  font-weight: 900;
  font-size: 1.6rem;
}

.price-note {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.check {
  color: var(--gold-400);
  font-weight: 700;
}

.btn-card-primary {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  padding: 0.875rem;
  border-radius: 12px;
  font-weight: 700;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  transition: var(--transition);
}

.btn-card-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.b2c-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
  cursor: default;
}

.skill-card:hover {
  border-color: rgba(201, 147, 58, 0.2);
  background: rgba(201, 147, 58, 0.04);
  transform: translateX(-4px);
}

.skill-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.skill-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.skill-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
}

.partnership-model {
  background: var(--navy-800);
  border: 1px solid rgba(201, 147, 58, 0.15);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
}

.partnership-model h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.model-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  max-width: 160px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  margin: 0 auto 0.75rem;
}

.flow-step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

.flow-arrow {
  color: var(--gold-400);
  font-size: 1.5rem;
  opacity: 0.6;
}

/* ===========================   B2B   =========================== */
#b2b {
  background: var(--navy-800);
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.b2b-card {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.b2b-card:hover {
  border-color: rgba(201, 147, 58, 0.2);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.b2b-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.b2b-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--gold-300);
}

.b2b-card>p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.b2b-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.b2b-card ul li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding-right: 1rem;
  position: relative;
}

.b2b-card ul li::before {
  content: '◆';
  position: absolute;
  right: 0;
  color: var(--gold-400);
  font-size: 0.5rem;
  top: 0.4rem;
}

.b2b-process {
  background: var(--navy-700);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.b2b-process h3 {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.process-num {
  width: 56px;
  height: 56px;
  background: var(--navy-900);
  border: 2px solid var(--gold-400);
  color: var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.process-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  margin-top: 28px;
  opacity: 0.3;
}

.process-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gold-300);
}

.process-content p {
  color: var(--gray-400);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===========================   ARTICLES   =========================== */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.article-card:hover {
  border-color: rgba(201, 147, 58, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.article-card.featured-article {
  grid-column: 1 / -1;
  border-color: rgba(201, 147, 58, 0.15);
}

.article-tag {
  display: inline-block;
  background: rgba(201, 147, 58, 0.1);
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.article-body-content strong {
  color: var(--text-primary);
}

.article-body-content a {
  color: var(--gold-400);
  text-decoration: underline;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-date {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.read-more {
  color: var(--gold-400);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--gold-300);
}

.social-follow {
  text-align: center;
}

.social-follow>p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.2);
}

.social-link.linkedin:hover {
  background: rgba(10, 102, 194, 0.2);
  transform: translateY(-2px);
}

.social-link.facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.2);
}

.social-link.facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  transform: translateY(-2px);
}

.social-link.twitter {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

.social-link.twitter:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===========================   CONTACT   =========================== */
#contact {
  background: var(--navy-900);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  margin-top: 1rem;
}

.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--gray-400);
  line-height: 1.8;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
}

.contact-item span:last-child {
  color: var(--text-secondary);
}

.contact-ltr {
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}


.contact-form {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 147, 58, 0.1);
}

.form-group select option {
  background: var(--navy-800);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 700;
  font-size: 1rem;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 147, 58, 0.3);
}

.form-success {
  display: none;
  text-align: center;
  color: #4ade80;
  font-weight: 600;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 10px;
}

/* ===========================   FOOTER   =========================== */
footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  color: var(--gold-300);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================   SCROLL REVEAL   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================   RESPONSIVE   =========================== */
@media (max-width: 1024px) {

  .about-grid,
  .b2c-grid {
    grid-template-columns: 1fr;
  }

  .b2b-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-card.featured-article {
    grid-column: auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .b2b-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-connector {
    width: 2px;
    height: 40px;
    margin: 0 0 0 27px;
    background: linear-gradient(180deg, var(--gold-400), transparent);
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: right;
  }

  .process-num {
    margin: 0;
    flex-shrink: 0;
  }

  .model-flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .partnership-model {
    padding: 2rem 1.5rem;
  }

  .b2b-process {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ===========================   PAGE HERO   =========================== */
.page-hero {
  background: var(--navy-900);
  padding: 7rem 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .section-label {
  margin-bottom: 0.5rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 147, 58, .12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero.dark-section {
  background: var(--navy-950);
}

.page-hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 1rem 0;
  color: var(--text-primary);
}

.page-hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

/* ===========================   QUICK LINKS   =========================== */
.quick-links-section {
  background: var(--navy-900);
  padding: 4rem 2rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-link-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quick-link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 147, 58, .06), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.quick-link-card:hover {
  border-color: rgba(201, 147, 58, .3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.quick-link-card:hover::after {
  opacity: 1;
}

.ql-icon {
  font-size: 2rem;
}

.quick-link-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
}

.quick-link-card p {
  color: var(--gray-400);
  font-size: .88rem;
  line-height: 1.6;
  flex: 1;
}

.ql-arrow {
  color: var(--gold-400);
  font-size: 1.2rem;
  transition: transform .2s;
}

.quick-link-card:hover .ql-arrow {
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .quick-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================   CHATBOT WIDGET   =========================== */


#chat-widget {
  position: fixed;
  bottom: 2rem;
  z-index: 9999;
  direction: rtl;
  transition: left 0.5s ease, right 0.5s ease;
}

#chat-widget.pos-left {
  left: 2rem;
  right: auto;
}

#chat-widget.pos-right {
  right: 2rem;
  left: auto;
}

#chat-toggle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(201, 147, 58, 0.2));
  z-index: 10000;
}

#chat-toggle:hover {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(201, 147, 58, 0.5));
}

#chat-toggle img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

#chat-icon-fallback {
  font-size: 2rem;
  align-items: center;
  justify-content: center;
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-panel {
  position: absolute;
  bottom: 85px;
  width: 370px;
  max-height: 560px;
  background: var(--navy-800);
  border: 1px solid rgba(201, 147, 58, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chat-widget.pos-left .chat-panel {
  left: 0;
  transform-origin: bottom left;
}

#chat-widget.pos-right .chat-panel {
  right: 0;
  transform-origin: bottom right;
}

.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-header-actions button {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: var(--navy-900);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-actions button:hover {
  background: rgba(0, 0, 0, 0.2);
}

#chat-close {
  font-size: 1.25rem !important;
  margin-left: 0.25rem;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  background: rgba(0, 0, 0, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-status {
  font-size: 0.75rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-status::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}

#chat-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--navy-900);
  opacity: 0.7;
  padding: 4px;
  transition: opacity 0.2s;
}

#chat-close:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.msg-bubble {
  max-width: 80%;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.chat-msg.bot .msg-bubble {
  background: var(--navy-700);
  color: var(--text-secondary);
  border-bottom-right-radius: 4px;
}

.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  font-weight: 600;
  border-bottom-left-radius: 4px;
}

.chat-msg.bot.typing .msg-bubble::after {
  content: '●●●';
  animation: typingDots 1s infinite;
  letter-spacing: 3px;
}

@keyframes typingDots {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.chat-contact-form {
  padding: 1rem;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-contact-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 0.25rem;
}

.chat-contact-form input,
.chat-contact-form textarea {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  transition: border-color 0.2s;
  resize: none;
}

.chat-contact-form input:focus,
.chat-contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-400);
}

#cf-submit {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  border: none;
  border-radius: 8px;
  padding: 0.6rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}

#cf-submit:hover {
  opacity: 0.9;
}

#cf-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 0.5rem;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  font-size: 0.8rem;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--navy-900);
}

#chat-input {
  flex: 1;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-family: 'Cairo', sans-serif;
  transition: border-color 0.2s;
}

#chat-input:focus {
  outline: none;
  border-color: var(--gold-400);
}

#chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
}

#chat-send:hover {
  transform: scale(1.1);
}

#chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── WhatsApp Button ──────────────────────────────────────────────────────── */
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  margin-top: 1rem;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.wa-btn i {
  width: 20px;
  height: 20px;
}

/* ── Quick-reply choice buttons ──────────────────────────────────────────── */
.chat-choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.25rem 0.25rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.choice-btn {
  background: var(--navy-700);
  color: var(--gold-300);
  border: 1px solid rgba(201, 147, 58, 0.3);
  border-radius: 12px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  width: 100%;
}

.choice-btn:hover {
  background: rgba(201, 147, 58, 0.12);
  border-color: var(--gold-400);
  transform: translateX(-3px);
}

.choice-btn:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .chat-panel {
    width: calc(100vw - 2rem);
    left: -1rem;
    bottom: 75px;
  }
}

/* ===========================   ANIMATIONS & REVEALS   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Metric Reveal Animation */
.stat-num {
  position: relative;
  display: inline-block;
}

.stat-item.visible .stat-num {
  animation: metricPulse 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes metricPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .stat-item.visible .stat-num {
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero-content {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .stat-item.visible .stat-num {
    animation: none;
  }
}

/* ── Services Page ── */
.services-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 147, 58, 0.1);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-glow);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Mentors Page ── */
.mentors-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.mentor-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.mentor-card:hover {
  transform: scale(1.02);
  border-color: var(--gold-400);
}

.mentor-img {
  height: 350px;
  background: var(--navy-950);
}

.mentor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-info {
  padding: 2rem;
  text-align: center;
}

.mentor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gold-400);
}

.mentor-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.mentor-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── History Gallery (About) ── */
.history-gallery {
    padding: 1.5rem 0 4rem;
    background: var(--navy-950);
    overflow: hidden;
}

.container-full {
    width: 100%;
}

.gallery-marquee {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    width: max-content;
    animation: galleryScrollSimple 40s linear infinite;
}

.gallery-marquee:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 350px;
    height: 250px;
    flex-shrink: 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    border: 1px solid var(--gold-400);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    color: var(--gold-400);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.gallery-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gallery-date {
    font-size: 0.7rem;
    background: var(--gold-400);
    color: var(--navy-900);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

@keyframes galleryScrollSimple {
    0% { transform: translateX(0); }
    100% { transform: translateX(33.3333%); }
}
/* RTL adjustment: moving to the right for infinite effect */

@media (max-width: 768px) {
    .gallery-item {
        width: 300px;
        height: 220px;
    }
    .gallery-3d-wrapper {
        height: 350px;
    }
}

/* ===========================   PARTNERS SECTION   =========================== */
.partners-section {
    padding: 3.5rem 0;
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 215, 0, 0.05);
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
    overflow: visible; /* Allow title to overlap section boundary */
    position: relative;
    z-index: 10;
}

.partners-container {
    overflow: hidden; /* Clip the scrolling track here instead */
    width: 100%;
    position: relative;
}

.partners-title-overlap {
    position: absolute;
    top: -1.2rem;
    right: 15%;
    background: var(--navy-900);
    color: var(--gold-400);
    padding: 0.6rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px; /* Pill shape */
    z-index: 25;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.partners-section::before,
.partners-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15rem;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-section::before {
    left: 0;
    background: linear-gradient(to right, var(--navy-900), transparent);
}

.partners-section::after {
    right: 0;
    background: linear-gradient(to left, var(--navy-900), transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogosSeamless 30s linear infinite;
    position: relative;
    z-index: 5;
    pointer-events: all;
}

.partners-track:hover {
    animation-play-state: paused;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 8rem;
    padding-right: 8rem;
}

.partner-logo {
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.6;
    filter: grayscale(1);
    cursor: pointer;
    pointer-events: all;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.15);
}

.partner-logo img {
    height: 80px;
    width: auto;
    max-width: 250px;
    display: block;
}

@keyframes scrollLogosSeamless {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 2.5rem 0;
    }
    .partner-logo img {
        height: 50px;
    }
    .logo-group {
        gap: 4rem;
        padding-right: 4rem;
    }
}

@media (max-width: 480px) {
    .logo-group {
        gap: 2rem;
        padding-right: 2rem;
    }
}

/* ── Gallery Modal ── */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--gold-400);
}

.modal-card {
    background: var(--navy-900);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    display: block;
    position: relative;
}

.modal-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-corner {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 20;
}

.modal-details {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    padding: 1.5rem;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    z-index: 15;
    transform: translateY(10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    max-width: 450px;
}

.gallery-modal.active .modal-details {
    transform: translateY(0);
}

.modal-details h2 {
    color: var(--gold-400);
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.modal-details p {
    color: #f1f5f9;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .modal-content {
        max-width: 1000px;
    }
    
    .modal-image-container {
        aspect-ratio: 21/9;
    }

    .modal-details {
        bottom: 2rem;
        right: 2rem;
        left: auto; /* Pin to corner on desktop */
        width: 380px;
    }
}
