/* ===== مدارس القلم - CSS Variables المشترك ===== */
/* متغيرات مشتركة لكلا النسختين العربية والإنجليزية */

:root {
  /* ألوان رئيسية - موحدة */
  --primary-color: #dea952;
  --primary-dark: #bd912b;
  --primary-light: #d4af37;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-muted: #95a5a6;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  
  /* التدرجات اللونية */
  --primary-gradient: linear-gradient(135deg, #d6ac40 0%, #d4af37 100%);
  --hero-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%);
  
  /* المسافات - نظام موحد */
  --spacing-xxs: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  --spacing-xxxl: 6rem;

  /* الخطوط */
  --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 4rem;

  /* الظلال */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* الانتقالات */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  /* Z-index نظام موحد */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
  --z-tooltip: 1070;

  /* أداء */
  --gpu-acceleration: translateZ(0);
  --transition-gpu: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* تحسين تحميل الخطوط */
@font-face {
  font-family: "Cairo";
  font-display: swap;
  src: local("Cairo");
}

/* Reset أساسي مشترك */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Base styles مشتركة - direction يجب تحديده في الملفات المخصصة */
body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Lightbox Fixes ===== */
.lightbox {
  pointer-events: none;
}

.lightbox.active {
  pointer-events: auto;
}

.lightbox:not(.active) {
  pointer-events: none !important;
  z-index: -1 !important;
}

.lightbox-overlay {
  pointer-events: auto;
}

/* التأكد من عمل أزرار العرض */
.view-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.filter-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}
/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --primary-color: #dea952;
  --primary-dark: #bd912b;
  --primary-gradient: linear-gradient(135deg, #d6ac40 0%, #d4af37 100%);
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --hero-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.8) 100%);
  
  /* Spacing */
  --spacing-xxs: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 15px rgba(184, 134, 11, 0.5);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-indices */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
  --z-overlay: 600;
}

/* ===== Font Declarations ===== */
@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/cairo-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Base Styles ===== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: var(--font-family); 
  direction: rtl; 
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* تلوين النصوص المميزة باللون الذهبي */
strong {
  color: #e48f05;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===== Enhanced Modern Header ===== */
.header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
  border-bottom: none;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* نصوص الهيدر في الوضع الشفاف (أعلى الصفحة) - ألوان بيضاء */
.header .logo {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  transition: all var(--transition-normal);
}

.header .tagline {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-normal);
}

.header .nav-link {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-normal);
}

