body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background: #f5f9ff;
    color: #222;
    line-height: 1.6;
    direction: rtl;
  }
  
  .hero {
    position: relative;
    background: linear-gradient(to left, #bccfe8, #0077b6);
    color: white;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
  }
  
  .hero .overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .hero .container {
    position: relative;
    z-index: 2;
  }
  
  .logo {
    width: 320px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  .cta {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #00b4d8;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .cta:hover {
    background: #90e0ef;
    color: #003049;
  }
  
  .section {
    padding: 60px 20px;
    text-align: center;
  }
  
  .section h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #001f4d;
  }
  
  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 300px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  }
  
  .card img {
    width: 280px;
    height: 180px;
    margin-bottom: 20px;
  }
    

  .download-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto; /* توسيط أفقي */
    text-align: center; /* توسيط النصوص والروابط داخل العنصر */
}

  .download-container h2 {
    color: #333;
    margin-bottom: 10px;
  }

  .download-container p {
    color: #777;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .download-link {
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
  }

  .download-link:hover {
    background-color: #45a049;
    transform: translateY(-3px);
  }

  .download-link i {
    margin-left: 10px;
    font-size: 20px;
  }
  
  footer {
    background: #001f4d;
    color: white;
    padding: 20px;
    font-size: 0.9em;
    display: flex;
    justify-content: center; /* يجعل العناصر وسطياً */
    align-items: center;
    position: relative; /* نستخدمها لتحديد مكان العناصر */
}

.copy {
    text-align: center;
}

.mail {
    position: absolute; /* يجعلها على يمين الفوتر */
    right: 20px;
    text-align: right;
}
@media (max-width: 768px) {

  footer {
        flex-direction: column; /* يخلي العناصر عمودية */
        position: static; /* يخلي العناصر داخل التدفق العادي */
        text-align: center;
    }
    
    .mail {
        position: static; /* يلغي تحديد الموقع */
        text-align: center;
        margin-top: 10px; /* مسافة بسيطة بين العناصر */
    }

}