/* ==========================================================================
   AVENUE BUSINESS SERVICES - MODERN LANDING PAGE
   Colors: Executive Deep Blue (#0e3b64), Vibrant Accent Orange (#e04e1a, #f15a24),
           WhatsApp Green (#25D366), Crisp Surface Whites (#FFFFFF, #F8FAFC)
   ========================================================================== */

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

:root {
  --primary: #0e3b64;
  --primary-dark: #08243f;
  --primary-light: #185a96;
  --primary-soft: #eaf3fb;
  
  --accent: #e04e1a;
  --accent-hover: #c43d0e;
  --accent-light: #ff6b35;
  --accent-soft: #fff1eb;
  
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-teal: #075e54;
  
  --dark: #0f172a;
  --dark-muted: #334155;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --gray-soft: #f8fafc;
  --white: #ffffff;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 59, 100, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 59, 100, 0.12);
  --shadow-xl: 0 24px 60px rgba(14, 59, 100, 0.16);
  --shadow-accent: 0 10px 30px rgba(224, 78, 26, 0.28);
  --shadow-whatsapp: 0 10px 30px rgba(37, 211, 102, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
  background-color: #f8fbfd;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------------------------------------------------
   Typography & Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--accent) 0%, #ff834f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(224, 78, 26, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(224, 78, 26, 0.08);
}

.section-badge.blue {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(14, 59, 100, 0.15);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  color: var(--gray);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f15a24 100%);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(224, 78, 26, 0.38);
  color: var(--white);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Ripple/Shimmer button effect */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.75s ease;
}

.btn:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* --------------------------------------------------------------------------
   Header & Navbar (Scroll-Driven / Adaptive)
   -------------------------------------------------------------------------- */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 59, 100, 0.08);
}

.header-wrapper.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(14, 59, 100, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--primary);
  line-height: 1.1;
  font-family: 'Cairo', sans-serif;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  padding: 8px 14px;
  background: var(--primary-soft);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.header-phone-badge:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.mobile-toggle-btn {
  display: none;
  background: none;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 20%, rgba(224, 78, 26, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 59, 100, 0.08) 0%, transparent 50%),
    #ffffff;
}

/* Decorative subtle World Map background */
.hero-map-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1100px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 59, 100, 0.12);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-pulse-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 22px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--dark-muted);
  margin-bottom: 34px;
  line-height: 1.8;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: 'Cairo', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-number span {
  color: var(--accent);
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   Hero Visual / 3D Card Showcase
   -------------------------------------------------------------------------- */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-aura {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(224, 78, 26, 0.18) 0%, rgba(14, 59, 100, 0.12) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 0;
  border-radius: 50%;
  animation: floatSlow 8s ease-in-out infinite alternate;
}

.hero-main-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 25px 60px -15px rgba(14, 59, 100, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.hero-main-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

/* Simulated Executive Business Card Inside Hero */
.card-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed rgba(14, 59, 100, 0.1);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.card-logo-mini {
  width: 58px;
  height: 58px;
}

.card-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.executive-info-row {
  margin-bottom: 20px;
}

.executive-title-main {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.executive-role-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 3px 10px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

.hero-services-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--gray-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 59, 100, 0.06);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: all var(--transition-fast);
}

.chip-item:hover {
  background: var(--primary-soft);
  transform: translateX(-4px);
  border-color: rgba(14, 59, 100, 0.2);
}

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}

.footer-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
}

/* Floating Satellite Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: 0 14px 35px rgba(14, 59, 100, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.floating-badge.badge-top-left {
  top: -24px;
  left: -20px;
  animation: floatSlow 5s ease-in-out infinite alternate;
}

.floating-badge.badge-bottom-right {
  bottom: -20px;
  right: -25px;
  animation: floatSlow 6s ease-in-out 1s infinite alternate;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.badge-icon-box.orange {
  background: linear-gradient(135deg, var(--accent) 0%, #ff7843 100%);
  box-shadow: 0 6px 16px rgba(224, 78, 26, 0.3);
}

.badge-icon-box.blue {
  background: linear-gradient(135deg, var(--primary) 0%, #1e6ab3 100%);
  box-shadow: 0 6px 16px rgba(14, 59, 100, 0.3);
}

.badge-text-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Core Pillars / Services Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  border: 1px solid rgba(14, 59, 100, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(224, 78, 26, 0.2);
}

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

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: all var(--transition-bounce);
}

.service-card:hover .service-icon-wrapper {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1) rotate(-6deg);
  box-shadow: var(--shadow-accent);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--dark-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-muted);
}

.feature-check {
  color: var(--accent);
  font-size: 1rem;
}

.service-card-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Interactive Consultation & Cost Estimator Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fbfd 0%, #edf4fa 100%);
  position: relative;
}

.calculator-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(14, 59, 100, 0.08);
  max-width: 980px;
  margin-inline: auto;
}

.calc-steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.calc-tab-btn {
  flex: 1;
  min-width: 170px;
  padding: 14px 18px;
  background: var(--gray-soft);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 800;
  color: var(--dark-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.calc-tab-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.calc-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.calc-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.calc-tab-pane.active {
  display: block;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.calc-option-card {
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: right;
  background: var(--white);
}

.calc-option-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.calc-option-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-sm);
}

.calc-option-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.calc-option-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

.calc-summary-panel {
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.calc-summary-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-title {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.15rem;
}

.summary-note {
  font-size: 0.9rem;
  color: var(--dark-muted);
}

/* --------------------------------------------------------------------------
   Executive Leadership / About Section
   -------------------------------------------------------------------------- */
