/* ======================================
   شركة الأمان الدائم - Landing Page CSS
   تصميم احترافي بألوان التركواز
   ====================================== */

/* ===== Variables ===== */
:root {
  /* الألوان الأساسية - مستوحاة من الشعار */
  --primary-teal: #419FA1;
  --primary-dark: #2A6E7A;
  --primary-light: #5CB8BA;
  --primary-gradient: linear-gradient(135deg, #419FA1 0%, #2A6E7A 100%);
  
  /* الألوان الثانوية */
  --accent-purple: #6C63FF;
  --accent-orange: #FF8C42;
  --accent-green: #00C853;
  --accent-blue: #2196F3;
  
  /* ألوان محايدة */
  --dark: #1A1A2E;
  --dark-light: #16213E;
  --gray-dark: #4A4A4A;
  --gray: #6C757D;
  --gray-light: #E8E8E8;
  --white: #FFFFFF;
  --off-white: #F8FAFA;
  
  /* الظلال */
  --shadow-sm: 0 2px 10px rgba(65, 159, 161, 0.1);
  --shadow-md: 0 10px 40px rgba(65, 159, 161, 0.15);
  --shadow-lg: 0 20px 60px rgba(65, 159, 161, 0.2);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
  
  /* التحولات */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* الخطوط */
  --font-primary: 'Tajawal', 'Cairo', -apple-system, sans-serif;
  --font-display: 'Cairo', 'Tajawal', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--gray-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

/* ===== Navbar ===== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-normal);
  background: transparent !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
  color: var(--dark) !important;
}

/* زر أسعار الصرف في الهيدر */
.nav-rates-btn {
  background: var(--primary-gradient) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  margin-right: 0.5rem;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(65, 159, 161, 0.3);
}

.nav-rates-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(65, 159, 161, 0.4);
  color: var(--white) !important;
}

.navbar.scrolled .nav-rates-btn {
  color: var(--white) !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 45px;
  transition: var(--transition-normal);
}

.navbar.scrolled .navbar-brand img {
  height: 40px;
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  color: var(--white) !important;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: var(--transition-normal);
}

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

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(65, 159, 161, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(42, 110, 122, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.15), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.1), transparent),
    radial-gradient(2px 2px at 50px 160px, rgba(255,255,255,0.12), transparent),
    radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,0.08), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.1), transparent);
  background-size: 200px 200px;
  animation: particleFloat 20s linear infinite;
  pointer-events: none;
}

@keyframes particleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(65, 159, 161, 0.15);
  border: 1px solid rgba(65, 159, 161, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: var(--primary-teal);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary-custom {
  background: var(--primary-gradient);
  border: none;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(65, 159, 161, 0.4);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(65, 159, 161, 0.5);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-normal);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-teal);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-image {
  max-width: 350px;
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(65, 159, 161, 0.3));
  transition: var(--transition-slow);
  /* إضافة خلفية بيضاء شبه شفافة لتحسين تباين النص الأسود في الشعار */
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 30px;
  border-radius: 20px;
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(65, 159, 161, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Float Animation */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.scroll-indicator a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-normal);
}

.scroll-indicator a:hover {
  color: var(--primary-teal);
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  margin: 0 auto 0.5rem;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-teal);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ===== Section Styles ===== */
.section-header {
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(65, 159, 161, 0.1);
  color: var(--primary-teal);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-title.light {
  color: var(--white);
}

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

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Rates Ticker Section ===== */
.rates-ticker-section {
  background: linear-gradient(135deg, #0F0F1A 0%, #1A1A2E 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrapper {
  display: flex;
  align-items: stretch;
}

.ticker-label {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  z-index: 2;
  position: relative;
}

.ticker-label::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to left, transparent, rgba(65, 159, 161, 0.8));
  z-index: 1;
}

