/* ============================================================
   AHExpress – Master Stylesheet v2.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Cairo', sans-serif; overflow-x: hidden; background: #f8fafc; max-width: 100vw; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e3a8a, #0f766e);
  border-radius: 10px;
}

/* ════════════════════════════════════════════
   PAGE LOADER
════════════════════════════════════════════ */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f766e 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
}
.loader-logo {
  font-size: 2.8rem; font-weight: 900; color: #fff;
  letter-spacing: 3px;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}
.loader-tagline {
  color: rgba(255,255,255,0.7); font-size: 0.95rem; letter-spacing: 1px;
}
@keyframes loaderPulse {
  from { opacity: 0.6; transform: scale(0.96); }
  to   { opacity: 1;   transform: scale(1.04); }
}
.loader-bar {
  width: 200px; height: 4px; background: rgba(255,255,255,0.15);
  border-radius: 99px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2dd4bf, #38bdf8);
  background-size: 200% auto;
  border-radius: 99px;
  animation: loaderFill 1s ease-in-out forwards, shimmer 1.5s linear infinite;
}
@keyframes loaderFill {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.loader-dots { display: flex; gap: 8px; }
.loader-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1.2); opacity: 1; }
}

/* ════════════════════════════════════════════
   NAVBAR — prevent overflow on small screens only
════════════════════════════════════════════ */
@media (max-width: 480px) {
  #navbar {
    left: 0.5rem !important;
    right: 0.5rem !important;
  }
}
.navbar-transition { transition: all 0.4s ease; }
.navbar-scrolled {
  background-color: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  top: 0 !important; left: 0 !important; right: 0 !important;
  border-radius: 0 !important;
}

/* ════════════════════════════════════════════
   ANIMATED GRADIENT TEXT
════════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(90deg, #1e3a8a, #0f766e, #38bdf8, #0f766e, #1e3a8a);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
  margin-block: 40px;
}
@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.gradient-text-gold {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f97316, #fbbf24, #f59e0b);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

/* ════════════════════════════════════════════
   HERO – HOME
════════════════════════════════════════════ */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(45,212,191,0.15); border: 1px solid rgba(45,212,191,0.4);
  color: #2dd4bf; border-radius: 9999px;
  padding: 0.4rem 1.1rem; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 1.25rem;
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(45,212,191,0); }
}

/* Blobs */
@keyframes blob {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-50px) scale(1.1); }
  66%  { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0,0) scale(1); }
}/* ============================================================
   AHExpress – Master Stylesheet v2.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Cairo', sans-serif; overflow-x: hidden; background: #f8fafc; max-width: 100vw; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e3a8a, #0f766e);
  border-radius: 10px;
}

/* ════════════════════════════════════════════
   PAGE LOADER
════════════════════════════════════════════ */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f766e 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
}
.loader-logo {
  font-size: 2.8rem; font-weight: 900; color: #fff;
  letter-spacing: 3px;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}
.loader-tagline {
  color: rgba(255,255,255,0.7); font-size: 0.95rem; letter-spacing: 1px;
}
@keyframes loaderPulse {
  from { opacity: 0.6; transform: scale(0.96); }
  to   { opacity: 1;   transform: scale(1.04); }
}
.loader-bar {
  width: 200px; height: 4px; background: rgba(255,255,255,0.15);
  border-radius: 99px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2dd4bf, #38bdf8);
  background-size: 200% auto;
  border-radius: 99px;
  animation: loaderFill 1s ease-in-out forwards, shimmer 1.5s linear infinite;
}
@keyframes loaderFill {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.loader-dots { display: flex; gap: 8px; }
.loader-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1.2); opacity: 1; }
}

/* ════════════════════════════════════════════
   NAVBAR — prevent overflow on small screens only
════════════════════════════════════════════ */
@media (max-width: 480px) {
  #navbar {
    left: 0.5rem !important;
    right: 0.5rem !important;
  }
}
.navbar-transition { transition: all 0.4s ease; }
.navbar-scrolled {
  background-color: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  top: 0 !important; left: 0 !important; right: 0 !important;
  border-radius: 0 !important;
}