.header .nav-link:hover {
  color: #f7fafc;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

/* نصوص الهيدر في الوضع الصلب (عند التمرير) - ألوان داكنة */
.header.scrolled .logo {
  color: var(--primary-color);
  text-shadow: none;
}

.header.scrolled .tagline {
  color: var(--text-secondary);
  text-shadow: none;
}

.header.scrolled .nav-link {
  color: var(--text-primary);
  text-shadow: none;
}

.header.scrolled .nav-link:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.navbar {
  padding: 2px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: all var(--transition-normal);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-image:hover {
  transform: scale(1.05) rotate(2deg);
}

.logo-text .logo {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
}

.logo-text .tagline {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* الرابط النشط في الوضع الشفاف - أصفر */
.nav-link.active {
  color: #ffd700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.nav-link:hover {
  color: #f7fafc;
}

/* الرابط النشط في الوضع الصلب - ذهبي */
.header.scrolled .nav-link.active {
  color: var(--primary-color);
  text-shadow: none;
}

/* Navigation CTA Button */
.nav-link.cta-button {
  background: var(--primary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(184, 134, 11, 0.3);
  border: 1px solid var(--primary-color);
}

.nav-link.cta-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(184, 134, 11, 0.4);
}

/* Language Toggle Button */
.language-toggle {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white !important;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px !important;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.language-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.6s;
}

.language-toggle:hover::before {
  left: 100%;
}

.language-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
  background: linear-gradient(135deg, #ec7063 0%, #e74c3c 100%);
  border-color: rgba(255,255,255,0.2);
}

.language-toggle:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.language-toggle::after {
  display: none !important;
}

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1060;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
}

.header.scrolled .mobile-menu-btn:hover {
  background-color: rgba(184, 134, 11, 0.1);
}

/* تحسين إضافي للشعار */
.logo-image {
  transition: all var(--transition-normal);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.header.scrolled .logo-image {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  margin: 2px 0;
  transition: all var(--transition-normal);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* زر الهامبرغر في الوضع المتمرر */
.header.scrolled .hamburger-line {
  background-color: var(--primary-color);
  box-shadow: none;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1060;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  pointer-events: auto !important;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(191, 133, 38, 0.1);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-logo-image {
  width: 85px;
  height: auto;
  object-fit: contain;
}

.mobile-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 18px;
}

.mobile-menu-close:hover {
  background-color: rgba(191, 133, 38, 0.1);
  transform: rotate(90deg);
}

.mobile-nav {
  flex: 1;
  padding: 20px 0;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list li {
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
  position: relative;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1055;
}

.mobile-nav-link:hover {
  background-color: rgba(191, 133, 38, 0.05);
  color: var(--primary-color);
  border-right-color: var(--primary-color);
}

.mobile-nav-link.active {
  background-color: rgba(191, 133, 38, 0.1);
  color: var(--primary-color);
  border-right-color: var(--primary-color);
  font-weight: 600;
}

.mobile-nav-link.special {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  margin: 10px 20px;
  border-radius: 12px;
  border-right: none;
  box-shadow: 0 4px 12px rgba(191, 133, 38, 0.3);
}

.mobile-nav-link.special:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 133, 38, 0.4);
}

.mobile-nav-link i {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.mobile-nav-link span {
  flex: 1;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid rgba(191, 133, 38, 0.1);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mobile-contact {
  display: flex;
  gap: 12px;
}

.mobile-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: rgba(191, 133, 38, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.mobile-contact-btn.whatsapp {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.mobile-contact-btn.whatsapp:hover {
  background-color: #25d366;
  color: white;
}

/* Language toggle in mobile menu */
.language-toggle-mobile {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white !important;
  border-radius: var(--radius-full);
  margin: 15px auto 0;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 140px;
  padding: 12px 20px !important;
  font-size: 0.85rem;
}

.language-toggle-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.8s;
}

.language-toggle-mobile:hover::before {
  left: 100%;
}

.language-toggle-mobile i {
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  font-size: 1rem;
  margin: 0;
}

.language-toggle-mobile span {
  font-size: 0.85rem;
  font-weight: 700;
}

.language-toggle-mobile:hover {
  background: linear-gradient(135deg, #ec7063 0%, #e74c3c 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
  border-color: rgba(255,255,255,0.2);
}

/* ===== Enhanced Hero Section with Slider ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Ken Burns Effect */
.ken-burns {
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(1.1) translateX(-20px);
  }
}

/* Enhanced Branches Info */
.branches-info-enhanced {
  position: absolute;
  bottom: 140px;
  left: 90px;
  z-index: 3;
}

.branches-card-enhanced {
  /* background: rgba(255, 255, 255, 0.25); */
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  border: 0px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 24px;
  max-width: 380px;
  min-width: 350px;
  /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); */
}

.branches-header-enhanced {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.branches-icon-enhanced {
  background: var(--primary-gradient);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.branches-icon-enhanced i {
  color: white;
  font-size: 20px;
}

.branches-title-enhanced h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.branches-title-enhanced p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.branches-list-enhanced {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.branch-item-enhanced {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.branch-item-enhanced:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.branch-marker-enhanced {
  background: var(--primary-color);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
}

.branch-marker-enhanced i {
  color: white;
  font-size: 14px;
}

.branch-info-enhanced h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.branch-link-enhanced {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.branch-link-enhanced:hover {
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(184, 134, 11, 0.6);
}

.branch-link-enhanced i {
  font-size: 11px;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.slider-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dash {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dash.active {
  background: var(--primary-color);
  width: 40px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.dash:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ===== Responsive Design ===== */
/* Tablet and smaller desktop */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .branches-info-enhanced {
    bottom: 100px;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hide desktop navigation */
  .desktop-nav {
    display: none;
  }
  
  .hero {
    padding-top: 60px;
  }
  
  .slider-controls {
    bottom: 20px;
  }
  
  .dash {
    width: 20px;
    height: 3px;
  }
  
  .dash.active {
    width: 30px;
  }
  
  /* Mobile Enhanced Branches Info */
  .branches-info-enhanced {
    bottom: 80px;
    left: 20px;
    right: 20px;
  }
  
  .branches-card-enhanced {
    max-width: none;
    min-width: auto;
    padding: 18px;
  }
  
  .branches-header-enhanced {
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .branches-icon-enhanced {
    padding: 8px;
  }
  
  .branches-icon-enhanced i {
    font-size: 16px;
  }
  
  .branches-title-enhanced h3 {
    font-size: 16px;
  }
  
  .branches-title-enhanced p {
    font-size: 12px;
  }
  
  .branches-list-enhanced {
    gap: 10px;
  }
  
  .branch-item-enhanced {
    padding: 10px;
    gap: 10px;
  }
  
  .branch-marker-enhanced {
    min-width: 28px;
    height: 28px;
    padding: 6px;
  }
  
  .branch-marker-enhanced i {
    font-size: 12px;
  }
  
  .branch-info-enhanced h4 {
    font-size: 14px;
  }
  
  .branch-link-enhanced {
    font-size: 12px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .branches-info-enhanced {
    bottom: 70px;
    left: 15px;
    right: 65px; /* تم زيادة المسافة من اليمين لتجنب التداخل مع أزرار الاتصال */
  }
  
  .branches-card-enhanced {
    padding: 15px;
    max-width: calc(100% - 50px); /* تقليل العرض لتجنب التداخل مع الأزرار */
  }
}

/* ===== Enhanced Selection Styles ===== */
::selection {
  background: var(--primary-color);
  color: white;
}

::-moz-selection {
  background: var(--primary-color);
  color: white;
}

/* ===== Enhanced Focus States ===== */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
} 

/* ===== Continuous Image Strip ===== */
.carousel-section {
  padding: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-caption {
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: var(--font-size-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 0 auto;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
}

.carousel-track {
  display: flex;
  gap: var(--spacing-lg);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  animation: infiniteScroll 50s linear infinite;
  will-change: transform;
  transition: animation-play-state 0.3s ease;
}

/* أسهم التنقل */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0.9;
}

.carousel-arrow:hover {
  background: white;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

.arrow-left {
  order: 1;
}

.arrow-right {
  order: 2;
}

/* تحسينات للشاشات المتوسطة والصغيرة */
@media (max-width: 1200px) {
  .carousel-slide {
    --slides-to-show: 3;
  }
}

@media (max-width: 992px) {
  .carousel-slide {
    --slides-to-show: 2;
  }
  
  .carousel-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .carousel-section {
    padding: 0;
  }
  
  .carousel-container {
    height: 350px;
    margin: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  
  .carousel-slide {
    --slides-to-show: 1;
    --slide-spacing: 0;
    flex: 0 0 100vw;
    min-width: 100vw;
    height: 350px;
    border-radius: 0;
    margin: 0;
  }
  
  .carousel-track {
    gap: 0;
    padding: 0;
    animation: scrollMobile 50s linear infinite;
  }
  
  @keyframes scrollMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100vw);
    }
  }
  
  .carousel-controls {
    margin-top: 1.25rem;
    gap: 1.5rem;
  }
  
  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    background: white;
    opacity: 0.95;
  }
  
  .carousel-image {
    border-radius: 0;
    width: 100vw;
  }
  
  .carousel-overlay {
    padding: 1.75rem 1.25rem;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }
  
  .carousel-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .carousel-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 300px;
  }
  
  .carousel-slide {
    height: 300px;
  }
  
  .carousel-controls {
    margin-top: 1rem;
    gap: 1.25rem;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    opacity: 0.9;
  }
  
  .carousel-overlay {
    padding: 1.5rem 1.25rem;
  }
  
  .carousel-overlay h3 {
    font-size: 1.15rem;
  }
  
  .carousel-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
  }
}

.carousel-track {
  display: flex;
  gap: 1rem;
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  animation: scroll 60s linear infinite;
  will-change: transform;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-slide {
  --slides-to-show: 4;
  --slide-spacing: var(--spacing-lg);
  flex: 0 0 calc((100vw - (var(--slides-to-show) + 1) * var(--slide-spacing)) / var(--slides-to-show));
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transform-origin: center;
  margin: 0 calc(var(--slide-spacing) / 2);
}

.carousel-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transform-origin: center;
  background: #fff;
  z-index: 5;
}

.carousel-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.2)
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 6px 6px rgba(0, 0, 0, 0.1);
}

.carousel-image:hover::before {
  opacity: 1;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-image:hover img {
  transform: scale(1.1);
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    transparent 100%
  );
  padding: 3rem 1.5rem 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 2;
}

.carousel-image:hover .carousel-overlay {
  opacity: 1;
  transform: translateY(0);
}

.carousel-overlay h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(10px);
  transition: transform 0.3s ease 0.1s;
}

.carousel-image:hover .carousel-overlay h3 {
  transform: translateY(0);
}

.carousel-overlay p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.2s;
}

.carousel-image:hover .carousel-overlay p {
  opacity: 0.9;
  transform: translateY(0);
}

/* ===== Full-Width Carousel Section ===== */
.carousel-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-secondary);
  overflow: hidden;
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.carousel-section .container {
  max-width: none;
  padding: 0;
}

.carousel-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.carousel-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  z-index: 2;
  margin: 0;
  box-shadow: none;
}

/* Remove visual indication gradients for full-width */
.carousel-container::before,
.carousel-container::after {
  display: none;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  animation: infiniteScroll 50s linear infinite;
  width: fit-content;
  will-change: transform;
  transition: animation-play-state 0.3s ease;
}

/* إيقاف التمرير عند hover */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* استئناف التمرير عند مغادرة hover */
.carousel-container:not(:hover) .carousel-track {
  animation-play-state: running;
  transform-origin: 0 50%;
  padding: 0 var(--spacing-lg);
  backface-visibility: hidden;
  perspective: 1000px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* إزالة الإيقاف عند hover لضمان الحركة المستمرة */
/* .carousel-track:hover {
  animation-play-state: paused;
} */

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 22 - var(--spacing-lg) * 22));
  }
}

.carousel-slide {
  flex-shrink: 0;
  width: 320px;
  height: 380px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-normal);
  backface-visibility: hidden;
}

.carousel-slide:hover {
  transform: scale(1.05);
  z-index: 10;
}

.carousel-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.8);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.carousel-slide:hover .carousel-image img {
  transform: scale(1.1);
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.carousel-image:hover .carousel-overlay {
  transform: translateY(0);
}

.carousel-overlay h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

/* ===== Lightbox Styles ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  animation: lightboxFadeIn 0.3s ease-in-out;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  color: white;
  margin-top: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.lightbox-caption h3 {
  font-size: 1.5rem;
  margin: 0;
}

/* ===== Responsive Carousel ===== */
@media (max-width: 1024px) {
  .carousel-slide {
    width: 280px;
    height: 340px;
  }
  
  @keyframes infiniteScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 22 - var(--spacing-lg) * 22));
    }
  }
}

