/* ØªØ¹Ø±ÙŠÙ Ø§Ù„Ù…ØªØºÙŠØ±Ø§Øª Ø§Ù„Ø£Ø³Ø§Ø³ÙŠØ© Ù„Ù„ÙˆØ­Ø§Øª Ø§Ù„Ø£Ù„ÙˆØ§Ù† - ØªØµÙ…ÙŠÙ… ØªÙ‚Ù†ÙŠ Ø¯Ø§ÙƒÙ† Ù…Ø¹ Ù„Ù…Ø³Ø§Øª Ø²Ø±Ù‚Ø§Ø¡ */
:root {
    --primary-color: #0d47a1;          /* Ø§Ù„Ø£Ø²Ø±Ù‚ Ø§Ù„Ø¯Ø§ÙƒÙ† */
    --secondary-color: #1976d2;        /* Ø§Ù„Ø£Ø²Ø±Ù‚ Ø§Ù„Ù…ØªÙˆØ³Ø· */
    --accent-color: #64b5f6;           /* Ø§Ù„Ù„Ù…Ø³Ø© Ø§Ù„Ø²Ø±Ù‚Ø§Ø¡ Ø§Ù„ÙØ§ØªØ­Ø© */
    --bg-dark: #121212;               /* Ø§Ù„Ø®Ù„ÙÙŠØ© Ø§Ù„Ø¯Ø§ÙƒÙ†Ø© */
    --text-light: #e0e0e0;             /* Ø§Ù„Ù†Øµ Ø§Ù„ÙØ§ØªØ­ */
    --section-gradient: linear-gradient(135deg, #121212, #0d0d0d, #0d47a1);
  }
  
  /* Ø§Ù„Ù‚Ø³Ù… Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠ */
  .our-way {
    position: relative;
    padding: 2rem 0;
    /* background: var(--section-gradient); */
    color: var(--text-light);
    overflow: hidden;
  }
  
  /* ØªØ£Ø«ÙŠØ± Ø®Ù„ÙÙŠØ© Ù…ØªØ¯Ø±Ø¬Ø© Ù…ØªØ­Ø±ÙƒØ© Ø¹Ø¨Ø± pseudo-element */
  .our-way::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #566c8f, var(--secondary-color), #051725, var(--primary-color));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
  }
  
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  /* Ø§Ù„Ø®Ù„ÙÙŠØ§Øª Ø§Ù„Ù…ØªØ­Ø±ÙƒØ© (Ø¯ÙˆØ§Ù…Ø© Ø¹Ø§Ø¦Ù…Ø© ÙˆØ´ÙŠÙØ±Ø§Øª Ø«Ù†Ø§Ø¦ÙŠØ©) */
  .background-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  
  .floating-orb {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
    border-radius: 50%;
    animation: orbFloat 6s ease-in-out infinite;
  }
  
  @keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
  }
  
  .binary-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: transparent;
  }
  
  .binary-code::before {
    content: "0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010";
    position: absolute;
    top: -100%;
    left: 0;
    width: 200%;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    animation: binaryScroll 12s linear infinite;
  }
  
  @keyframes binaryScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
  }
  
  /* Ø§Ù„Ø­Ø§ÙˆÙŠØ© Ø§Ù„Ø£Ø³Ø§Ø³ÙŠØ© */
  .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Ù…Ø­ØªÙˆÙ‰ Ø§Ù„Ù‚Ø³Ù… */
  .way-content {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
  }
  
  .section-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
    color: var(--text-light);
  }
  
  /* ØªØµÙ…ÙŠÙ… Ø§Ù„Ø¨Ø·Ø§Ù‚Ø§Øª â€“ Ø®Ù„ÙÙŠØ© Ø´ÙØ§ÙØ© Ù…Ø¹ ØªØ£Ø«ÙŠØ± blur */
  .cards-slider {
    position: relative;
  }
  
  .cards-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    will-change: transform;
  }
 
  
  .way-card {
    backdrop-filter: blur(10px);   /* ØªØ£Ø«ÙŠØ± Ø§Ù„Ø¨ÙˆØ¯Ø± */
    overflow: hidden;

    position: relative;
    width: 300px;              /* يمكنك تحديد العرض حسب احتياجك */
    background: #1A1B2F;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 1.5rem;           /* مسافة داخلية عامة */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 calc(25% - 16px);

  }

  
/* إنشاء منطقة علوية منحنية باستخدام pseudo-element */
.way-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    /* إنشاء انحناءة أسفل المنطقة العلوية */
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;
    z-index: 1;
  }
  
  /* أيقونة البطاقة: دائرة علوية تطفو فوق المنطقة المنحنية */
  .card-icon {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(13, 71, 161, 0.6);
  }
  
  .card-icon img,
  .card-icon i {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
  }
  
  /* تنسيق العنوان داخل البطاقة */
  .way-card h3 {
    margin-top: 90px;    /* التأكد من ترك مساحة كافية لتظهير الأيقونة والمنطقة المنحنية */
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
  }
  
  /* تنسيق النص داخل البطاقة */
  .way-card p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    color: #ddd;
  }
  
  /* تأثيرات عند المرور على البطاقة */
  .way-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }
  
  
  /* ØªÙ†Ù‚Ù„ Ø§Ù„Ø³Ù„Ø§ÙŠØ¯Ø± ÙˆØ§Ù„Ø´Ø±ÙŠØ· Ø§Ù„ØªÙ‚Ø¯Ù…ÙŠ */
  .slider-navigation {
    margin-top: 40px;
    position: relative;
    z-index: 3;
  }
  
  .progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 20px;
    max-width: 600px;
  }
  
  .progress-track {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    animation: gradientMove 3s linear infinite;
  }
  
  @keyframes gradientMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }
  
  .nav-buttons {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .slider-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .slider-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  }
  
  /* Ø§Ø³ØªØ¬Ø§Ø¨Ø© Ø§Ù„ØªØµÙ…ÙŠÙ… */
  /* Ø´Ø§Ø´Ø§Øª Ù…ØªÙˆØ³Ø·Ø© ÙˆÙƒØ¨ÙŠØ±Ø© */
  @media (max-width: 1024px) {
    .way-card {
      flex: 0 0 calc(50% - 16px);
    }
  }
  
  /* Ø´Ø§Ø´Ø§Øª ØµØºÙŠØ±Ø© */
  @media (max-width: 768px) {
    .way-card {
      flex: 0 0 calc(100% - 16px);
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .section-text {
      font-size: 1rem;
    }
  }
  