@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap");

:root {
  --primary: #3a0ca3;
  --secondary: #4361ee;
  --accent: #4cc9f0;
  --light: #f8f9fa;
  --dark: #2b2d42;
  --gold: #ffd700;
}
/* تخصيص الـ Scrollbar لجميع المتصفحات التي تدعمه */
/* تخصيص الـ Scrollbar */
/* تخصيص الـ Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }
  .subscription-counter{
    margin-top: 30px;
  }
  
  /* تخصيص الخلفية (المسار) */
  ::-webkit-scrollbar-track {
    background: var(--dark); /* خلفية داكنة لإبراز الفخامة */
    border-radius: 10px;
  }
  
  /* تخصيص شريط التمرير */
  ::-webkit-scrollbar-thumb {
    background: rgba(58, 12, 163, 0.8); /* لون primary مع شفافية لإحساس ناعم */
    border-radius: 10px;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); /* ظل داخلي خفيف لإضافة عمق */
  }
  
  /* عند التحويم */
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(58, 12, 163, 1); /* تقليل الشفافية ليصبح اللون أكثر وضوحًا */
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5); /* تعزيز العمق عند التفاعل */
  }
  
  

body {
  font-family: "Tajawal", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.navbar {
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-bg-animation {
  position: absolute;
  z-index: -1;

  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"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="0.5"/></svg>')
    0 0 / 100px 100px;
  opacity: 0.1;
  animation: bgAnimation 20s linear infinite;
}

@keyframes bgAnimation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--gold);
}

.service-card,
.pricing-card,
.portfolio-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background-color: white;
  height: 100%;
}

.service-card:hover,
.pricing-card:hover,
.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .card-body,
.pricing-card .card-body,
.portfolio-card .card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
  transform: rotate(360deg);
}

.pricing-card {
  text-align: center;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gold);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
}

.pricing-card .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-card .period {
  font-size: 1rem;
  color: #6c757d;
}

.contact-form .form-control {
  border-radius: 10px;
  border: 2px solid var(--light);
  padding: 1.5rem 0.75rem;
  transition: all 0.3s;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.social-icons a {
  font-size: 1.5rem;
  transition: all 0.3s;
  color: var(--light);
}

.social-icons a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

/* تحسين تصميم قسم العملاء */
.clients-slider {
  position: relative;
  padding: 20px 0;
}

.client-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.client-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.client-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.client-card:hover .client-logo {
  transform: scale(1.1);
}

.client-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.client-subscription {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.client-testimonial {
  font-style: italic;
  color: #6c757d;
  line-height: 1.6;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--gold);
}

/* تحسين تصميم قسم الإحصائيات */
.bg-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

/* تحسين تصميم قسم عرض وسائل التواصل الاجتماعي */
.social-post {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.social-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.social-post-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.social-post-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 1rem;
  object-fit: cover;
}

.social-post-username {
  font-weight: bold;
  color: var(--primary);
}

.social-post-platform {
  margin-right: auto;
  font-size: 1.2rem;
}

.social-post-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.social-post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.social-post-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--dark);
  flex-grow: 1;
}

.social-post-footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid #e0e0e0;
  color: var(--secondary);
}

/* تحسينات إضافية */
.portfolio-card img {
  height: 200px;
  object-fit: cover;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: var(--dark);
}

/* تحسينات الاستجابة */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-section {
    text-align: center;
  }

  .pricing-card.featured {
    transform: none;
  }

  .social-post {
    margin-bottom: 2rem;
  }
}

/* الحركات */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* أنماط جديدة لعداد العملاء */
.client-counter {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.client-count {
  font-size: 3rem;
  font-weight: bold;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.client-count-text {
  font-size: 1.5rem;
  color: var(--secondary);
}

#loadMorePosts {
  margin-top: 2rem;
  transition: all 0.3s ease;
}

#loadMorePosts:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* تصميم قسم لماذا نحن؟ */
#why-us {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffffff" stroke-width="0.5"/></svg>')
    0 0 / 100px 100px;
  opacity: 0.1;
  animation: bgAnimation 20s linear infinite;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.stat-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

#why-us .btn-primary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  font-weight: bold;
  transition: all 0.3s ease;
}

#why-us .btn-primary:hover {
  background-color: white;
  border-color: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-slider {
  margin-top: 3rem;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--gold);
}

.swiper-pagination-bullet {
  background-color: var(--gold);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

