.section1 {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.container {
    width: 70%;
    margin: auto;
    background: transparent;
    padding: 60px;
    border-radius: 12px;
}

.section {
    background: #fff;
    padding: 50px;
    margin-bottom: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.section:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section h2 {
    margin-bottom: 15px;
    color: #668c0a;
    font-size: 1.5em;
    border-bottom: 2px solid #d0d0d0;
    padding-bottom: 20px;
}

.category-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 25px 0; /* Increased space between boxes */
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.category-card a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}

.category-card h3 {
    margin: 0;
    color: #668c0a;
    font-size: 1.2em;
}

.category-card p {
    margin: 5px 0;
    color: #34495e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    .section {
        padding: 15px;
    }

    .section h2 {
        font-size: 1.3em;
    }

    .category-card {
        padding: 15px;
    }
}