/* styles.css */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* تنسيقات عامة */
* {
    font-family: 'Cairo', sans-serif;
}

/* تنسيقات صندوق الوحدة */
.unit-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.unit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* تنسيقات الروابط داخل صندوق الوحدة */
.unit-box a {
    display: block;
    width: 100%;
    text-align: center;
    background: white;
    color: #3b82f6;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background 0.3s ease;
}

.unit-box a:hover {
    background: #dbeafe;
}

/* تنسيقات شريط التنقل */
nav {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

nav .text-2xl {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
}

nav a {
    color: #4b5563;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3b82f6;
}

nav button {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background 0.3s ease;
}

nav button:hover {
    background: #2563eb;
}

/* تنسيقات تذييل الصفحة */
footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1.5rem;
}

footer h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer p, footer ul {
    color: #9ca3af;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: white;
}

footer .border-t {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}


.question, .drop-zone {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drop-zone {
    min-height: 20px;
    width: 100px;
    padding: 8px 16px;
    display: inline-block;
    margin: 0 5px;
    border-radius: 5px;
}

.drag-item {
    background: #4ade80;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: move;
    margin: 5px;
}

.correct-drop {
    background: #4ade80 !important;
}

.incorrect-drop {
    background: #f87171 !important;
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');
* {
    font-family: 'Cairo', sans-serif;
}
.question {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.option {
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}
.option:hover {
    background: rgba(255, 255, 255, 0.2);
}
.correct {
    background: #4ade80 !important;
}
.incorrect {
    background: #f87171 !important;
}
.correct-answer {
    background: #4ade80 !important;
    color: white;
}