/* ════════════════════════════════════════════
   ANIMATED GRADIENT TEXT
════════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(90deg, #1e3a8a, #0f766e, #38bdf8, #0f766e, #1e3a8a);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

.gradient-text-gold {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f97316, #fbbf24, #f59e0b);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

/* ════════════════════════════════════════════
   HERO – HOME
════════════════════════════════════════════ */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(45,212,191,0.15); border: 1px solid rgba(45,212,191,0.4);
  color: #2dd4bf; border-radius: 9999px;
  padding: 0.4rem 1.1rem; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 1.25rem;
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(45,212,191,0); }
}

/* Blobs */
@keyframes blob {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-50px) scale(1.1); }
  66%  { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0,0) scale(1); }
}
.animate-blob { animation: blob 8s infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Hero image float */
.hero-img-wrap {
  animation: floatImg 5s ease-in-out infinite;
}
@keyframes floatImg {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(-14px) rotate(-0.5deg); }
}

/* Typed text */
.typed-text {
  display: inline-block; min-height: 1.4em;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #0f766e);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
}
.typed-cursor {
  display: inline-block; width: 3px; height: 1em;
  background: #0f766e; margin-right: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ════════════════════════════════════════════
   INNER PAGE HERO — full-width with image
════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0f766e 100%);
  padding-top: 6rem; padding-bottom: 3rem;
  max-width: 100%;
}

/* موبايل: padding أكبر عشان الـ navbar */
@media (max-width: 768px) {
  .page-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
    min-height: auto;
    align-items: flex-start;
  }
  .page-hero-inner .grid {
    grid-template-columns: 1fr !important;
  }
  /* إخفاء الصورة في الهيرو على الموبايل عشان المحتوى يظهر كامل */
  .page-hero-inner .hero-img-wrap {
    display: none;
  }
  .page-hero-inner > div > div.text-right {
    text-align: center !important;
  }
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; }
/* legacy support */
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero-content h1 { color: #fff; font-weight: 900; }
.page-hero-content p  { color: rgba(255,255,255,0.85); }

/* Page hero image side */
.page-hero-img {
  position: relative;
  animation: floatImg 5s ease-in-out infinite;
}
.page-hero-img img {
  border-radius: 1.5rem;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%; height: 480px; object-fit: cover;
}
.page-hero-img::before {
  content: '';
  position: absolute; inset: -8px;
  background: linear-gradient(135deg, rgba(45,212,191,0.2), rgba(59,130,246,0.2));
  border-radius: 2rem; blur: 20px;
  z-index: -1;
}

/* Floating particles in hero */
.hero-particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════ */
.divider-line {
  display: block; width: 80px; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, #1e3a8a, #0f766e);
  margin: 1rem auto;
}
.divider-line-amber {
  display: block; width: 80px; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  margin: 1rem auto;
}

/* ════════════════════════════════════════════
   CARDS
════════════════════════════════════════════ */
.service-card {
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.04), rgba(15,118,110,0.04));
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -12px rgba(15,118,110,0.22);
}
.service-card .card-icon {
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .card-icon {
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  transform: rotate(-6deg) scale(1.1);
}
.service-card:hover .card-icon i { color: #fff !important; }

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  color: #fff; border-radius: 9999px;
  padding: 0.75rem 2rem; font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f766e, #1e3a8a);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -6px rgba(15,118,110,0.5);
}

.btn-outline {
  position: relative; overflow: hidden;
  border: 2px solid #1e3a8a; color: #1e3a8a;
  border-radius: 9999px; padding: 0.75rem 2rem; font-weight: 700;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; cursor: pointer;
}
.btn-outline:hover {
  background: #1e3a8a; color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(30,58,138,0.35);
}

/* Ripple */
.btn-ripple { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute; border-radius: 50%;
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  transform: translate(-50%,-50%) scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: translate(-50%,-50%) scale(30); opacity: 0; }
}

