body {
    font-family: 'Noto Sans Arabic', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: 1;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    width: calc(50% - 40px);
    margin: 20px;
    max-width: 300px;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card-content h3 {
    margin: 0;
    font-size: 1.5em;
}

.card-content p {
    margin-top: 5px;
    color: #555;
}

header {
    font-family: 'Cairo', sans-serif;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

header h1 a {
    color: inherit; 
    text-decoration: none; /* Remove underline */
}

header h1 a:hover,
header h1 a:visited,
header h1 a:active {
    color: inherit; /* Maintain color on hover, visited, and active states */
}

footer {
    color: black;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.social-icons {
    font-size: 24px;
}

.social-icons a {
   color: black; 
   margin: 0 10px; 
   text-decoration: none; /* Remove underline */
}

/* Ensure links do not have a blue color effect */
a {
   color: inherit; /* Inherit color from parent */
   text-decoration: none; /* Remove underline */
}

a:hover,
a:visited,
a:active {
   color: inherit; /* Maintain color on hover, visited, and active states */
   text-decoration: none; /* Ensure no underline on hover */
}

@media (max-width: 600px) {
   .card {
       width: calc(50% - 20px);
       margin: 10px; 
       max-width: none; 
   }
}

@media (max-width: 400px) {
   .card {
       width: calc(100% - 20px);
       margin: 10px; 
       max-width: none; 
   }
}
