/* ---------------------------------- */
/* General Styles                     */
/* ---------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6; /* مسافة بين الأسطر لتحسين القراءة */
    overflow-x: hidden; /* هذا هو السطر الذي سيحل المشكلة */

}




.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------- */
/* Colors                             */
/* ---------------------------------- */
:root {
  --primary-color: #2154f2;
  --secondary-color: #a157e7;
  --dark-blue: #271273;
  --white: #fff;
  --mobile-header-bg: #271273;
  --mobile-menu-bg: #000000;
}

/* ---------------------------------- */
/* Header Styles                      */
/* ---------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  transition: background-color 0.4s ease-in-out;
  background-color: transparent;
  color: var(--white);
}

.header.scrolled {
  background-color: var(--dark-blue);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::before {
  width: 100%;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--dark-blue);
  min-width: 150px;
  list-style: none;
  padding: 10px 0;
  margin-top: 5px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-register {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 9px;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  margin-right: 20px;
}

.btn-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease-in-out;
  z-index: 1;
}

.btn-register:hover::before {
  transform: scaleX(1);
}

.btn-register:hover {
  color: var(--primary-color);
}

/* ---------------------------------- */
/* Hero Section                       */
/* ---------------------------------- */
/* Wave Divider - CSS Version */
/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 200px 0 0; /* زيادة المسافة من الأعلى */
  color: var(--white);
  overflow: hidden;
  padding-bottom: 0;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto; /* ارتفاع تلقائي للحفاظ على النسبة */
}



/* Hero Content */
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center; /* هذه الخاصية هي المسؤولة عن محاذاة العناصر عمودياً */
  gap: 40px;
  position: relative;
  z-index: 2;
  /* يمكن تعديل الـ padding-bottom هنا حسب الحاجة */
  padding-bottom: 150px;
  /* تأكد من أن الـ padding-top موجود على الـ hero-section نفسه وليس هنا */
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text .store-name {
  color: var(--white);
  font-weight: bold;
}

.hero-text .subtitle {
  font-size: 22px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.8;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--white);
}

/* التعديلات في style.css */
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* لتكون في الخلفية */
}
/* إزالة كل الأكواد الخاصة بـ .shape و @keyframes moveShapes */





/* ---------------------------------- */
/* Mobile Styles                      */
/* ---------------------------------- */
@media (max-width: 768px) {
  .header {
    background-color: var(--mobile-header-bg);
  }

  .header.scrolled {
    background-color: var(--mobile-header-bg);
  }

  .nav-menu ul,
  .btn-register {
      margin: 10px 0;
      text-align: center;
      display: block;
      width: 100%;
    }

  .nav-menu {
    position: relative;
    display: block;
  }

  

  .nav-menu ul.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--mobile-menu-bg);
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-menu ul.mobile-active li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu ul.mobile-active .nav-link,
  .nav-menu ul.mobile-active .dropdown-menu a {
    color: var(--white);
    padding: 15px 20px;
    text-align: right;
  }

  .has-dropdown .dropdown-menu {
    background-color: transparent;
    position: relative;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    border-radius: 0;
  }

  .dropdown-menu a {
    padding-right: 40px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-bottom: 50px;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text .subtitle {
    font-size: 18px;
  }

  .hero-image {
    display: none;
    order: 1;
  }

  .hero-section {
    padding-top: 100px;
  }

  .background-shapes .shape {
    display: none;
  }
}



/* ---------------------------------- */
/* About Us Section                   */
/* ---------------------------------- */
.about-us-section {
  background-color: #f4f7f6; /* تم تعديل اللون ليتوافق مع الموجة */
  padding: 100px 0;
}

.about-us-content {
  display: flex;
  flex-direction: row; /* تم التعديل ليكون المحتوى على اليسار والصورة على اليمين */
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-us-image {
  flex: 1;
  text-align: center;
   background-color: #f4f7f6; 
}

.about-us-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   background-color: #f4f7f6; 
}

.about-us-text {
  flex: 1;
  max-width: 600px;
}

.about-us-text h2 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.about-us-text h3 {
  color: #333;
  font-size: 36px;
  margin: 10px 0 20px;
}

.about-us-text p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* زر "Learn More" */
.btn-learn-more {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

/* العنصر الذي سيمثل النص */
.btn-learn-more span {
  position: relative;
  z-index: 2; /* تأكد من أن هذا العنصر له z-index أعلى من العنصر الزائف */
}

/* العنصر الزائف الذي يمثل تأثير السحب */
.btn-learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease-in-out;
  z-index: 1; /* تأكد أن هذا العنصر له z-index أقل من z-index الخاص بالنص */
}

/* عند التمرير */
.btn-learn-more:hover::before {
  transform: scaleX(1);
}

.btn-learn-more:hover {
  color: var(--white);
}

.btn-learn-more span {
  position: relative;
  z-index: 2;
}

.btn-learn-more:hover::before {
  transform: scaleX(1);
}

.btn-learn-more:hover {
  color: var(--white);
}