/* ════════════════════════════════════════════
   WHATSAPP FLOAT – SUPER ATTRACTIVE
════════════════════════════════════════════ */
#whatsapp-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 999;
  width: 62px; height: 62px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  cursor: pointer; text-decoration: none;
  transition: box-shadow 0.3s;
}
#whatsapp-float:hover {
  box-shadow: 0 12px 36px rgba(37,211,102,0.65);
}
#wa-ring {
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.55);
  pointer-events: none;
}
#wa-ring2 {
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.25);
  pointer-events: none;
  animation: ring2Pulse 2s ease-out infinite 0.5s;
}
@keyframes ring2Pulse {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.4);  opacity: 0; }
}
#whatsapp-float i { font-size: 1.85rem; color: #fff; position: relative; z-index: 1; }

/* WhatsApp tooltip */
#wa-tooltip {
  position: absolute; left: 72px; bottom: 50%;
  transform: translateY(50%);
  background: #fff; color: #128c7e;
  padding: 0.4rem 0.9rem; border-radius: 8px;
  font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
#wa-tooltip::before {
  content: '';
  position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #fff;
}
#whatsapp-float:hover #wa-tooltip { opacity: 1; }

/* ════════════════════════════════════════════
   STATS
════════════════════════════════════════════ */
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem; padding: 1rem 1.5rem; text-align: center;
  transition: transform 0.3s, background 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
}

/* ════════════════════════════════════════════
   FEATURE ICONS
════════════════════════════════════════════ */
.feature-icon-wrap {
  width: 64px; height: 64px; border-radius: 1rem;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.feature-icon-wrap:hover {
  transform: rotate(-8deg) scale(1.1);
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
}
.feature-icon-wrap:hover i { color: #fff !important; }

/* ════════════════════════════════════════════
   TESTIMONIAL CARD
════════════════════════════════════════════ */
.testimonial-card {
  background: #fff; border-radius: 1.5rem;
  padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,118,110,0.15);
}

/* ════════════════════════════════════════════
   PROCESS STEPS
════════════════════════════════════════════ */
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  color: #fff; font-weight: 900; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15,118,110,0.35);
}

