* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.back-to-system {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.back-to-system:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.header h1 {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}

.header .version {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.intro-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.intro-box h2 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 15px;
}

.intro-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.highlight-box {
    background: #fff3cd;
    border-right: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.highlight-box strong {
    color: #856404;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-header {
    padding: 25px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.card-header.management {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-header.teaching {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-header.administrative {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-header.operational {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

.card-body ul {
    list-style: none;
    padding: 0;
}

.card-body li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body li:last-child {
    border-bottom: none;
}

.btn {
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-block;
}

.btn:hover {
    background: #764ba2;
}

.btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

.footer {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
    text-align: center;
}

.footer h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.footer p {
    color: #666;
    margin: 10px 0;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.badge.ready {
    background: #d4edda;
    color: #155724;
}

.badge.soon {
    background: #fff3cd;
    color: #856404;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