/* Animations */
.animated-image {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* Mobile styles */
@media (max-width: 768px) {
  .about-us-content {
    flex-direction: column;
    text-align: center;
  }
}


/* ---------------------------------- */
/* Features Section                   */
/* ---------------------------------- */
.features-section {
  background-color: var(--white);
  padding: 100px 0;
}

.features-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.features-text {
  flex: 1;
  max-width: 600px;
}

.features-text h2 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.features-text h3 {
  color: #333;
  font-size: 36px;
  margin: 10px 0 20px;
}

.features-text p {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.features-cards {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-content: flex-start;
  padding-top: 50px;
}

.feature-card {
  width: 48%;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ألوان الخلفيات للكروت */
.feature-card.card-color-1 { background-color: #f1eff8; }
.feature-card.card-color-2 { background-color: #f9f0e8; }
.feature-card.card-color-3 { background-color: #f5fffd; }
.feature-card.card-color-4 { background-color: #ebf0ff; }

.feature-card.offset {
  margin-top: 40px;
}

/* تأثير التمرير الجديد - الزوايا */
.feature-card::before,
.feature-card::after,
.feature-card .top-right-corner,
.feature-card .bottom-left-corner {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-color: var(--secondary-color);
  border-style: solid;
  opacity: 0;
  transition: all 0.5s ease-in-out; /* إضافة انتقال لجميع الخصائص */
  z-index: 1;
}

.feature-card::before {
  top: 0;
  left: 0;
  border-width: 0 0 0 0;
}

.feature-card::after {
  bottom: 0;
  right: 0;
  border-width: 0 0 0 0;
}

.feature-card .top-right-corner {
  top: 0;
  right: 0;
  border-width: 0 0 0 0;
}

.feature-card .bottom-left-corner {
  bottom: 0;
  left: 0;
  border-width: 0 0 0 0;
}

/* عند التمرير: الزوايا تمتد */
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  width: 50px;
  height: 50px;
  opacity: 1;
  border-width: 2px 0 0 2px;
}

.feature-card:hover::after {
  width: 50px;
  height: 50px;
  opacity: 1;
  border-width: 0 2px 2px 0;
}

.feature-card:hover .top-right-corner {
  width: 50px;
  height: 50px;
  opacity: 1;
  border-width: 2px 2px 0 0;
}

.feature-card:hover .bottom-left-corner {
  width: 50px;
  height: 50px;
  opacity: 1;
  border-width: 0 0 2px 2px;
}

.icon-placeholder {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.feature-card p {
  color: #666;
  font-size: 14px;
}

/* Mobile styles */
@media (max-width: 768px) {
  .features-content {
    flex-direction: column;
  }

  .features-text {
    order: 2;
  }

  .features-cards {
    padding-top: 0;
    order: 1;
  }

  .feature-card {
    width: 100%;
  }

  .feature-card.offset {
    margin-top: 20px;
  }
}


/* ---------------------------------- */
/* Counter Section - New Style        */
/* ---------------------------------- */
.counter-section {
  background-image: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  padding: 80px 0;
}

.counter-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.counter-item {
  text-align: center;
  flex: 1 1 200px;
  /* نزيل الخلفية والظل للحصول على مظهر بسيط */
  background-color: transparent;
  box-shadow: none;
  /* نضيف transition لمزيد من الأناقة */
  transition: transform 0.3s ease;
}

.counter-item:hover {
  transform: translateY(-8px);
}

.counter-icon {
  font-size: 40px;
  color: var(--white); /* الأيقونات باللون الأبيض */
  margin-bottom: 10px;
}

.counter-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--white); /* الأرقام باللون الأبيض */
  margin-bottom: 5px;
}

.counter-text {
  font-size: 16px;
  color: var(--white); /* النص باللون الأبيض */
}

/* Mobile Styles */
@media (max-width: 768px) {
  .counter-grid {
    flex-direction: column;
  }
}



/* ---------------------------------- */
/* Horizontal Scroll Products Section - Improved */
/* ---------------------------------- */
.horizontal-scroll-section {
  padding: 100px 0;
  background-color: #f4f7f6;
  position: relative;
  overflow: hidden;
}

.horizontal-scroll-section .section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #333;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
}

.horizontal-scroll-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.scroll-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 70px;
}

.products-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 40px 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-padding: 0 20px;
}

.products-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.products-scroll-wrapper.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  scroll-behavior: auto;
}

.product-scroll-item {
  flex: 0 0 auto;
  width: 320px;
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.product-scroll-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.shop-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-scroll-item:hover .shop-img img {
  transform: scale(1.05);
}

.shop-content {
  padding: 20px;
  position: relative;
}

.product-title h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.product-title:hover h3 {
  color: var(--primary-color);
}

.product-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
  transition: height 0.3s ease;
}

.single-shop-cat {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-color);
  background-color: rgba(33, 84, 242, 0.1);
  padding: 4px 10px;
  border-radius: 15px;
  margin-right: 5px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.single-shop-cat:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.product-price {
  display: block;
  margin-top: 15px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.purchase-bar-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(161, 87, 231, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  flex-direction: column;
  padding: 20px;
}

.product-scroll-item:hover .purchase-bar-wrap {
  opacity: 1;
}

.product-description {
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  max-height: 80px;
  overflow: hidden;
}

.purchase-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.purchase-bar ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.purchase-bar ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.purchase-bar ul li a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.sceo-default-btn {
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  width: 80%;
  text-align: center;
}

.sceo-default-btn:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
}

.scroll-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  font-size: 18px;
  color: #333;
}

.scroll-nav-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.scroll-nav-btn.prev {
  left: 0;
}

.scroll-nav-btn.next {
  right: 0;
}

.scroll-progress {
  width: 80%;
  height: 6px;
  background-color:var(--secondary-color);
  border-radius: 10px;
  margin: 30px auto 0;
  overflow: hidden;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 10px;
}