/* ════════════════════════════════════════════
   FORM
════════════════════════════════════════════ */
.form-input {
  width: 100%; padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0; border-radius: 0.75rem;
  font-family: 'Cairo', sans-serif; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #f8fafc;
}
.form-input:focus {
  outline: none; border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15,118,110,0.12);
  background: #fff;
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.faq-item {
  border: 1px solid #e2e8f0; border-radius: 1rem;
  overflow: hidden; transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.faq-q {
  width: 100%; text-align: right; padding: 1.1rem 1.25rem;
  font-weight: 700; font-size: 1rem; background: #fff;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; border: none; font-family: 'Cairo', sans-serif;
}
.faq-a { padding: 0 1.25rem 1.1rem; color: #4b5563; line-height: 1.8; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer-link {
  color: #9ca3af; transition: color 0.25s, padding-right 0.25s;
  display: inline-block;
}
.footer-link:hover { color: #2dd4bf; padding-right: 4px; }

/* ════════════════════════════════════════════
   CTA SECTION — calm dark teal (not harsh blue)
════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0f2027 0%, #1a3a4a 50%, #0f4c4c 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(45,212,191,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.06) 0%, transparent 60%);
}
.section-title {
  position: relative; display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute; bottom: -6px; right: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #0f766e);
  border-radius: 99px;
  transition: width 0.6s ease;
}
.section-title.in-view::after { width: 100%; }

/* ════════════════════════════════════════════
   CONTAINER
════════════════════════════════════════════ */
.container-custom {
  max-width: 1280px; margin: 0 auto;
  padding-left: 1rem; padding-right: 1rem;
}
@media (min-width: 640px)  { .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-custom { padding-left: 2rem;   padding-right: 2rem;   } }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-hero-content h1 { font-size: 2rem !important; }
  .hero-title { font-size: 2.2rem !important; }
}

/* ════════════════════════════════════════════
   PREVENT HORIZONTAL OVERFLOW — global fix
   Sections with absolute positioned blobs/glows
   must clip their children
════════════════════════════════════════════ */
section { max-width: 100%; overflow-x: clip; }

/* Hero sections already have overflow:hidden but reinforce */
.page-hero,
section.relative { overflow: hidden; }

/* Glow blur divs with negative inset — clip them */
.hero-img-wrap,
.reveal-right,
.reveal-left { max-width: 100%; }

/* ════════════════════════════════════════════
   SCROLL REVEAL BASE — always visible fallback
   GSAP uses autoAlpha so visibility is managed
   by JS; these rules ensure no permanent hide
════════════════════════════════════════════ */
.reveal-card, .reveal-heading, .reveal-left, .reveal-right, .reveal-up, .reveal-line {
  will-change: transform, opacity;
  /* Safety: never permanently invisible */
  visibility: visible !important;
}

/* ════════════════════════════════════════════
   GLOW EFFECT ON CARDS
════════════════════════════════════════════ */
.glow-card {
  transition: box-shadow 0.4s;
}
.glow-card:hover {
  box-shadow: 0 0 30px rgba(15,118,110,0.2), 0 20px 40px rgba(0,0,0,0.1);
}

/* ════════════════════════════════════════════
   NUMBER HIGHLIGHT
════════════════════════════════════════════ */
.num-highlight {
  background: linear-gradient(135deg, #0f766e, #1e3a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.animate-blob { animation: blob 8s infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Hero image float */
.hero-img-wrap {
  animation: floatImg 5s ease-in-out infinite;
}
@keyframes floatImg {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(-14px) rotate(-0.5deg); }
}

/* Typed text */
.typed-text {
  display: inline-block; min-height: 1.4em;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #0f766e);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
}
.typed-cursor {
  display: inline-block; width: 3px; height: 1em;
  background: #0f766e; margin-right: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ════════════════════════════════════════════
   INNER PAGE HERO — full-width with image
════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #0f766e 100%);
  padding-top: 6rem; padding-bottom: 3rem;
  max-width: 100%;
}

/* موبايل: padding أكبر عشان الـ navbar */
@media (max-width: 768px) {
  .page-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
    min-height: auto;
    align-items: flex-start;
  }
  .page-hero-inner .grid {
    grid-template-columns: 1fr !important;
  }
  /* إخفاء الصورة في الهيرو على الموبايل عشان المحتوى يظهر كامل */
  .page-hero-inner .hero-img-wrap {
    display: none;
  }
  .page-hero-inner > div > div.text-right {
    text-align: center !important;
  }
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; }
/* legacy support */
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero-content h1 { color: #fff; font-weight: 900; }
.page-hero-content p  { color: rgba(255,255,255,0.85); }

/* Page hero image side */
.page-hero-img {
  position: relative;
  animation: floatImg 5s ease-in-out infinite;
}
.page-hero-img img {
  border-radius: 1.5rem;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%; height: 480px; object-fit: cover;
}
.page-hero-img::before {
  content: '';
  position: absolute; inset: -8px;
  background: linear-gradient(135deg, rgba(45,212,191,0.2), rgba(59,130,246,0.2));
  border-radius: 2rem; blur: 20px;
  z-index: -1;
}

/* Floating particles in hero */
.hero-particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════ */
.divider-line {
  display: block; width: 80px; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, #1e3a8a, #0f766e);
  margin: 1rem auto;
}
.divider-line-amber {
  display: block; width: 80px; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  margin: 1rem auto;
}

/* ════════════════════════════════════════════
   CARDS
════════════════════════════════════════════ */
.service-card {
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
              box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.04), rgba(15,118,110,0.04));
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -12px rgba(15,118,110,0.22);
}
.service-card .card-icon {
  transition: background 0.3s, transform 0.3s;
}
.service-card:hover .card-icon {
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  transform: rotate(-6deg) scale(1.1);
}
.service-card:hover .card-icon i { color: #fff !important; }

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  color: #fff; border-radius: 9999px;
  padding: 0.75rem 2rem; font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f766e, #1e3a8a);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -6px rgba(15,118,110,0.5);
}