@media (max-width: 768px) {
  .carousel-header .section-title {
    font-size: 2rem;
  }
  
  .carousel-subtitle {
    font-size: 1rem;
  }
  
  .carousel-slide {
    width: 240px;
    height: 300px;
  }
  
  .carousel-track {
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
  }
  
  @keyframes infiniteScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-240px * 22 - var(--spacing-md) * 22));
    }
  }
  
  .lightbox-close {
    top: -30px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    width: 200px;
    height: 250px;
  }
  
  @keyframes infiniteScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 6 - var(--spacing-md) * 6));
    }
  }
  
  .carousel-overlay h3 {
    font-size: 1rem;
  }
  
  .carousel-overlay p {
    font-size: 0.8rem;
  }
} 

/* ===== قسم الفيديو المحسن ===== */
.video-section {
  padding: var(--spacing-xxl) 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.video-content-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-content-single .section-title {
  margin-bottom: var(--spacing-xxs);
}

.video-content-single .video-description {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--text-secondary);
  line-height: 1.8;
}

.video-container-full {
  width: 100%;
  position: relative;
  margin-top: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
  /* transition: all 0.3s ease; */
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.video-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 50%, rgba(236, 72, 153, 0.2) 100%);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.video-overlay:hover::before {
  opacity: 0.9;
}