/* Mobile Styles */
@media (max-width: 992px) {
  .scroll-container {
    padding: 0 50px;
  }
  
  .product-scroll-item {
    width: 280px;
  }
  
  .scroll-nav-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .horizontal-scroll-section {
    padding: 80px 0;
  }
  
  .scroll-container {
    padding: 0 40px;
  }
  
  .products-scroll-wrapper {
    gap: 20px;
    padding: 30px 15px;
  }
  
  .product-scroll-item {
    width: 250px;
  }
  
  .shop-img {
    height: 180px;
  }
  
  .product-description {
    font-size: 13px;
    max-height: 70px;
  }
  
  .scroll-nav-btn {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .scroll-container {
    padding: 0 30px;
  }
  
  .product-scroll-item {
    width: 220px;
  }
  
  .shop-content {
    padding: 15px;
  }
  
  .product-title h3 {
    font-size: 16px;
  }
  
  .product-excerpt {
    font-size: 13px;
    height: 39px;
  }
  
  .price {
    font-size: 18px;
  }
  
  .product-description {
    font-size: 12px;
    max-height: 60px;
  }
  
  .sceo-default-btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}







/* ---------------------------------- */
/* Testimonials Section - Optimized   */
/* ---------------------------------- */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f6 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-section .section-title span {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.testimonials-section .section-title h2 {
  color: #333;
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.testimonials-section .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.testimonials-section .section-title p {
  color: #666;
  max-width: 600px;
  margin: 15px auto 0;
  line-height: 1.6;
  font-size: 15px;
}

.testimonials-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 5px;
  gap: 20px;
  scroll-snap-type: x mandatory;
  cursor: grab;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  min-width: calc(33.333% - 14px);
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.testimonial-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid rgba(33, 84, 242, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-item:hover .testimonial-img img {
  transform: scale(1.05);
}

.testimonial-item h3 {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-item .designation {
  display: block;
  text-align: center;
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 500;
}

.testimonial-item .comment {
  color: #555;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 15px;
  font-style: italic;
  position: relative;
  padding: 0 8px;
  font-size: 14px;
}

.testimonial-item .comment::before,
.testimonial-item .comment::after {
  content: '"';
  font-size: 30px;
  color: rgba(33, 84, 242, 0.1);
  position: absolute;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-item .comment::before {
  top: -10px;
  left: 0;
}

.testimonial-item .comment::after {
  bottom: -20px;
  right: 0;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.testimonial-rating i {
  color: #FFD700;
  margin: 0 2px;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transform: scale(1.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.testimonial-dot:hover {
  transform: scale(1.2);
}

/* تأثيرات الخلفية */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(161, 87, 231, 0.1) 0%, rgba(33, 84, 242, 0.05) 100%);
  z-index: 0;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(33, 84, 242, 0.05) 0%, rgba(161, 87, 231, 0.1) 100%);
  z-index: 0;
}

/* مؤشر السحب */
.drag-indicator {
  text-align: center;
  margin-top: 15px;
  color: #777;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.drag-indicator i {
  animation: bounce 2s infinite;
  color: var(--primary-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(-3px);
  }
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 1100px) {
  .testimonial-item {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }
  
  .testimonials-section .section-title h2 {
    font-size: 28px;
  }
  
  .testimonials-section .section-title span {
    font-size: 15px;
  }
  
  .testimonial-item {
    min-width: calc(100% - 10px);
    padding: 20px;
  }
  
  .testimonial-img {
    width: 60px;
    height: 60px;
  }
  
  .testimonial-item h3 {
    font-size: 17px;
  }
  
  .testimonial-item .comment {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .testimonials-section .section-title h2 {
    font-size: 24px;
  }
  
  .testimonials-section .section-title span {
    font-size: 14px;
  }
  
  .testimonial-item {
    padding: 18px 15px;
  }
  
  .testimonial-img {
    width: 55px;
    height: 55px;
  }
  
  .testimonial-item h3 {
    font-size: 16px;
  }
  
  .testimonial-item .comment {
    font-size: 12px;
    line-height: 1.5;
  }
  
  .drag-indicator {
    font-size: 12px;
  }
}



/* ---------------------------------- */
/* Blog Section - Mobile Fix          */
/* ---------------------------------- */
.blog-section {
  padding: 50px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.blog-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
}

.blog-section .section-title {
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.blog-section .section-title span {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.blog-section .section-title h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
  padding: 0 10px;
}

.blog-section .section-title p {
  color: #666;
  line-height: 1.5;
  font-size: 14px;
  padding: 0 10px;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.post-image {
  position: relative;
  overflow: hidden;
  height: 180px;
  width: 100%;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
}

.blog-meta {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.blog-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.blog-meta li {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary-color);
  font-size: 12px;
}

.blog-content h3 {
  margin-bottom: 10px;
}

.blog-content h3 a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  display: block;
}

.blog-content p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 12px;
  font-size: 13px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.read-more i {
  margin-right: 5px;
}

.btn-area {
  text-align: center;
  width: 100%;
}

.sceo-default-btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* تحسينات للشاشات المتوسطة */
@media (min-width: 576px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .blog-section .section-title h2 {
    font-size: 28px;
  }
}

/* تحسينات للشاشات الكبيرة */
@media (min-width: 992px) {
  .blog-section {
    padding: 70px 0;
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .blog-section .section-title h2 {
    font-size: 32px;
  }
  
  .blog-section .section-title span {
    font-size: 16px;
  }
  
  .post-image {
    height: 200px;
  }
  
  .blog-content h3 a {
    font-size: 18px;
  }
  
  .blog-content p {
    font-size: 14px;
  }
  
  .sceo-default-btn {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* إصلاحات خاصة للجوال */
@media (max-width: 575px) {
  .blog-section .container {
    padding: 0 10px;
  }
  
  .blog-section .section-title {
    margin-bottom: 20px;
  }
  
  .blog-section .section-title h2 {
    font-size: 22px;
    padding: 0 5px;
  }
  
  .blog-section .section-title p {
    font-size: 13px;
    padding: 0 5px;
  }
  
  .blog-card {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .post-image {
    height: 160px;
  }
  
  .blog-content {
    padding: 12px;
  }
  
  .blog-meta ul {
    gap: 8px;
  }
  
  .blog-meta li {
    font-size: 11px;
  }
}

/* منع أي عنصر من تجاوز عرض الشاشة */
* {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* إصلاحات للعرض على الشاشات الصغيرة جدا */
@media (max-width: 360px) {
  .blog-section {
    padding: 40px 0;
  }
  
  .blog-section .section-title h2 {
    font-size: 20px;
  }
  
  .post-image {
    height: 140px;
  }
  
  .blog-content h3 a {
    font-size: 15px;
  }
  
  .blog-content p {
    font-size: 12px;
  }
  
  .read-more {
    font-size: 12px;
  }
}



/* ---------------------------------- */
/* Newsletter Section                 */
/* ---------------------------------- */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.newsletter-container {
  position: relative;
  z-index: 2;
}

.newsletter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-content {
  flex: 1;
}

.newsletter-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.newsletter-form {
  flex: 1;
  position: relative;
}

.newsletter-form .mc4wp-form-fields {
  display: flex;
  gap: 15px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input[type="submit"] {
  padding: 15px 30px;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input[type="submit"]:hover {
  background: var(--dark-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* تأثيرات الخلفية */
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 992px) {
  .newsletter-wrap {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .newsletter-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 60px 0;
  }
  
  .newsletter-form .mc4wp-form-fields {
    flex-direction: column;
  }
  
  .newsletter-form input[type="email"],
  .newsletter-form input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .newsletter-content h2 {
    font-size: 24px;
  }
  
  .newsletter-form input[type="email"],
  .newsletter-form input[type="submit"] {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* أنماط إضافية للنموذج */
.mc4wp-response {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

.mc4wp-form-fields label {
  display: none !important;
}




/* ---------------------------------- */
/* Footer Styles                      */
/* ---------------------------------- */
.footer-area {
  background: #271273;
  color: #ecf0f1;
  padding: 70px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.1)"/></svg>');
  background-size: cover;
}

.footer-container {
  position: relative;
  z-index: 2;
  
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-widget p {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.social-icon ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.social-icon li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #ecf0f1;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon li a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.widget-title {
  color: #ecf0f1;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-menu li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-information ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-information li {
  display: flex;
  margin-bottom: 15px;
  color: #bdc3c7;
}

.contact-icon {
  margin-right: 12px;
  color: var(--primary-color);
  min-width: 20px;
}

.contact-info span {
  display: block;
  font-weight: 600;
  color: #ecf0f1;
  margin-bottom: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #bdc3c7;
  margin: 0;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 992px) {
  .footer-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .footer-area {
    padding: 50px 0 20px;
  }
  
  .footer-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-widget {
    text-align: center;
  }
  
  .widget-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-icon ul {
    justify-content: center;
  }
}

/* تأثيرات إضافية */
.footer-area {
  background-attachment: fixed;
}

.footer-menu li a::before {
  content: '→';
  margin-right: 8px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-menu li a:hover::before {
  opacity: 1;
  margin-right: 12px;
}



/* ---------------------------------- */
/* FAQ Section                        */
/* ---------------------------------- */
.faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-title {
  text-align: center;
  margin-bottom: 50px;
}

.faq-title h2 {
  color: #333;
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.faq-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.faq-title p {
  color: #666;
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.6;
  font-size: 16px;
}

.faq-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.faq-accordion {
  flex: 1;
}

.faq-image {
  flex: 1;
  text-align: center;
}

.faq-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--white);
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-title:hover {
  background: #f8f9fa;
}

.accordion-title i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-title i {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #666;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 300px;
}

/* تأثيرات الخلفية */
.faq-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(161, 87, 231, 0.1) 0%, rgba(33, 84, 242, 0.05) 100%);
  z-index: 1;
}

.faq-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(33, 84, 242, 0.05) 0%, rgba(161, 87, 231, 0.1) 100%);
  z-index: 1;
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 992px) {
  .faq-content {
    flex-direction: column;
  }
  
  .faq-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-title h2 {
    font-size: 30px;
  }
  
  .accordion-title {
    padding: 15px;
    font-size: 15px;
  }
  
  .accordion-content {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq-title h2 {
    font-size: 26px;
  }
  
  .faq-title p {
    font-size: 15px;
  }
  
  .accordion-title {
    font-size: 14px;
  }
  
  .accordion-content {
    font-size: 13px;
  }
}


/* ---------------------------------- */
/* Page Title Area - Enhanced         */
/* ---------------------------------- */
.page-title-area {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 300px 0 80px;
  color: var(--white);
  position: relative;
  margin-top: 0;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.page-title-area .container {
  position: relative;
  z-index: 2;
}

.page-title-content {
  text-align: center;
  width: 100%;
}

.page-title-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-title-content ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.page-title-content li {
  display: flex;
  align-items: center;
  font-size: 18px;
}

.page-title-content li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.page-title-content li a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.page-title-content li.active {
  color: var(--white);
  font-weight: 600;
}

.page-title-content li:not(:last-child)::after {
  content: "/";
  margin-left: 15px;
  color: rgba(255, 255, 255, 0.6);
}

/* تأثيرات الخلفية المحسنة */
.page-title-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.15)"/></svg>');
  background-size: cover;
}

.page-title-area::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* موجات تفصل بين القسم والمحتوى التالي */
.page-title-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.page-title-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 992px) {
  .page-title-area {
    padding: 80px 0 60px;
    min-height: 240px;
  }
  
  .page-title-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-title-area {
    padding: 70px 0 50px;
    min-height: 200px;
  }
  
  .page-title-content h2 {
    font-size: 32px;
  }
  
  .page-title-content ul {
    flex-wrap: wrap;
  }
  
  .page-title-content li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-title-area {
    padding: 60px 0 40px;
    min-height: 180px;
  }
  
  .page-title-content h2 {
    font-size: 28px;
  }
  
  .page-title-content li {
    font-size: 14px;
  }
  
  .page-title-content li:not(:last-child)::after {
    margin-left: 10px;
  }
}




/* ---------------------------------- */
/* Improved Products Cards Styles     */
/* ---------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.product:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.single-shop {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shop-img {
  position: relative;
  overflow: hidden;
  height: 250px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product:hover .shop-img img {
  transform: scale(1.1);
}

.onsale {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff3838 100%);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 56, 56, 0.3);
}

.shop-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.shop-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #2d3436;
  font-weight: 700;
  line-height: 1.3;
}

.shop-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.shop-content h3 a:hover {
  color: var(--primary-color);
}

.category-container {
  margin-bottom: 15px;
}

.single-shop-cat {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-color);
  background-color: rgba(33, 84, 242, 0.1);
  padding: 5px 12px;
  border-radius: 15px;
  margin-right: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.single-shop-cat:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.product-price {
  margin-top: auto;
  padding-top: 15px;
}

.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  display: block;
}

.price del {
  color: #b2bec3;
  font-size: 16px;
  font-weight: 500;
  margin-right: 10px;
}

.price ins {
  text-decoration: none;
}

.purchase-bar-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(161, 87, 231, 0.9) 0%, rgba(33, 84, 242, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(5px);
}

.product:hover .purchase-bar-wrap {
  opacity: 1;
}

.purchase-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 80%;
  text-align: center;
}

.mobile-category {
  margin-bottom: 15px;
}

.purchase-bar ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.purchase-bar ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.purchase-bar ul li a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sceo-default-btn {
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: auto;
  min-width: 160px;
}

.sceo-default-btn:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 84, 242, 0.3);
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .shop-content {
    padding: 20px;
  }
  
  .shop-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .products {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .shop-img {
    height: 220px;
  }
  
  .purchase-bar {
    width: 85%;
  }
}

@media (max-width: 480px) {
  .shop-content {
    padding: 15px;
  }
  
  .shop-content h3 {
    font-size: 17px;
  }
  
  .product-price .price {
    font-size: 20px;
  }
  
  .purchase-bar {
    width: 90%;
    gap: 15px;
  }
  
  .sceo-default-btn {
    padding: 12px 25px;
    font-size: 14px;
    min-width: 140px;
  }
  
  .purchase-bar ul li a {
    width: 45px;
    height: 45px;
  }
}



/* ---------------------------------- */
/* Contact Page Styles                */
/* ---------------------------------- */

.contact-info-area {
  padding: 70px 0 40px;
  background-color: #f8f9fa;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.single-contact-info {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.single-contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-contact-info i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.single-contact-info h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.single-contact-info a {
  display: block;
  color: #666;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.single-contact-info a:hover {
  color: var(--primary-color);
}

.single-contact-info p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.main-contact-area {
  padding: 70px 0;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-container {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(33, 84, 242, 0.1);
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.map-container {
  height: 100%;
}

.map-area {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-area iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 992px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .map-area iframe {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .main-contact-area {
    padding: 50px 0;
  }
  
  .contact-form-container {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .single-contact-info {
    padding: 20px 15px;
  }
  
  .single-contact-info i {
    font-size: 32px;
  }
  
  .single-contact-info h3 {
    font-size: 18px;
  }
}


/* ---------------------------------- */
/* Blog Page Styles                   */
/* ---------------------------------- */

.blog-area {
  padding: 70px 0;
  background-color: #f8f9fa;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
  display: block;
  position: relative;
  overflow: hidden;
  height: 250px;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  gap: 15px;
  flex-wrap: wrap;
}

.blog-meta li {
  display: flex;
  align-items: center;
}

.blog-meta li a {
  display: flex;
  align-items: center;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.blog-meta li a:hover {
  color: var(--primary-color);
}

.blog-meta li i {
  margin-left: 5px;
  font-size: 14px;
}

.blog-content h3 {
  margin: 0 0 15px;
  font-size: 20px;
  line-height: 1.4;
  color: #333;
}

.blog-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h3 a:hover {
  color: var(--primary-color);
}

.blog-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 75px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more i {
  margin-right: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(-3px);
}

/* Pagination Styles */
.pagination-area {
  margin-top: 30px;
}

.pagination {
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-numbers.current,
.page-numbers:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
}

.page-numbers.next,
.page-numbers.prev {
  width: auto;
  padding: 0 15px;
  border-radius: 20px;
}

.page-numbers.next i,
.page-numbers.prev i {
  font-size: 14px;
}

/* تحسينات للعرض على مختلف الشاشات */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-area {
    padding: 50px 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-content h3 {
    font-size: 18px;
  }
  
  .blog-content p {
    height: auto;
    -webkit-line-clamp: unset;
  }
  
  .post-thumbnail {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .blog-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .page-numbers.next,
  .page-numbers.prev {
    width: 40px;
    padding: 0;
  }
  
  .page-numbers.next span,
  .page-numbers.prev span {
    display: none;
  }
}



/* ---------------------------------- */
/* Language Switcher Styles           */
/* ---------------------------------- */

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-language {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  gap: 5px;
}

.btn-language:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-language i {
  font-size: 14px;
}

.language-text {
  font-weight: 500;
  font-size: 14px;
}

/* عندما تكون اللغة إنجليزية */
[dir="ltr"] .btn-language .language-text {
  font-family: 'Poppins', sans-serif;
}

/* تحسينات للعرض على الموبايل */
@media (max-width: 768px) {
  .nav-buttons {
    margin-right: auto;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }
  
  .btn-language {
    padding: 6px 10px;
  }
}


/* تحسين مظهر زر تبديل اللغة */
.btn-language {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  gap: 5px;
}

.btn-language:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-language i {
  font-size: 14px;
}

.language-text {
  font-weight: 500;
  font-size: 14px;
}

/* أنماط التخطيط للغة الإنجليزية */
.english-layout {
  direction: ltr;
  text-align: left;
}

.english-layout .header .container,
.english-layout .nav-menu ul,
.english-layout .has-dropdown .dropdown-menu {
  direction: ltr;
  text-align: left;
}

.english-layout .nav-link::before {
  left: auto;
  right: 0;
}

.english-layout .has-dropdown .dropdown-menu {
  right: auto;
  left: 0;
}

.english-layout .btn-register::before {
  transform-origin: right center;
}

.english-layout .nav-menu::before {
  margin-left: 0;
  margin-right: 15px;
}

/* تعديلات للهواتف عندما تكون اللغة إنجليزية */
@media (max-width: 768px) {
  .english-layout .nav-menu ul.mobile-active {
    text-align: left;
  }
  
  .english-layout .nav-menu ul.mobile-active .nav-link,
  .english-layout .nav-menu ul.mobile-active .dropdown-menu a {
    text-align: left;
  }
  
  .english-layout .dropdown-menu a {
    padding-right: 20px;
    padding-left: 40px;
  }
}


/* أنماط عامة للاتجاهين */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="ltr"] {
  text-align: left;
  direction: ltr;
}

/* تحسينات للهيدر في كلا الاتجاهين */
[dir="rtl"] .header .container {
  direction: rtl;
}

[dir="ltr"] .header .container {
  direction: ltr;
}

[dir="rtl"] .nav-menu ul {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .nav-menu ul {
  direction: ltr;
  text-align: left;
}

[dir="rtl"] .nav-link::before {
  left: 0;
  right: auto;
}

[dir="ltr"] .nav-link::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .has-dropdown .dropdown-menu {
  right: 0;
  left: auto;
}

[dir="ltr"] .has-dropdown .dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .btn-register::before {
  transform-origin: center;
}

[dir="ltr"] .btn-register::before {
  transform-origin: center;
}

/* تحسينات للهواتف في كلا الاتجاهين */
@media (max-width: 768px) {
  [dir="rtl"] .nav-menu::before {
    margin-left: 15px;
    margin-right: 0;
  }
  
  [dir="ltr"] .nav-menu::before {
    margin-left: 0;
    margin-right: 15px;
  }
  
  [dir="rtl"] .nav-menu ul.mobile-active {
    text-align: right;
        right: -130px;
    top: 67px;

  }
  
  [dir="ltr"] .nav-menu ul.mobile-active {
    text-align: left;
    left: -129px;
    top: 69px;
  }
  
  [dir="rtl"] .nav-menu ul.mobile-active .nav-link,
  [dir="rtl"] .nav-menu ul.mobile-active .dropdown-menu a {
    text-align: right;
  }
  
  [dir="ltr"] .nav-menu ul.mobile-active .nav-link,
  [dir="ltr"] .nav-menu ul.mobile-active .dropdown-menu a {
    text-align: left;
  }
  
  [dir="rtl"] .dropdown-menu a {
    padding-right: 20px;
    padding-left: 40px;
  }
  
  [dir="ltr"] .dropdown-menu a {
    padding-right: 40px;
    padding-left: 20px;
  }
}



/* ---------------------------------- */
/* Products Header Styles             */
/* ---------------------------------- */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 15px;
}

.woocommerce-result-count {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.woocommerce-ordering {
  position: relative;
  min-width: 200px;
}

.woocommerce-ordering select.orderby {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: white;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
  padding-right: 40px;
}

.woocommerce-ordering::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(33, 84, 242, 0.1);
}

.woocommerce-ordering select.orderby:hover {
  border-color: #999;
}

/* تحسينات للعرض على الموبايل */
@media (max-width: 768px) {
  .products-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  
  .woocommerce-ordering {
    width: 100%;
    min-width: unset;
  }
  
  .woocommerce-result-count {
    font-size: 13px;
  }
}

/* أنماط خاصة للغة العربية */
[dir="rtl"] .woocommerce-ordering::after {
  right: auto;
  left: 15px;
}

[dir="rtl"] .woocommerce-ordering select.orderby {
  padding-right: 15px;
  padding-left: 40px;
}

/* أنماط خاصة للغة الإنجليزية */
[dir="ltr"] .woocommerce-ordering::after {
  right: 15px;
  left: auto;
}

[dir="ltr"] .woocommerce-ordering select.orderby {
  padding-left: 15px;
  padding-right: 40px;
}


/* مؤشر التحميل */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* أنماط سلة المشتريات المصغرة */
.btn-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cart:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.mini-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mini-cart.open {
    right: 0;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mini-cart-header h4 {
    margin: 0;
    color: #333;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-cart:hover {
    color: #333;
}

.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-message {
    text-align: center;
    color: #999;
    padding: 20px 0;
}

.cart-items {
    display: none;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.quantity-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-input {
    width: 30px;
    height: 25px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 5px;
}

.remove-item {
    color: #ff6b6b;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 5px;
    font-size: 12px;
}

.remove-item:hover {
    color: #ff3838;
}

.mini-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-checkout:hover {
    background-color: var(--dark-blue);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

@media (max-width: 480px) {
    .mini-cart {
        width: 300px;
    }
}



/* أنماط الإشعارات */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    transition: opacity 0.3s ease;
    display: none;
    max-width: 300px;
}

.notification.success {
    background-color: #4CAF50;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.notification.error {
    background-color: #f44336;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
}

.notification.info {
    background-color: #2196F3;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}




/* ---------------------------------- */
/* Cart Page Styles                   */
/* ---------------------------------- */
.cart-page {
  padding: 70px 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 200px);
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cart-title {
  text-align: center;
  margin-bottom: 40px;
}

.cart-title h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.cart-title h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cart-items {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 20px;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.cart-item-price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.quantity-input {
  width: 40px;
  height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  margin: 0 5px;
}

.remove-item {
  color: #ff6b6b;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.3s ease;
}

.remove-item:hover {
  color: #ff3838;
}

.cart-summary {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.summary-item.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-checkout:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(33, 84, 242, 0.3);
}

.continue-shopping {
  display: block;
  text-align: center;
  color: var(--primary-color);
  margin-top: 15px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.continue-shopping:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.empty-cart i {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-cart p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.empty-cart .btn-primary {
  padding: 12px 30px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.empty-cart .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(33, 84, 242, 0.3);
}

/* Responsive styles */
@media (max-width: 992px) {
  .cart-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-summary {
    position: static;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .cart-page {
    padding: 50px 0;
  }
  
  .cart-title h1 {
    font-size: 30px;
  }
  
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-image {
    margin-left: 0;
    margin-bottom: 15px;
  }
  
  .cart-item-details {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cart-items,
  .cart-summary {
    padding: 20px 15px;
  }
  
  .cart-title h1 {
    font-size: 26px;
  }
  
  .cart-item-image {
    width: 80px;
    height: 80px;
  }
  
  .cart-item-name {
    font-size: 16px;
  }
}



   


/* أنماط خاصة بصفحة الدفع */
.checkout-page {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.checkout-section {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.checkout-title {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 700;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 15px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.payment-option {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.payment-header {
    background: #f8f9fa;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.payment-content {
    padding: 15px;
    background: #fff;
    display: none;
}

.payment-content.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.coupon-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.applied-coupon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none;
}

/* تحسينات للبايبال */
#paypal-button-container {
    margin-top: 15px;
    min-height: 50px;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .checkout-section {
        padding: 20px 15px;
    }
    
    .applied-coupon {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .applied-coupon form {
        margin-top: 10px;
    }
}



.btn-hero {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.btn-hero:hover {
  background-color: transparent;
  color: var(--white);
}







/* إضافة هذه التنسيقات في قسم Mobile Styles */

@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }
  
  .nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: block;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
  }
  
  .nav-list {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 60px);
    background-color: var(--mobile-menu-bg);
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-list .nav-link {
    padding: 15px 0;
    display: block;
  }
  
  .has-dropdown .dropdown-menu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: none;
    padding: 10px 0 10px 20px;
  }
  
  .has-dropdown.active .dropdown-menu {
    display: block;
  }
  
  .nav-buttons-container {
    display: flex;
    align-items: center;
  }
  
  .nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }
  
  .btn-cart, 
  .btn-language {
    padding: 6px 8px;
    font-size: 14px;
  }
  
  .btn-language .language-text {
    display: none;
  }
  
  .user-dropdown-toggle .user-email {
    display: none;
  }
  
  .user-dropdown-toggle .fa-chevron-down {
    display: none;
  }
  
  .user-dropdown-menu {
    position: fixed;
    top: 60px;
    right: 0;
    width: 200px;
    margin-top: 0;
  }
  
  .btn-register {
    padding: 6px 12px;
    font-size: 14px;
    margin-right: 0;
  }
}

/* تحسينات إضافية للشاشات الصغيرة جدًا */
@media (max-width: 480px) {
  .nav-buttons {
    gap: 5px;
  }
  
  .btn-cart, 
  .btn-language {
    padding: 5px;
  }
  
  .btn-cart .fa-shopping-cart,
  .btn-language .fa-globe {
    font-size: 16px;
  }
  
  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 10px;
    top: -5px;
    right: -5px;
  }
  
  .user-avatar {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  /* تحسينات القائمة المنسدلة للمستخدم */
  .user-dropdown {
    position: static;
  }

  .user-dropdown-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    min-width: unset;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    display: none;
    padding: 10px 0;
  }

  .user-dropdown.active .user-dropdown-menu {
    display: block;
  }

  .user-dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }

  /* إخفاء السهم في زر المستخدم على الموبايل */
  .user-dropdown-toggle .fa-chevron-down {
    display: none;
  }

  /* تقليل حجم البادجينغ في زر المستخدم */
  .user-dropdown-toggle {
    padding: 6px 10px;
  }
}








/* ---------------------------------- */
/* Account Pages Styles               */
/* ---------------------------------- */
.account-page {
  padding: 100px 0 50px;
  background-color: #f4f7f6;
  min-height: calc(100vh - 200px);
}

.account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.account-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.account-title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 32px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.account-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.account-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.account-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(33, 84, 242, 0.1);
}

.form-section {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 20px;
}

.form-section-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(33, 84, 242, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 14px;
}

.product-meta {
  color: #888;
  font-size: 13px;
  margin-bottom: 15px;
}

.product-actions {
  text-align: center;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.orders-table th,
.orders-table td {
  padding: 15px;
  text-align: right;
  border-bottom: 1px solid #eee;
}

.orders-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-approved {
  background-color: #e6f7ee;
  color: #0c9d61;
}

.status-pending {
  background-color: #fef5e6;
  color: #f9a825;
}

.status-rejected {
  background-color: #fee6e6;
  color: #f44336;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.empty-state p {
  font-size: 18px;
  margin-bottom: 20px;
}

.message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.message-success {
  background-color: #e6f7ee;
  color: #0c9d61;
  border: 1px solid #a3e9cb;
}

.message-error {
  background-color: #fee6e6;
  color: #f44336;
  border: 1px solid #f8b8b8;
}

/* Responsive styles */
@media (max-width: 768px) {
  .account-card {
    padding: 20px;
  }
  
  .account-title {
    font-size: 28px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .orders-table {
    display: block;
    overflow-x: auto;
  }
  
  .orders-table th,
  .orders-table td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .account-page {
    padding: 80px 0 30px;
  }
  
  .account-title {
    font-size: 24px;
  }
  
  .btn-primary {
    width: 100%;
    padding: 10px 20px;
  }
}

/* أنماط رسائل النشرة البريدية */
.mc4wp-response {
    min-height: 50px;
    margin-top: 15px;
}

.mc4wp-response .alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.mc4wp-response .success {
    background-color: #e6f7ee;
    color: #0c9d61;
    border: 1px solid #a3e9cb;
}

.mc4wp-response .error {
    background-color: #fee6e6;
    color: #f44336;
    border: 1px solid #f8b8b8;
}

.mc4wp-response .warning {
    background-color: #fef5e6;
    color: #f9a825;
    border: 1px solid #fce1a8;
}

/* تحسين مظهر زر الإرسال */
#newsletter-submit {
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#newsletter-submit:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#newsletter-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* تأثيرات للظهور */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .newsletter-form .mc4wp-form-fields {
        flex-direction: column;
    }
    
    #newsletter-submit {
        width: 100%;
        margin-top: 10px;
    }
}



.blogmore-btn {
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  width: 80%;
  text-align: center;
}

.blogmore-btn:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
}



/* ---------------------------------- */
/* Categories Section Styles - Horizontal Scroll */
/* ---------------------------------- */
.categories-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.categories-scroll-container {
    position: relative;
    max-width: 1300px;
    margin: 50px auto 0;
    padding: 0 70px;
}

.categories-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 30px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    scroll-padding: 0 20px;
}

.categories-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-scroll-wrapper.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    scroll-behavior: auto;
}

.category-card {
    flex: 0 0 auto;
    width: 320px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(33, 84, 242, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.category-card:hover::before {
    transform: translateX(100%);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 84, 242, 0.4);
}

.category-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    opacity: 0.8;
}

.category-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    flex-grow: 1;
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
}

.category-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
    color: var(--white);
}

.category-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(-3px);
}

/* تأثير إضافي للكروت */
.category-card:nth-child(even) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.category-card:nth-child(odd) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* أزرار التنقل */
.scroll-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    font-size: 18px;
    color: #333;
}

.scroll-nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.05);
}

.scroll-nav-btn.prev-categories {
    left: 0;
}

.scroll-nav-btn.next-categories {
    right: 0;
}

/* شريط التقدم */
.scroll-progress {
    width: 80%;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin: 30px auto 0;
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.no-categories {
    text-align: center;
    color: #666;
    font-size: 18px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .categories-scroll-container {
        padding: 0 50px;
    }
    
    .category-card {
        width: 280px;
    }
    
    .scroll-nav-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-scroll-container {
        padding: 0 40px;
    }
    
    .categories-scroll-wrapper {
        gap: 20px;
        padding: 25px 15px;
    }
    
    .category-card {
        width: 250px;
        padding: 25px;
    }
    
    .scroll-nav-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .categories-scroll-container {
        padding: 0 30px;
    }
    
    .category-card {
        width: 220px;
        padding: 20px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .category-description {
        font-size: 14px;
    }
    
    .category-link {
        padding: 6px 12px;
        font-size: 14px;
    }
}





/* ---------------------------------- */
/* About Page Styles - Professional   */
/* ---------------------------------- */
.about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.about-text .section-title {
  margin-bottom: 30px;
}

.about-text .section-title h2 {
  color: #333;
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.about-text .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.about-text .section-title p {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
}

.about-description {
  margin-bottom: 40px;
}

.about-description p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-item i {
  font-size: 24px;
  color: var(--primary-color);
  background: rgba(33, 84, 242, 0.1);
  padding: 15px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.feature-content h4 {
  color: #333;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.about-image {
  position: relative;
  text-align: center;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
}

.experience-badge {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(4, 142, 214, 0.3);
  min-width: 120px;
}

.experience-badge .years {
  display: block;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 5px;
}

.experience-badge .text {
  font-size: 14px;
  font-weight: 500;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stats-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.stats-section .section-title h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
}

.stats-section .section-title p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  background: var(--white);
  transform: scale(1.1);
}

.stat-icon i {
  font-size: 28px;
  color: var(--white);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon i {
  color: var(--primary-color);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
}

.team-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.team-section .section-title h2 {
  color: #333;
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.team-section .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.team-section .section-title p {
  color: #666;
  font-size: 18px;
  max-width: 600px;
  margin: 20px auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.member-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(33, 84, 242, 0.9));
  padding: 20px;
  transition: bottom 0.3s ease;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-member:hover .member-social {
  bottom: 0;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.member-social a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.member-info {
  padding: 25px;
  text-align: center;
}

.member-info h4 {
  color: #333;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.member-info p {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
  font-size: 15px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.1)"/></svg>');
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .sceo-default-btn {
  padding: 15px 35px;
  background: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.cta-buttons .sceo-default-btn:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .sceo-default-btn.outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-buttons .sceo-default-btn.outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-text {
    padding-right: 0;
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
  
  .about-experience {
    position: static;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-section,
  .stats-section,
  .team-section,
  .cta-section {
    padding: 60px 0;
  }
  
  .about-text .section-title h2,
  .stats-section .section-title h2,
  .team-section .section-title h2,
  .cta-content h2 {
    font-size: 30px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .sceo-default-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .feature-item {
    padding: 15px;
  }
  
  .member-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .about-section,
  .stats-section,
  .team-section,
  .cta-section {
    padding: 50px 0;
  }
  
  .about-text .section-title h2,
  .stats-section .section-title h2,
  .team-section .section-title h2,
  .cta-content h2 {
    font-size: 26px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .experience-badge {
    padding: 20px 15px;
    min-width: 100px;
  }
  
  .experience-badge .years {
    font-size: 28px;
  }
  
  .experience-badge .text {
    font-size: 12px;
  }
}

/* Animations */
@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-number.animated {
  animation: countUp 0.6s ease-out;
}

/* RTL Support */
[dir="rtl"] .about-text {
  padding-right: 0;
  padding-left: 20px;
}

[dir="rtl"] .about-text .section-title h2::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .about-experience {
  right: auto;
  left: -20px;
}

[dir="rtl"] .member-social {
  left: 0;
  right: 0;
}

[dir="rtl"] .team-section .section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}