@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Tajawal:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
.logo a {
    text-decoration: none;
    color: inherit;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Cairo', sans-serif;
    background: #f8f9fa;
    color: #333;
    direction: rtl;
    line-height: 1.8;
}

header {
    background: rgba(13, 110, 253, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 36px;
    font-weight: 900;
    color: white;
}

.logo i {
    font-size: 48px;
    color: #ffc107;
    margin-left: 12px;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffc107;
}

.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.hero {
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('https://www.scheer-imc.com/wp-content/uploads/2021/07/imcEDU_featured_2021_07.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px; /* للهيدر الثابت */
}

.hero-content h1 {
    font-size: 68px;
    font-weight: 900;
    color: #ffc107;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 28px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.btn-primary {
    background: #198754;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.4s;
}

.btn-primary:hover {
    background: #20c997;
    transform: translateY(-5px);
}

.services { padding: 100px 0; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.section-title { text-align: center; font-size: 46px; color: #0d6efd; margin-bottom: 60px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; transition: all 0.4s; }
.card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.card i { font-size: 60px; color: #0d6efd; margin-bottom: 20px; }

.main-article { padding: 100px 0; background: #f8f9fa; }
.article-content { background: white; padding: 60px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.article-content h2 { font-size: 42px; color: #0d6efd; text-align: center; margin-bottom: 30px; }
.article-content img { width: 100%; border-radius: 15px; margin: 30px 0; }

footer { background: linear-gradient(135deg, #0d6efd, #198754); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-grid a { color: #d4edda; text-decoration: none; display: block; margin: 10px 0; }

@media (max-width: 992px) {
    .hamburger { display: block; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; background: rgba(13, 110, 253, 0.95); width: 100%; padding: 20px; }
    nav ul.active { display: flex; }
    .hero-content h1 { font-size: 48px; }
    .hero-content p { font-size: 22px; }
}

@media (max-width: 768px) {
    .header-container { padding: 15px 20px; }
    .hero-content h1 { font-size: 38px; }
    .btn-primary { padding: 15px 40px; font-size: 20px; }
}