* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}
.navbar {
    background: #048f91;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    flex-direction: row-reverse;
    position: relative;
}
.logo img {
    width: 55px;
}
.nav-links {
    display: flex;
    gap: 15px;
}
.nav-links a {
    color: white;
    text-decoration: none;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

/* عند فتح القائمة */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* القائمة الجانبية */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #048f91;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

/* عند فتح القائمة */
.sidebar.open {
    left: 0;
}

/* زر الإغلاق */
.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    align-self: flex-end;
    margin: 10px;
}

/* عناصر القائمة */
.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.cards {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.cards img {
    width: 350px;
    border-radius: 10px;
}
.cards a{
cursor: pointer;
display: flex;
justify-content: center;
}

.footer {
    width: 100%;
    background: #048f91;
    color: white;
    text-align: center;
    padding: 13px;
}
@media (min-width: 480px) and (max-width: 1130px)  {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .cards {
        flex-grow: 0;
       flex-direction: column;
        gap: 15px;
      
    }
    .cards img {
        width: 80%;
        border-radius: 10px;
    }
    .footer {
        width: 100%;
        background: #048f91;
        color: white;
        text-align: center;
        padding: 10px;
    }
    html, body {
        height: 100%;
       
    }
   
}
@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .cards {
     flex-direction: column;
        gap: 15px;
        justify-content: unset;
        padding: 5px;
    
    }
    .cards img {
        width: 85%;
        
        border-radius: 10px;
    }
    html, body {
        height: 100%;
       
    }
   
}

.social-icons {
    margin: 3px 10px;
  }
  .social-icons a {
    display: inline-block;
    margin: 0 2px;
    font-size: 18px;
    color: white;
    transition: color 0.3s ease;
  }
  .social-icons a:hover {
    color: #007bff;
  }