:root {
    --primary-color: #1b619f;
    --secondary-color: #7ac22e;
    --accent-color: #ff6b6b;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  }
  
  body {
  font-family: 'Almarai', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  /* شريط التنقل المتحسن */
  .navbar {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 15px 0;
  }
  
  .navbar.scrolled {
    padding: 10px 0;
    background: var(--dark-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-brand {
    font-weight: 700;
    color: var(--white) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
  }
  
  .navbar-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    transition: var(--transition);
    margin-left: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-logo:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: var(--transition);
    margin: 0 8px;
    font-weight: 500;
    position: relative;
    padding: 8px 15px !important;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
  }
  
  .nav-link:hover::before,
  .nav-link.active::before {
    width: 100%;
    left: 0;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--white) !important;
    transform: translateY(-3px);
  }
  
  /* قسم البطل مع تأثيرات متحركة */
  .hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }
  
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-pattern.png') repeat;
    opacity: 0.1;
    animation: bgScroll 60s linear infinite;
  }
  
  @keyframes bgScroll {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  
  .hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
  }
  
  /* الأقسام العامة */
  .section {
    padding: 100px 0;
    position: relative;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--dark-color);
    text-align: center;
    width: 100%;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.8;
  }
  
  /* البطاقات المحسنة */
  .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin-bottom: 30px;
    background: var(--white);
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }
  
  .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .card:hover .card-img-top {
    transform: scale(1.05);
  }
  
  .card-body {
    padding: 25px;
  }
  
  .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
  }
  
  .card-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .card-footer {
    background: transparent;
    border-top: none;
    padding: 0 25px 25px;
  }
  
  /* الأزرار المحسنة */
  .btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
  }
  
  .btn-primary:hover {
    background-color: #15507a;
    box-shadow: 0 8px 25px rgba(27, 97, 159, 0.3);
  }
  
  .btn-secondary {
    background-color: var(--secondary-color);
  }
  
  .btn-secondary:hover {
    background-color: #5e9e1f;
    box-shadow: 0 8px 25px rgba(122, 194, 46, 0.3);
  }
  
  .btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
  }
  
  .btn-accent:hover {
    background-color: #e05555;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  }
  
  /* تأثيرات الظهور */
  [data-aos] {
    transition-property: transform, opacity;
  }
  
  /* تأثيرات خاصة */
  .hover-scale {
    transition: var(--transition);
  }
  
  .hover-scale:hover {
    transform: scale(1.03);
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .floating {
    animation: floating 6s ease-in-out infinite;
  }
  
  @keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
  }
  
  /* الكاروسيل المحسن */
  .owl-carousel .owl-item img {
    width: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .owl-carousel .owl-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }
  
  .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: var(--primary-color) !important;
    color: white !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .owl-nav button:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-50%) scale(1.1);
  }
  
  .owl-nav button.owl-prev {
    right: -70px;
  }
  
  .owl-nav button.owl-next {
    left: -70px;
  }
  
  /* التذييل المحسن */
  .footer {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  }
  
  .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/footer-pattern.png') repeat;
    opacity: 0.05;
  }
  
  .footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
  }
  
  .footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--white);
    padding-left: 25px;
    text-decoration: none;
  }
  
  .footer-links a:hover::before {
    opacity: 1;
    left: 5px;
  }
  
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
  }
  
  .social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
  }
  
  .newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    border-radius: 50px;
    padding: 12px 20px;
  }
  
  .newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .newsletter-form .btn {
    border-radius: 50px;
    padding: 12px 25px;
    margin-top: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
  }
  
  /* تأثيرات متحركة للصور */
  .img-zoom-container {
    overflow: hidden;
    border-radius: 15px;
  }
  
  .img-zoom {
    transition: transform 0.5s ease;
  }
  
  .img-zoom:hover {
    transform: scale(1.1);
  }
  
  /* تأثيرات الجسور */
  .wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }
  
  .wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
  }
  
  .wave-divider .shape-fill {
    fill: var(--light-color);
  }
  
  /* تصميم متجاوب */
  @media (max-width: 1199.98px) {
    .hero-title {
      font-size: 3rem;
    }
    
    .section {
      padding: 80px 0;
    }
  }
  
  @media (max-width: 991.98px) {
    .navbar-logo {
      width: 40px;
      height: 40px;
    }
    
    .hero-section {
      padding: 120px 0 80px;
      clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    
    .hero-title {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .section-title {
      font-size: 2.2rem;
    }
    
    .owl-nav button.owl-prev {
      right: -20px;
    }
    
    .owl-nav button.owl-next {
      left: -20px;
    }
  }
  
  @media (max-width: 767.98px) {
    .hero-section {
      padding: 100px 0 60px;
      clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }
    
    .hero-title {
      font-size: 2.2rem;
    }
    
    .section {
      padding: 60px 0;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .footer {
      clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    }
  }
  
  @media (max-width: 575.98px) {
    .hero-title {
      font-size: 1.8rem;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
    
    .btn {
      padding: 10px 20px;
    }
    
    .footer {
      clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
    }
  }