.executive-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.executive-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.executive-card-box {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  position: relative;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.card-decor-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(224, 78, 26, 0.25);
  filter: blur(25px);
}

.executive-avatar-frame {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--white);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.executive-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.leader-name {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}

.leader-role {
  display: inline-block;
  color: #ff8e5e;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.leader-quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d7e4f2;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.leader-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.leader-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.leader-contact-item a:hover {
  color: #ff8e5e;
}

.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--gray-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  transition: all var(--transition-fast);
}

.why-item:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 78, 26, 0.25);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.why-item:hover .why-icon {
  background: var(--accent);
  color: var(--white);
}

.why-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.why-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Branches & Locations Section
   -------------------------------------------------------------------------- */
.branches-section {
  padding: 90px 0;
  background: #f8fbfd;
  position: relative;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 59, 100, 0.08);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 59, 100, 0.2);
}

.branch-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.branch-pin-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.branch-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.branch-zone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.branch-address-box {
  background: var(--gray-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  border-right: 4px solid var(--primary);
}

.branch-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 90px 0;
  background: var(--white);
}

.faq-accordion {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-soft);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  cursor: pointer;
  text-align: right;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--white);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
  color: var(--dark-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

.faq-item.active .faq-answer-content {
  padding-bottom: 22px;
}

/* --------------------------------------------------------------------------
   Contact Form & Business Card Scan Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fbfd 0%, #ebf3f9 100%);
  position: relative;
}

.contact-card-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(14, 59, 100, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.contact-sidebar {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-sidebar-header h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-sidebar-header p {
  color: #cfdeec;
  font-size: 0.95rem;
  line-height: 1.7;
}

.direct-channels-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0;
}

.direct-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ff8e5e;
}

.channel-info-title {
  font-size: 0.8rem;
  color: #a3bfd9;
}

.channel-info-val {
  font-size: 1.1rem;
  font-weight: 800;
  direction: ltr;
  text-align: right;
}

.qr-box-inner {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
}

.qr-image-frame {
  width: 80px;
  height: 80px;
  background: var(--white);
  padding: 6px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.qr-image-frame img {
  width: 100%;
  height: 100%;
}

.contact-form-area {
  padding: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  background: var(--gray-soft);
  font-size: 0.95rem;
  color: var(--dark);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(224, 78, 26, 0.12);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Widget ("الواتساب الطائر")
   -------------------------------------------------------------------------- */
.floating-whatsapp-container {
  position: fixed;
  bottom: 28px;
  left: 28px; /* On RTL sites, placing on bottom-left gives natural thumb reach and avoids conflict */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Bouncing Tooltip */
.whatsapp-floating-tooltip {
  background: var(--white);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  animation: bounceTooltip 3s ease-in-out infinite;
  border: 1px solid rgba(14, 59, 100, 0.08);
  cursor: pointer;
  white-space: nowrap;
}

.whatsapp-floating-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: var(--white);
  transform: rotate(45deg);
  border-right: 1px solid rgba(14, 59, 100, 0.08);
  border-bottom: 1px solid rgba(14, 59, 100, 0.08);
}

@keyframes bounceTooltip {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* The Main Floating Circular Button */
.whatsapp-main-fab {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.whatsapp-main-fab:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.6);
}

/* Pulsing Ripple Rings */
.whatsapp-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: ringPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-fab-icon {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.whatsapp-online-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-online-dot::after {
  content: '';
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
}

/* The Expandable Interactive WhatsApp Chat Drawer */
.whatsapp-chat-popup {
  position: fixed;
  bottom: 106px;
  left: 28px;
  width: 360px;
  max-width: calc(100vw - 36px);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 10000;
  animation: popupOpen 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(14, 59, 100, 0.1);
}

.whatsapp-chat-popup.active {
  display: flex;
}

@keyframes popupOpen {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-popup-header {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popup-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
}

.popup-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-agent-text h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.popup-agent-text span {
  font-size: 0.78rem;
  color: #c7f9cc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.popup-close-btn {
  background: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

.popup-close-btn:hover {
  color: var(--white);
}

.whatsapp-popup-body {
  background: #efeae2;
  background-image: radial-gradient(#d1d7db 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 380px;
  overflow-y: auto;
}

.chat-bubble {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px 0 12px 12px;
  font-size: 0.9rem;
  color: var(--dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  line-height: 1.6;
}

.chat-bubble-time {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  text-align: left;
  margin-top: 4px;
}

.chat-presets-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray);
  margin-top: 6px;
}

.chat-preset-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-preset-chip {
  background: var(--white);
  border: 1px solid #dcdcdc;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-preset-chip:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateX(-4px);
}

.whatsapp-popup-footer {
  padding: 12px 16px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-custom-input {
  flex: 1;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  border: 1px solid #dcdcdc;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #075e54;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  background: #128c7e;
}

/* --------------------------------------------------------------------------
   Card Modal (View original card)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 45, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalZoom {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-main {
  background: #091e34;
  color: #cbd5e1;
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 32px;
  height: 2.5px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.footer-bottom-bar {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Scroll Animations & Progressive Enhancements
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* CSS Scroll-driven animations where supported */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .scroll-reveal {
      animation: revealEffect auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }

    @keyframes revealEffect {
      from {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
  }
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-description {
    margin-inline: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .executive-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--gray-light);
    display: none;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .mobile-toggle-btn {
    display: block;
  }
  
  .header-phone-badge {
    display: none;
  }
  
  .why-features-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .floating-badge {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