.video-overlay-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: brightness(0.85) contrast(1.1); */
  transition: all 0.5s ease;
}

.video-overlay:hover .video-overlay-image {
  filter: brightness(0.9) contrast(1.15);
}

.play-button {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.play-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.video-overlay:hover .play-button {
  transform: scale(1.1);
  background: white;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.video-container-full iframe {
  width: 100%;
  border: none;
  display: block;
}

/* Responsive Video Section */
@media (max-width: 768px) {
  .video-section {
    padding: var(--spacing-xl) 0;
  }
  
  .video-content-single .video-description {
    margin-bottom: var(--spacing-md);
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .video-container-full iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: var(--spacing-lg) 0 20px 0;
  }
  
  .video-content-single .section-title {
    font-size: 1rem;
  }
  
  .video-content-single .video-description {
    font-size: 0.9rem;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .video-container-full iframe {
    height: 300px;
  }
} 

/* ===== Enhanced Modern Register Section ===== */
.register {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-primary);
}

.register-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* عمود التواصل أولاً بعرض أقل، ثم نموذج التسجيل بعرض أكبر */
  gap: var(--spacing-xxl);
  align-items: start;
}

.register-description {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(248, 249, 250, 0.8);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  border: 1px solid rgba(184, 134, 11, 0.1);
}

.contact-method:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.contact-method:hover .contact-icon {
  background: white;
  color: var(--primary-color);
  transform: scale(1.1);
}

.contact-details h4 {
  margin-bottom: var(--spacing-xs);
  transition: color var(--transition-normal);
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.phone-numbers a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-normal);
}