.btn-outline {
  position: relative; overflow: hidden;
  border: 2px solid #1e3a8a; color: #1e3a8a;
  border-radius: 9999px; padding: 0.75rem 2rem; font-weight: 700;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; cursor: pointer;
}
.btn-outline:hover {
  background: #1e3a8a; color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(30,58,138,0.35);
}

/* Ripple */
.btn-ripple { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute; border-radius: 50%;
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  transform: translate(-50%,-50%) scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: translate(-50%,-50%) scale(30); opacity: 0; }
}

/* ════════════════════════════════════════════
   WHATSAPP FLOAT – SUPER ATTRACTIVE
════════════════════════════════════════════ */
#whatsapp-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 999;
  width: 62px; height: 62px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  cursor: pointer; text-decoration: none;
  transition: box-shadow 0.3s;
}
#whatsapp-float:hover {
  box-shadow: 0 12px 36px rgba(37,211,102,0.65);
}
#wa-ring {
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.55);
  pointer-events: none;
}
#wa-ring2 {
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.25);
  pointer-events: none;
  animation: ring2Pulse 2s ease-out infinite 0.5s;
}
@keyframes ring2Pulse {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.4);  opacity: 0; }
}
#whatsapp-float i { font-size: 1.85rem; color: #fff; position: relative; z-index: 1; }

/* WhatsApp tooltip */
#wa-tooltip {
  position: absolute; left: 72px; bottom: 50%;
  transform: translateY(50%);
  background: #fff; color: #128c7e;
  padding: 0.4rem 0.9rem; border-radius: 8px;
  font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
#wa-tooltip::before {
  content: '';
  position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #fff;
}
#whatsapp-float:hover #wa-tooltip { opacity: 1; }

/* ════════════════════════════════════════════
   STATS
════════════════════════════════════════════ */
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem; padding: 1rem 1.5rem; text-align: center;
  transition: transform 0.3s, background 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
}

/* ════════════════════════════════════════════
   FEATURE ICONS
════════════════════════════════════════════ */
.feature-icon-wrap {
  width: 64px; height: 64px; border-radius: 1rem;
  background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.feature-icon-wrap:hover {
  transform: rotate(-8deg) scale(1.1);
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
}
.feature-icon-wrap:hover i { color: #fff !important; }

/* ════════════════════════════════════════════
   TESTIMONIAL CARD
════════════════════════════════════════════ */
.testimonial-card {
  background: #fff; border-radius: 1.5rem;
  padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,118,110,0.15);
}

/* ════════════════════════════════════════════
   PROCESS STEPS
════════════════════════════════════════════ */
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0f766e);
  color: #fff; font-weight: 900; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15,118,110,0.35);
}

