/* ============================================
   يلا توصيل - YALLATAWSEL
   Brand Theme Colors (from flyer & logo)
   ============================================ */
:root {
  --red: #E31E24;
  --red-dark: #C4191F;
  --orange: #F7941D;
  --yellow: #FFD200;
  --blue-light: #4AB9E2;
  --blue-dark: #1D2B4D;
  --navy: #0D1B2E;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --gradient-brand: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  --gradient-hero: linear-gradient(160deg, #FFF5F5 0%, #FFF9E6 40%, #E8F6FC 100%);
  --shadow-sm: 0 2px 8px rgba(13, 27, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 27, 46, 0.12);
  --shadow-lg: 0 16px 48px rgba(13, 27, 46, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

.text-red { color: var(--red); }

.phone-ltr {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-flex;
  align-items: center;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 600;
}

.top-bar i {
  color: var(--yellow);
}

.top-bar-social {
  display: flex;
  gap: 8px;
}

.top-bar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.top-bar-social a:first-child {
  background: #25D366;
}

.top-bar-social a:last-child {
  background: #1877F2;
}

.top-bar-social a:hover {
  transform: scale(1.15);
  color: var(--white);
}

/* ---- Navbar ---- */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 6px 0;
  box-shadow: var(--shadow-md);
}

.logo-img {
  height: 70px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .logo-img {
  height: 55px;
}

.nav-link {
  font-weight: 600;
  color: var(--navy) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 16px;
  left: 16px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.btn-order {
  background: var(--gradient-brand);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
  transition: var(--transition);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 30, 36, 0.45);
  color: var(--white);
}

.btn-outline-brand {
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 700;
  background: transparent;
  transition: var(--transition);
}

.btn-outline-brand:hover {
  background: var(--red);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

/* ---- Hero Section ---- */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.min-vh-hero {
  min-height: calc(100vh - 140px);
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--blue-light);
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  bottom: 100px;
  right: -80px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--red);
  top: 50%;
  right: 30%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--yellow);
  border-radius: 50px;
  padding: 6px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  color: var(--yellow);
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--navy);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 600;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: inline-block;
  padding: 40px;
}

.hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: var(--white);
  border-radius: 50%;
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 8px var(--blue-dark), 0 8px 32px rgba(13, 27, 46, 0.1);
  animation: pulse-circle 3s ease-in-out infinite;
}

@keyframes pulse-circle {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

.hero-logo {
  position: relative;
  z-index: 2;
  max-width: 340px;
  filter: drop-shadow(0 12px 32px rgba(13, 27, 46, 0.2));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float-icon 3s ease-in-out infinite;
}

.icon-1 {
  background: var(--red);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.icon-2 {
  background: var(--yellow);
  color: var(--navy);
  bottom: 20%;
  left: 0;
  animation-delay: 1s;
}

.icon-3 {
  background: var(--blue-light);
  top: 40%;
  left: -5%;
  animation-delay: 2s;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.hero-wave {
  position: relative;
  margin-top: -1px;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Section Shared ---- */
.section-badge {
  display: inline-block;
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Services ---- */
.services-section {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-brand);
  color: var(--white);
}

.service-icon.icon-yellow {
  background: rgba(255, 210, 0, 0.15);
  color: #D4A800;
}

.service-card:hover .service-icon.icon-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.service-icon.icon-blue {
  background: rgba(74, 185, 226, 0.15);
  color: var(--blue-light);
}

.service-card:hover .service-icon.icon-blue {
  background: var(--blue-light);
  color: var(--white);
}

.service-icon.icon-orange {
  background: rgba(247, 148, 29, 0.15);
  color: var(--orange);
}

.service-card:hover .service-icon.icon-orange {
  background: var(--orange);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.7;
}

.service-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(13, 27, 46, 0.05);
  line-height: 1;
}

/* ---- About ---- */
.about-section {
  background: var(--gray-100);
}

.about-visual {
  position: relative;
  text-align: center;
  padding: 40px;
}

.about-logo {
  position: relative;
  z-index: 2;
  max-width: 260px;
}

.about-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: var(--white);
  border-radius: 50%;
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 6px var(--blue-dark), var(--shadow-md);
}

.trust-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--yellow);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.trust-badge .stars {
  font-size: 0.55rem;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.trust-badge .check-icon {
  font-size: 1.8rem;
}

.trust-badge span {
  font-size: 0.7rem;
  font-weight: 700;
}

.about-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--navy);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ---- How It Works ---- */
.how-section {
  background: var(--white);
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.step-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.step-number {
  position: absolute;
  top: 16px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- Contact ---- */
.contact-section {
  background: var(--gray-100);
}

.contact-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(227, 30, 36, 0.3);
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 210, 0, 0.15);
  border-radius: 50%;
}

.contact-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  position: relative;
}

.contact-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  position: relative;
}

.phone-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--red);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.phone-number:hover {
  transform: scale(1.05);
  color: var(--red-dark);
  box-shadow: var(--shadow-lg);
}

.phone-number i {
  font-size: 1.4rem;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  transition: var(--transition);
}

.social-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.social-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.social-whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.social-facebook {
  background: #1877F2;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.35);
}

.social-facebook:hover {
  background: #0d65d9;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}

.social-btn i {
  font-size: 1.2rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 48px 0 32px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 14px 22px;
  border: 3px solid var(--yellow);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 0 4px rgba(255, 210, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-logo-wrap:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(255, 210, 0, 0.25);
}

.footer-logo {
  height: 75px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--yellow);
  font-size: 0.9rem;
}

.footer-text {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  transition: var(--transition);
}

.footer-phone:hover {
  background: var(--yellow);
  color: var(--navy);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .footer-social {
    justify-content: flex-end;
  }
}

.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  transition: var(--transition);
  border: 2px solid transparent;
}

.footer-social-link.whatsapp {
  background: #25D366;
}

.footer-social-link.facebook {
  background: #1877F2;
}

.footer-social-link:hover {
  transform: translateY(-3px);
  color: var(--white);
  border-color: var(--yellow);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 998;
  transition: var(--transition);
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #1ebe57;
  color: var(--white);
  transform: scale(1.1);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.8); }
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .logo-img {
    height: 55px;
  }

  .hero-visual {
    padding: 20px;
    margin-bottom: 20px;
  }

  .hero-circle {
    width: 260px;
    height: 260px;
  }

  .hero-logo {
    max-width: 260px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-badge {
    width: 80px;
    height: 80px;
    top: -10px;
    right: 10%;
  }

  .contact-banner {
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 0.75rem;
  }

  .top-bar-social {
    display: none;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 16px;
    right: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