.contact-method:hover .phone-numbers a,
.contact-method:hover .whatsapp-link {
  color: white;
}

.whatsapp-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-normal);
}

.register-form {
  background: rgba(255, 255, 255, 0.9);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.register-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.register-form h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
  font-size: var(--font-size-2xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid rgba(184, 134, 11, 0.2);
  border-radius: var(--radius-lg);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.8);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
  background: white;
}

/* أنماط الحقول المعطلة */
.form-group select:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
  cursor: not-allowed;
  opacity: 0.7;
}

.form-group select:disabled:hover {
  border-color: #dee2e6;
  box-shadow: none;
}

.form-group small {
  display: block;
  margin-top: var(--spacing-xs);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* Enhanced Searchable Select */
.neighborhood-container {
  position: relative;
}

.searchable-select {
  position: relative;
}

.searchable-select input[type="text"] {
  padding-left: 40px;
}

.dropdown-arrow {
  position: absolute;
  left: var(--spacing-sm);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  border: 2px solid rgba(184, 134, 11, 0.2);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  max-height: 200px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
  display: none;
  box-shadow: var(--shadow-lg);
}

.dropdown-list.show {
  display: block;
}

.dropdown-item {
  padding: var(--spacing-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item.highlighted {
  background: rgba(184, 134, 11, 0.1);
}

.submit-btn {
  width: 100%;
  padding: var(--spacing-md);
  font-size: var(--font-size-lg);
  margin-top: var(--spacing-lg);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-align: center;
  line-height: 1.5;
  font-size: var(--font-size-base);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Neighborhood Bonus Message */
.neighborhood-bonus-message {
  position: relative; /* تغيير من absolute إلى relative */
  margin-top: 10px;
  margin-bottom: 20px; /* إضافة هامش سفلي */
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  display: none; /* إخفاء افتراضي */
}

.neighborhood-bonus-message.show {
  transform: translateY(0);
  opacity: 1;
}

.bonus-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  justify-content: center;
  flex-wrap: wrap;
}

.bonus-text {
  font-weight: 600;
  color: var(--text-primary);
}

.bonus-icon {
  font-size: 1.5rem;
  animation: bounce 1s infinite alternate;
}

.bonus-percentage {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.bonus-reason {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-5px);
  }
}

/* Form Messages */
.form-messages {
  margin-top: var(--spacing-md);
}

.form-message {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  animation: slideIn 0.3s ease;
}

.form-message.success {
  background-color: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.form-message.error {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.form-message i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Register Section */
@media (max-width: 1024px) {
  .register-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .register {
    padding: var(--spacing-xl) 0;
  }
  
  .contact-method {
    padding: var(--spacing-md);
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
  }
  
  .bonus-content {
    flex-direction: column;
    text-align: center;
  }
  
  .bonus-text {
    font-size: 0.9rem;
  }
  
  .bonus-percentage {
    font-size: 1.1rem;
  }
  
  .form-message {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
  }
} 

/* ===== قسم الخصومات ===== */
.discounts {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-secondary);
}

.early-registration-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.early-registration-content {
  flex: 1;
}

.early-registration-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.2;
}

.early-registration-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-numbers {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  direction: ltr;
  text-align: left;
}

.early-registration-btn {
  background: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.early-registration-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.early-registration-image {
  flex: 0 0 200px;
  text-align: center;
}

.early-registration-image img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(255, 152, 0, 0.3));
  transition: all var(--transition-normal);
}

.early-registration-image img:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 15px 30px rgba(255, 152, 0, 0.4));
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .early-registration-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 30px;
  }
  
  .early-registration-title {
    font-size: 2rem;
  }
  
  .early-registration-description {
    font-size: 1rem;
  }
  
  .contact-numbers {
    text-align: center;
    direction: rtl;
  }
  
  .early-registration-image {
    flex: none;
    order: -1;
  }
  
  .early-registration-image img {
    max-height: 120px;
  }
}

