:root {
      --primary-color: #1a237e; /* لون كحلي غامق */
      --primary-light: #e8eaf6;
      --primary-dark: #000051;
      --secondary-color: #ffab00; /* لون ذهبي للتأكيد */
      --text-color: #333;
      --light-bg: #f8f9fa;
    }
    body {
      font-family: 'Tajawal', sans-serif;
      color: var(--text-color);
      overflow-x: hidden;
    }
    
    /* الألوان الأساسية */
    .text-primary {
      color: var(--primary-color) !important;
    }
    .bg-primary {
      background-color: var(--primary-color) !important;
    }
    .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-dark);
    }
    .btn-primary:hover {
      background-color: var(--primary-dark);
      color: var(--secondary-color);
    }
    .btn-outline-primary {
      background: white;
      color: var(--primary-color);
      transition: all 0.3s;
    }
    .btn-outline-primary:hover {
      background: var(--secondary-color);
      color: var(--primary-dark);
      border: var(--secondary-color) 1px solid;
    }
    
    /* الشريط العلوي */
    .top-bar {
      background: var(--primary-dark);
      color: white;
      font-size: 0.9rem;
    }
    .top-bar a {
      color: white !important;
      transition: all 0.3s;
    }
    .top-bar a:hover {
      color: var(--secondary-color) !important;
      transform: translateY(-2px);
    }
    a {
      color: var(--primary-color);
      transition: all 0.3s;
      text-decoration: none;
    }
    a:hover {
      color: var(--secondary-color);
    }
    /* شريط التنقل */
    .navbar {
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s;
    }
    .navbar.scrolled {
      background-color: white !important;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    }
    .navbar-brand img {
      transition: all 0.3s;
    }
    .navbar-brand img:hover {
      transform: scale(1.05);
    }
    .nav-link {
      position: relative;
      padding: 8px 15px !important;
      font-weight: 500;
    }
    .nav-link:hover{
    color: var(--secondary-color) !important;
    }
    .nav-link.active {
      color: var(--secondary-color) !important;

    }

    /* قسم البطل */
    .hero-section {
      background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
      padding: 120px 0 80px;
      position: relative;
      overflow: hidden;
    }
    .hero-section::before {
      content: '';
      position: absolute;
      top: -50px;
      left: -50px;
      width: 200px;
      height: 200px;
      background: rgba(26, 35, 126, 0.1);
      border-radius: 50%;
      z-index: 0;
    }
    .hero-section::after {
      content: '';
      position: absolute;
      bottom: -100px;
      right: -100px;
      width: 200px;
      height: 200px;
      background: rgba(26, 35, 126, 0.1);
      border-radius: 50%;
      z-index: 0;
    }
    .hero-content {
      position: relative;
      z-index: 1;
    }
    .hero-img {
      border-radius: 15px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      transition: all 0.5s;
      transform: perspective(1000px) rotateY(-5deg);
    }
    .hero-img:hover {
      transform: perspective(1000px) rotateY(0deg);
    }
    
    /* العناوين */
    .section-header {
      margin-bottom: 60px;
    }
    .section-title {
      color: var(--primary-color);
      font-weight: 700;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      right: 0;
      width: 50px;
      height: 3px;
      background: var(--secondary-color);
    }
    .section-subtitle {
      color: var(--primary-color);
      font-weight: 500;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
    
    /* بطاقات الخدمات */
    .service-card {
      border-radius: 12px !important;
      transition: all 0.4s;
      border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    .service-card:hover {
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
      border-color: transparent !important;
      border: var(--primary-color) 1px solid !important;
    }
    .service-card .icon-box {
      width: 70px;
      height: 70px;
      background: var(--primary-light);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }
    .service-card:hover .icon-box {
      background: var(--secondary-color);
    }
    .service-card:hover .icon-box i {
      color: var(--primary-color);
    }
    .service-card h5 {
      color: var(--primary-color);
      transition: all 0.3s;
    }
    .service-card:hover h5 {
      color: var(--primary-dark);
    }
    
    /* قسم المميزات */
    .features-section {
      background: var(--light-bg);
    }
    .feature-icon {
      width: 80px;
      height: 80px;
      background: var(--primary-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      transition: all 0.3s;
    }
    .feature-box:hover .feature-icon {
      background: var(--secondary-color);
    }
    .feature-box {
      padding: 30px;
      border-radius: 12px;
      transition: all 0.3s;
      background: white;
      border: 1px solid rgba(0, 0, 0, 0.05);    
    }
    .feature-box:hover {
      box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1) !important;
      border: var(--primary-color) 1px solid !important;
    }

    
    /* أعمالنا */
    .portfolio-item {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s;
      max-height: 250px;
    }
    .portfolio-item img {
      transition: all 0.5s;
    }
    .portfolio-item:hover {
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    .portfolio-item:hover img {
      transform: scale(1.1);
    }
    .portfolio-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(26, 35, 126, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.3s;
    }
    .portfolio-item:hover .portfolio-overlay {
      opacity: 1;
    }
    
    /* آراء العملاء */
    .testimonial-card {
      background: white;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s;
      position: relative;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }
    .testimonial-card::before {
      content: '\201C';
      font-family: Georgia, serif;
      font-size: 60px;
      color: var(--secondary-color);
      position: absolute;
      top: 10px;
      right: 20px;
      line-height: 1;
    }
    .client-img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--primary-light);
    }
    
    /* قسم الاتصال */
    .cta-section {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
      color: white;
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      top: -50px;
      left: -50px;
      width: 200px;
      height: 200px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
    }
    .cta-section::after {
      content: '';
      position: absolute;
      bottom: -100px;
      right: -100px;
      width: 300px;
      height: 300px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
    }
    .cta-btn {
      background: white;
      color: var(--primary-color);
      font-weight: 600;
      padding: 12px 30px;
      border-radius: 30px;
      transition: all 0.3s;
    }
    .cta-btn:hover {
      background: var(--secondary-color);
      color: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* التذييل */
    .footer {
      background: #111;
      color: #aaa;
      padding-top: 60px;
    }
    .footer a {
      color: #ddd;
      transition: all 0.3s;
    }
    .footer a:hover {
      color: var(--secondary-color);
      text-decoration: none;
    }
    .footer-title {
      color: white;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
    }
    .footer-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      right: 0;
      width: 40px;
      height: 2px;
      background: var(--secondary-color);
    }
    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      margin-left: 10px;
      transition: all 0.3s;
    }
    .social-icons a:hover {
      background: var(--secondary-color);
      color: var(--primary-dark);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 20px;
      margin-top: 40px;
    }
    
    /* تأثيرات الحركة */
    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s;
    }
    .animate-on-scroll.animated {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* التكيف مع الأجهزة المختلفة */
    @media (max-width: 768px) {
      .hero-section {
        padding: 80px 0 60px;
        text-align: center;
      }
      .hero-img {
        margin-top: 30px;
      }
      .section-header {
        margin-bottom: 40px;
      }
      .feature-box {
        margin-bottom: 20px;
      }
    }
    .fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .whatsapp-btn, .scroll-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .whatsapp-btn {
    background-color: #25D366; /* لون واتساب */
  }
  
  .scroll-top {
    background-color: var(--primary-color);
  }
  
  .whatsapp-btn:hover, .scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
  
  .whatsapp-btn.animated, .scroll-top.animated {
    opacity: 1;
    transform: translateY(0);
  }
 /* تخصيص قسم آراء العملاء */
  .testimonials-container {
    position: relative;
    padding: 0 50px; /* زيادة الهامش للأزرار */
  }
  
  .testimonials-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* لإخفاء شريط التمرير في Firefox */
  }
  

  .testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .testimonial-card {
      width: calc(100% / 3 - 20px);
      margin-right: 20px;
    }
  }
  
  .testimonial-prev, .testimonial-next {
    width: 50px;
    height: 50px;
    z-index: 1;
    background-color: var(--primary-color);
    border: none;
    opacity: 0.8;
    transition: all 0.3s;
    position: absolute;
    transform: translateY(-50%);
  }
  
  .testimonial-prev:hover, .testimonial-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
  }
  
  .testimonial-prev {
    left: 0;
  }
  
  .testimonial-next {
    right: 100;
  }