/* ════════════════════════════════════════════
   FORM
════════════════════════════════════════════ */
.form-input {
  width: 100%; padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0; border-radius: 0.75rem;
  font-family: 'Cairo', sans-serif; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #f8fafc;
}
.form-input:focus {
  outline: none; border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15,118,110,0.12);
  background: #fff;
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.faq-item {
  border: 1px solid #e2e8f0; border-radius: 1rem;
  overflow: hidden; transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.faq-q {
  width: 100%; text-align: right; padding: 1.1rem 1.25rem;
  font-weight: 700; font-size: 1rem; background: #fff;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; border: none; font-family: 'Cairo', sans-serif;
}
.faq-a { padding: 0 1.25rem 1.1rem; color: #4b5563; line-height: 1.8; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer-link {
  color: #9ca3af; transition: color 0.25s, padding-right 0.25s;
  display: inline-block;
}
.footer-link:hover { color: #2dd4bf; padding-right: 4px; }

/* ════════════════════════════════════════════
   CTA SECTION — calm dark teal (not harsh blue)
════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0f2027 0%, #1a3a4a 50%, #0f4c4c 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(45,212,191,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.06) 0%, transparent 60%);
}
.section-title {
  position: relative; display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute; bottom: -6px; right: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #0f766e);
  border-radius: 99px;
  transition: width 0.6s ease;
}
.section-title.in-view::after { width: 100%; }

/* ════════════════════════════════════════════
   CONTAINER
════════════════════════════════════════════ */
.container-custom {
  max-width: 1280px; margin: 0 auto;
  padding-left: 1rem; padding-right: 1rem;
}
@media (min-width: 640px)  { .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-custom { padding-left: 2rem;   padding-right: 2rem;   } }

/* ════════════════════════════════════════════
   HERO — RESPONSIVE (mobile-first fixes)
════════════════════════════════════════════ */

/* ── الهيرو الرئيسي (index) ── */
/* الـ pt-28 في HTML كافي على الديسكتوب، على الموبايل نزيد */
@media (max-width: 1023px) {
  /* index hero */
  section.min-h-screen {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
  }
  /* فواصل بين عناصر الهيرو */
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-sub {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-btns { margin-bottom: 1.5rem !important; }
  .hero-badge { margin-bottom: 0.75rem !important; }
  /* stats أصغر */
  .hero-stat { padding: 0.5rem 0.4rem !important; }
}

/* ── page-hero (about / services / contact) ── */
.page-hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

@media (max-width: 1023px) {
  .page-hero {
    padding-top: 6.5rem !important;
    padding-bottom: 3rem !important;
    min-height: auto !important;
    align-items: flex-start !important;
  }
  /* عمود واحد */
  .page-hero-inner .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  /* إخفاء الصورة */
  .page-hero-inner .hero-img-wrap {
    display: none !important;
  }
  /* توسيط النص */
  .page-hero-inner .text-right {
    text-align: center !important;
  }
  .page-hero-inner .hero-btns {
    justify-content: center !important;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-top: 5.5rem !important;
  }
  .hero-title { font-size: 1.75rem !important; }
  .hero-btns a { padding: 0.65rem 1.2rem !important; font-size: 0.875rem !important; }
}

/* ════════════════════════════════════════════
   SCROLL INDICATOR
   — absolute في أسفل الـ section دايماً
   — على الموبايل: relative بعد المحتوى
════════════════════════════════════════════ */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  /* موبايل: relative في آخر الـ flex */
  position: relative;
  margin-top: 2rem;
  z-index: 10;
}

/* ديسكتوب: absolute في أسفل الـ section */
@media (min-width: 1024px) {
  .scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }
}

/* ════════════════════════════════════════════
   PREVENT HORIZONTAL OVERFLOW
════════════════════════════════════════════ */
section { max-width: 100%; overflow-x: clip; }
.page-hero, section.relative { overflow: hidden; }
.hero-img-wrap, .reveal-right, .reveal-left { max-width: 100%; }

/* ════════════════════════════════════════════
   SCROLL REVEAL BASE — always visible fallback
   GSAP uses autoAlpha so visibility is managed
   by JS; these rules ensure no permanent hide
════════════════════════════════════════════ */
.reveal-card, .reveal-heading, .reveal-left, .reveal-right, .reveal-up, .reveal-line {
  will-change: transform, opacity;
  /* Safety: never permanently invisible */
  visibility: visible !important;
}

/* ════════════════════════════════════════════
   GLOW EFFECT ON CARDS
════════════════════════════════════════════ */
.glow-card {
  transition: box-shadow 0.4s;
}
.glow-card:hover {
  box-shadow: 0 0 30px rgba(15,118,110,0.2), 0 20px 40px rgba(0,0,0,0.1);
}

/* ════════════════════════════════════════════
   NUMBER HIGHLIGHT
════════════════════════════════════════════ */
.num-highlight {
  background: linear-gradient(135deg, #0f766e, #1e3a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}


.text-home{
  margin-block: 20px;
}