@media (max-width: 480px) {
  .discounts {
    padding: 60px 0;
  }
  
  .early-registration-card {
    padding: 20px;
    border-radius: 16px;
  }
  
  .early-registration-title {
    font-size: 1.6rem;
  }
  
  .early-registration-description {
    font-size: 0.9rem;
  }
  
  .contact-numbers {
    font-size: 0.9rem;
  }
  
  .early-registration-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
} 

/* ===== قسم المميزات مع خلفية الصورة ===== */
/* تم نقل تعريف خلفية قسم المميزات إلى ملف features-parallax-fix.css لمنع التعارض */

.features-section .container {
  position: relative;
  z-index: 2;
}

.features-section .section-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: var(--font-size-5xl); /* زيادة حجم الخط */
  text-align: center; /* توسيط العنوان */
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.features-subtitle {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== أنماط بطاقات المميزات ===== */
.features-header-card {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), #d4a853);
  border-radius: 15px;
  color: white;
  box-shadow: 0 10px 30px rgba(191, 133, 38, 0.2);
}

.features-header-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(54, 55, 54, 0.2); /* تم تغيير الخلفية لتكون شفافة جداً */
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(191, 133, 38, 0.4);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #d4a853);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(191, 133, 38, 0.2);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), #d4a853);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(191, 133, 38, 0.3);
}

.feature-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.feature-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .features-header-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .features-header-card h3 {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
  }
  
  .feature-icon i {
    font-size: 1.8rem;
  }
  
  .feature-content h4 {
    font-size: 1.2rem;
  }
  
  .features-section .section-title {
    font-size: var(--font-size-4xl); /* تقليل حجم الخط للشاشات المتوسطة */
  }
  
  .features-subtitle {
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.2rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .feature-icon i {
    font-size: 1.5rem;
  }
  
  .feature-content h4 {
    font-size: 1.1rem;
  }
  
  .feature-content p {
    font-size: 0.9rem;
  }
  
  .features-section .section-title {
    font-size: var(--font-size-3xl); /* تقليل حجم الخط للشاشات الصغيرة */
    padding: 0 var(--spacing-sm);
  }
} 

