body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
nav {
  
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow for a clean look */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav .logo a {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    padding: 5px 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    /* font-weight: 500; */
    transition: color 0.3s, transform 0.3s; /* Smooth hover transition */
}

/* Hover effect for links */
.nav-links a:hover {
    color: #007BFF; /* Blue color on hover */
    transform: scale(1.1); /* Slightly scale up the link */
}
  
  /* تنسيق قسم الأخبار */
  .news-section {
    margin: 80px 30px 20px; /* مسافة من الأعلى */
    color: rgb(0, 0, 0);
  }
  
  .news-title {
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .separator {
    width: 60px;
    height: 3px;
    background-color: #6DA2C7;
    margin: 10px 0;
  }
  
  .news-description {
    font-size: 16px;
    color: #000000;
  }
  
  /* تنسيق البطاقات */
  .card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px;
  }
  
  .card a {
    text-decoration: none; /* إزالة الخطوط تحت الروابط */
  }


  .card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;

  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card img {
    width: 100%;
    height: auto;
  }
  
  .card h2 {
    font-size: 20px;
    color: #333333;
    margin: 10px 0;
  }
  
  .card p {
    font-size: 14px;
    color: #666666;
    padding: 0 10px 20px;
  }
  


  .footer {
    background-color: #000000;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-section {
    flex: 1 1 250px;
    padding: 20px;
  }
  
  .footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ecf0f1;
  }
  
  .footer-section p, .footer-section ul {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .footer-section a {
    color: #ecf0f1;
    text-decoration: none;
  }
  
  .footer-section a:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
  }
  
  .footer-bottom a {
    color: #3498db;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  .social-links {
    text-align: center;
    margin-top: 70px;
    margin-right: 50px;
  }
  
  .social-icon {
    font-size: 39px;
    color: white;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; /* تأثير عند تغيير اللون والحجم */

  }
  
  .social-icon:hover {
    color: #3498db;
  }
  
  /* تنسيق لأيقونات الفيسبوك، تويتر، والانستغرام */
  .social-links a i {
    transition: color 0.3s ease;
  }

  @media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        padding: 15px 20px;
    }
}