.ticker-label i {
  font-size: 1.25rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.ticker-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ticker-link:hover {
  text-decoration: none;
  color: inherit;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: ticker-scroll 10s linear infinite;
  white-space: nowrap;
  padding-left: 2rem;
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* الحركة من اليمين إلى اليسار (RTL) */
@keyframes ticker-scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.ticker-loading {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0 2rem;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.ticker-item:hover {
  background: rgba(65, 159, 161, 0.15);
  border-color: rgba(65, 159, 161, 0.3);
}

.ticker-currency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-currency-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.ticker-currency-icon.usd {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  color: var(--white);
}

.ticker-currency-icon.eur {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
  color: var(--white);
}

.ticker-type {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.ticker-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

.ticker-prices {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-price {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ticker-price-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.ticker-price-value {
  font-size: 0.95rem;
  font-weight: 700;
  direction: ltr;
}

.ticker-price-value.buy {
  color: #4CAF50;
}

.ticker-price-value.sell {
  color: #FF5252;
}

.ticker-no-rates {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 0 2rem;
}

/* تأثير hover على الشريط للإشارة أنه قابل للنقر */
.ticker-link:hover .ticker-wrapper {
  background: rgba(255, 255, 255, 0.02);
}

.ticker-link:hover .ticker-label {
  box-shadow: 0 0 20px rgba(65, 159, 161, 0.5);
}

/* Responsive Ticker */
@media (max-width: 768px) {
  .ticker-wrapper {
    flex-direction: column;
  }
  
  .ticker-label {
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  
  .ticker-label::after {
    display: none;
  }
  
  .ticker-content {
    padding: 0.75rem 0;
  }
  
  .ticker-item {
    padding: 0.4rem 0.75rem;
  }
  
  .ticker-currency-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  
  .ticker-type {
    font-size: 0.8rem;
  }
  
  .ticker-price-value {
    font-size: 0.85rem;
  }
}

/* ===== Services Section ===== */
.services-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.service-icon .icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 20px;
  font-size: 2rem;
  color: var(--white);
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.service-icon .icon-bg {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 20px;
  top: 8px;
  left: 8px;
  opacity: 0.2;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon .icon-wrapper {
  transform: rotate(-5deg);
}

.service-card:hover .service-icon .icon-bg {
  transform: rotate(5deg);
}

/* Service Icon Colors */
.service-icon.purple .icon-wrapper,
.service-icon.purple .icon-bg { background: linear-gradient(135deg, #6C63FF 0%, #5A52D5 100%); }

.service-icon.orange .icon-wrapper,
.service-icon.orange .icon-bg { background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%); }

.service-icon.green .icon-wrapper,
.service-icon.green .icon-bg { background: linear-gradient(135deg, #00C853 0%, #00A843 100%); }

.service-icon.blue .icon-wrapper,
.service-icon.blue .icon-bg { background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%); }

.service-icon.teal .icon-wrapper,
.service-icon.teal .icon-bg { background: linear-gradient(135deg, #26C6DA 0%, #00ACC1 100%); }

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--primary-dark);
  background: rgba(65, 159, 161, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
}

.service-features span i {
  font-size: 0.7rem;
  color: var(--primary-teal);
}

/* ===== Why Us Section ===== */
.why-us-section {
  padding: 6rem 0;
  background: var(--white);
}

.why-us-content .section-badge {
  margin-bottom: 1rem;
}

.why-us-content .section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-us-content .section-description {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 16px;
  font-size: 1.25rem;
  color: var(--white);
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.feature-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* تصميم جديد محسّن للكروت */
.why-us-visual {
  position: relative;
  min-height: 400px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1rem;
}

.visual-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: var(--transition-normal);
}

.visual-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* كرت الخبرة - يأخذ مساحتين في Grid */
.visual-card.main-card {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.main-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.main-card .card-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.main-card .big-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.main-card .card-label {
  font-size: 1.15rem;
  opacity: 0.95;
  font-weight: 600;
}

/* البطاقات الصغيرة - توزيع منظم في Grid */
.floating-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  border: 2px solid var(--gray-light);
  transition: var(--transition-normal);
  position: relative;
  animation: none;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.floating-card:hover::before {
  transform: scaleX(1);
}

.floating-card i {
  font-size: 2rem;
  color: var(--primary-teal);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(65, 159, 161, 0.1);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.floating-card:hover i {
  background: var(--primary-gradient);
  color: var(--white);
  transform: scale(1.1);
}

.floating-card span {
  font-size: 0.95rem;
  line-height: 1.4;
}

.floating-card.card-1 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.floating-card.card-2 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* إخفاء الكرت الثالث على الشاشات الكبيرة لتحسين التخطيط */
.floating-card.card-3 {
  display: none;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(65, 159, 161, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(65, 159, 161, 0.3);
}

.contact-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--white);
  margin: 0 auto 1.5rem;
  transition: var(--transition-normal);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-icon.location {
  background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
}

.contact-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-teal);
  direction: ltr;
  margin-bottom: 1.5rem;
}

.contact-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn-location {
  background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-location:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(234, 67, 53, 0.4);
  color: var(--white);
}

/* ===== Map Section ===== */
.map-section {
  position: relative;
}

.map-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(20%);
  transition: var(--transition-normal);
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

.map-overlay-info {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

.map-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 280px;
}

.map-logo {
  height: 40px;
  margin-bottom: 0.75rem;
  background: white;
  padding: 5px;
  border-radius: 8px;
}

.map-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.map-info-card p {
  color: var(--gray);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.map-info-card p i {
  color: var(--primary-teal);
  margin-left: 0.35rem;
}

.map-contact-buttons {
  display: flex;
  gap: 0.5rem;
}

.map-contact-buttons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--white);
  transition: var(--transition-normal);
}

.btn-call {
  background: var(--primary-gradient);
}

.btn-whatsapp-sm {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.btn-directions {
  background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
}

.map-contact-buttons a:hover {
  transform: scale(1.1);
}

/* تحسين الخريطة للجوال */
@media (max-width: 576px) {
  .map-overlay-info {
    position: relative;
    bottom: auto;
    right: auto;
    margin: -50px auto 0;
    width: calc(100% - 2rem);
    padding: 0 1rem;
  }
  
  .map-info-card {
    max-width: none;
    width: 100%;
    text-align: center;
  }
  
  .map-contact-buttons {
    justify-content: center;
  }
  
  .map-container iframe {
    height: 280px;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 4rem 0;
  background: var(--primary-gradient);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-text h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--white);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== Floating WhatsApp Button ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
  position: relative;
}

.floating-whatsapp a:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid #25D366;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ===== Footer ===== */
footer {
  background: #0F0F1A;
  color: var(--white);
  padding: 4rem 0 0;
}

footer .footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
}

footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

footer ul li {
  margin-bottom: 0.75rem;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer ul li a:hover {
  color: var(--primary-teal);
  transform: translateX(-5px);
}

footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

footer .social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

footer .social-links a:hover {
  background: var(--primary-teal);
  transform: translateY(-3px);
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

footer .footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* ===== Animations ===== */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-slide-up-delay {
  animation: slideUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease 0.4s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat-divider {
    display: none;
  }
  
  .why-us-visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
    margin-top: 2rem;
    gap: 1rem;
  }
  
  .visual-card.main-card {
    grid-column: 1;
    grid-row: auto;
    min-height: 160px;
  }
  
  .main-card .big-number {
    font-size: 3.5rem;
  }
  
  .floating-card.card-1,
  .floating-card.card-2 {
    grid-column: 1;
    grid-row: auto;
  }
  
  .floating-card.card-3 {
    display: flex;
    grid-column: 1;
    grid-row: auto;
  }
  
  .cta-content {
    text-align: center;
    justify-content: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .map-overlay-info {
    position: relative;
    bottom: auto;
    right: auto;
    padding: 1.5rem;
    background: var(--off-white);
  }
  
  .map-info-card {
    max-width: 100%;
    box-shadow: none;
  }
  
  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
  }
  
  .floating-whatsapp a {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    padding: 1rem;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .why-us-visual {
    grid-template-columns: 1fr;
    padding: 0.5rem;
    gap: 0.75rem;
  }
  
  .visual-card.main-card {
    min-height: 140px;
  }
  
  .main-card .big-number {
    font-size: 3rem;
  }
  
  .main-card .card-label {
    font-size: 0.95rem;
  }
  
  .floating-card {
    padding: 1.25rem 1rem;
  }
  
  .floating-card i {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .floating-card span {
    font-size: 0.85rem;
  }
  
  .cta-text h2 {
    font-size: 1.5rem;
  }
  
  footer {
    padding: 3rem 0 0;
  }
}