/* ===== أنماط متجاوبة لقسم التسجيل ===== */
@media (max-width: 992px) {
  .register-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  /* تغيير ترتيب العناصر ليظهر نموذج التسجيل أولاً */
  .register-content {
    display: grid;
    grid-template-areas: 
      "form"
      "info";
  }
  
  .register-info {
    grid-area: info;
  }
  
  .register-form-container {
    grid-area: form;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== أزرار الاتصال العائمة ===== */
.floating-call-buttons {
  position: fixed;
  left: 15px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  direction: ltr;
  gap: 12px;
  z-index: 999;
  will-change: transform;
  pointer-events: none;
}

.floating-call-buttons .call-button,
.floating-call-buttons .call-button * {
  pointer-events: auto;
}

.call-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.call-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.3;
  transform: scale(0);
  transition: transform 0.6s ease;
}

.call-button:hover::before {
  transform: scale(1.4);
  opacity: 0;
}

.call-button a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.call-button a::after {
  content: attr(data-text);
  display: block;
  font-size: 11px;
  margin-top: 2px;
  font-weight: 600;
}

.whatsapp-button {
  background: #25d366; /* لون الواتس أب الرسمي */
}

.call-button:not(.whatsapp-button) {
  background: var(--primary-color);
}

.call-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.call-button:active {
  transform: scale(0.98);
}

.phone-number {
  position: absolute;
  left: 75px;
  background: rgba(0, 0, 0, 0.9);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  color: white;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.call-button:hover .phone-number {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.call-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  transition: transform 0.5s ease-out;
  z-index: 1;
}

.call-button:active::after {
  transform: scale(1.5);
  opacity: 0;
  transition: 0s;
}

/* تحسين الأزرار للجوال */
@media (max-width: 768px) {
  .floating-call-buttons {
    left: 10px;
    right: auto;
    gap: 8px;
    max-width: 60px;
  }
  
  .call-button {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }
  
  .call-button a {
    font-size: 18px;
  }
  
  .call-button a::after {
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .floating-call-buttons {
    left: 5px;
    right: auto;
  }
  
  .call-button {
    width: 45px;
    height: 45px;
  }
  
  .call-button a {
    font-size: 16px;
  }
  
  .call-button a::after {
    display: none;
  }
} 
/* ===== قسم شريط الصور المستمر ===== */
.carousel-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.carousel-section .section-header {
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.carousel-section .section-title {
  font-size: var(--font-size-3xl);
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.carousel-section .section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
  .carousel-section {
    padding: 3rem 0;
  }
  
  .carousel-section .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .carousel-section .section-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-section {
    padding: 2.5rem 0;
  }
  
  .carousel-section .section-title {
    font-size: var(--font-size-xl);
  }
}
/* ===== Discount Section Styles ===== */
.discounts {
    padding: var(--spacing-xxl) 0;
    background: #f7f7f7a6;
}

.early-registration-card {
    display: flex;
    background: #f9efde;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: white;
    position: relative;
}

.early-registration-content {
    padding: var(--spacing-xl) var(--spacing-xxl);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.early-registration-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.early-registration-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.contact-numbers {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    text-align: center;
    direction: ltr;
}

.phone-link {
    color: #383838;
    text-decoration: none;
    transition: all var(--transition-normal);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    background-color: white;
    display: inline-block;
    margin: var(--spacing-xs) 0;
}

.phone-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.early-registration-btn {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: all var(--transition-normal);
    align-self: flex-start;
    box-shadow: var(--shadow-md);
}

.early-registration-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #fff;
    color: #383838;
}

.early-registration-image {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.early-registration-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Responsive Styles */
@media (max-width: 768px) {
    .discounts {
        padding-top: 20px;
    }
    
    .early-registration-card {
        flex-direction: column;
        position: relative;
    }
    
    .early-registration-content {
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .early-registration-title {
        font-size: var(--font-size-xl);
        margin-top: 30px;
        margin-bottom: var(--spacing-xs);
    }
    
    .early-registration-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-numbers {
        font-size: var(--font-size-base);
        justify-content: center;
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }
    
    .phone-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        margin: 0;
    }
    
    .early-registration-btn {
        align-self: center;
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-base);
    }
    
    .early-registration-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .early-registration-title {
        font-size: var(--font-size-lg);
        margin-top: 25px;
    }
    
    .early-registration-description {
        font-size: var(--font-size-sm);
    }
    
    .contact-numbers {
        font-size: var(--font-size-sm);
        flex-direction: row;
        align-items: center;
    }
    
    .early-registration-image {
        width: 60px;
        height: 60px;
    }
    
    .phone-link {
        width: 100%;
        text-align: center;
    }
}
/* ===== تعديلات الهيدر ===== */

/* تعديل حجم الشعار */
.logo-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.header.scrolled .logo-image {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* نصوص الهيدر في الوضع الشفاف (أعلى الصفحة) - ألوان بيضاء */
.header .logo {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    transition: all var(--transition-normal);
}

.header .tagline {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    transition: all var(--transition-normal);
}

/* نصوص الهيدر في الوضع الصلب (عند التمرير) - ألوان داكنة */
.header.scrolled .logo {
    color: var(--primary-color);
    text-shadow: none;
}

.header.scrolled .tagline {
    color: var(--text-secondary);
    text-shadow: none;
}

/* تعديل الروابط النشطة في القائمة - إزالة الحدود مع الإبقاء على الخط السفلي */
.nav-link.active,
.nav-link:focus,
.nav-link:active {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* تأكيد على إظهار الخط السفلي للرابط النشط */
.nav-link.active::after {
    width: 80%;
    opacity: 1;
}
/* ===== Hero Content Styles ===== */
.hero-content {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

/* أنماط المناهج والمراحل */
.curriculum-badges {
    display: flex;
    justify-content: center;
    gap: 4.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

/* أنماط عنوان كافة المراحل */
.all-stages {
  margin-top: 0.5rem;
  text-align: center;
}

.all-stages-text {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) { 
  .all-stages-text {
    font-size: 12px;
  }
}

.curriculum-badge {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.curriculum-badge.local {
    background-color: #e59106;
    color: white;
}

.curriculum-badge.international {
    background-color: #1e88e5;
    color: white;
}

.curriculum-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        top: 30%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .curriculum-badges {
        gap: 1rem;
    }
    
    .curriculum-badge {
        padding: 0.5rem 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        top: 25%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .curriculum-badges {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .curriculum-badge {
        width: 80%;
    }
}
/* أنماط زر حجز المقاعد */
.register-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #d4a853);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(191, 133, 38, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.register-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4a853, var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.register-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(191, 133, 38, 0.4);
}

.register-button:hover::before {
    opacity: 1;
}

.register-button i {
    margin-left: 10px;
    font-size: 1.1em;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .register-button-container {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .register-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* تم حذف تأثيرات النبض بناءً على طلب المستخدم */
/* ===== أنماط زر العودة إلى أعلى ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* تأثير النبضة عند النقر على الزر */
.back-to-top.pulse {
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* تحريك الزر للداخل قليلاً في الشاشات الصغيرة */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
.footer {
  background: #e48f05;
  color: #ffffff;
  padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-logo-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-logo-text h3 {
  color: #ffffff;
  margin: 0;
}

.footer-logo-text p {
  color: #ffffff;
  margin: 0;
  opacity: 0.8;
}

.footer .social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all var(--transition-normal);
  /* تم إزالة backdrop-filter بناءً على طلب العميل */
  /* تم إزالة webkit-backdrop-filter بناءً على طلب العميل */
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-2px) scale(1.1);
}

.branches-list {
  list-style: none;
}

.branches-list li {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.branches-list a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.branches-list a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer .contact-info a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: color var(--transition-fast);
}

.footer .contact-info a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* تصميم متجاوب للفوتر */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-section h4 {
    text-align: center;
  }
  
  .branches-list li {
    justify-content: center;
  }
  
  .footer .contact-info {
    align-items: center;
  }
}
/* تعديل padding جميع الأقسام ليكون 80px على الأقل */

/* القاعدة العامة لجميع الأقسام */
section {
    padding: 80px 0;
}

/* أقسام محددة */
.hero-section {
    padding: 80px 0;
}

.carousel-section {
    padding: 80px 0;
}

.video-section {
    padding: 80px 0;
}

.features-section {
    padding: 80px 0;
}

.discount-section {
    padding: 80px 0;
}

.register-section {
    padding: 80px 0;
}

.footer {
    padding: 80px 0 40px 0;
}

/* تعديلات للشاشات الصغيرة */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .carousel-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .hero-section,
    .video-section,
    .features-section,
    .about-section,
    .discount-section,
    .register-section {
        padding: 20px 0;
    }
    
    .footer {
        padding: 60px 0 30px 0;
    }
}
/* تحسين قراءة النصوص على الأجهزة المحمولة من خلال ضبط ارتفاع السطور */

/* تعريف عام لجميع النصوص */
body {
    line-height: 1.6;
}

/* العناوين الرئيسية */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

/* الفقرات النصية */
p {
    line-height: 1.8;
}

/* نصوص الأزرار */
button, .btn, a.btn, .register-button, .early-registration-btn {
    line-height: 1.5;
}

/* نصوص البطاقات */
.feature-card p, .card-text, .card-body p {
    line-height: 1.7;
}

/* نصوص الفوتر */
.footer p, .footer a, .footer div {
    line-height: 1.7;
}

/* تعديلات إضافية للأجهزة المحمولة */
@media (max-width: 768px) {
    body {
        line-height: 1.7;
    }
    
    p {
        line-height: 1.9;
    }
    
    .hero-title, .section-title {
        line-height: 1.5;
    }
    
    .feature-content p {
        line-height: 1.8;
    }
}
/* تنسيقات إضافية لزيادة المباعدة بين الهيدر والعنوان في قسم الهيرو على الجوال */

@media (max-width: 768px) {
    .hero-content {
        padding-top: 75vh; /* زيادة المباعدة العلوية للمحتوى */
    }
    
    .hero-title {
        margin-top: 30px; /* إضافة هامش علوي للعنوان */
    }
}
/* أنماط نموذج التسجيل المستجيبة */
.register-form-container {
    width: 100%;
    padding: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    background-color: #fff;
}

.register-form {
    width: 100%;
}

.register-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* استجابة للأجهزة المحمولة */
@media (max-width: 992px) {
    .register-form-container {
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .register-form-container {
        padding: 0px;
    }
}

@media (max-width: 576px) {
    .register-form-container {
        padding: 0px;
    }
    
    .register-form h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}
