:root {
    --primary: #2ad3d8;  /* لون الفريق */
    --accent: #d96c29;   /* لون ثانوي */
    --dark: #222;
    --light: #fff;
    --muted: #777;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Cairo", sans-serif;
    background: var(--light);
    color: var(--dark);
}

/* Container */
.container {
    width: min(1200px, 90%);
    margin: auto;
}

/* ================= NAVBAR ================= */

.navbar {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; 
}

/* حالة التظليل لما القائمة تفتح */
.navbar.dimmed {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}

/* محتوى الهيدر: الشعار بالنص */
.nav-content {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center; /* يخلي الشعار بالنص */
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-area .logo {
    width: 42px;
}

.logo-area .brand {
    font-weight: 800;
    font-size: 1.1rem;
}

/* ===== زر القائمة (أقصى اليمين) ===== */

.nav-toggle {
    position: absolute;
    top: 50%;
    right: 20px;               /* يحطه أقصى يمين */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
/* شكل الخطوط الأساسية */
.nav-toggle span {
    width: 22px;
    height: 3px;
    background: var(--dark);
    border-radius: 51px;
    transition: 0.25s ease;
    transform-origin: right center; /* مهم للسهم */
}
/* Hover → يتحول لسهم < (مو X) */
.nav-toggle:hover span:nth-child(1) {
    transform: rotate(-21deg);
}
.nav-toggle:hover span:nth-child(2) {
    opacity: 0;
}
.nav-toggle:hover span:nth-child(3) {
    transform: rotate(21deg);
}

.about {
    text-align: center;
    padding: 40px 20px;
}

.about h2 {
    font-size: 1.8rem; /* الخط العريض اللي بالصورة */
    font-weight: 900;
    margin-bottom: 10px;
}

.about p {
    max-width: 600px;
    margin: auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* ===== CTA BUTTONS ===== */
.cta-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0 60px;
}

.cta-btn {
    background: #78db5b;  /* الأخضر الموجود بالصورة */
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: 0.2s;
}

.cta-btn:hover {
    opacity: 0.8;
}
/* ================= SIDE MENU ================= */

.side-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: var(--light);
    padding: 80px 18px;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: right 0.35s ease;
    z-index: 3000; /* أعلى من overlay والهيدر */
}

/* عند الفتح */
.side-menu.open {
    right: 0;
}

/* روابط القائمة */
.side-menu a {
    position: relative;
    display: block;
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 10px;
    color: var(--dark);
    overflow: hidden; /* يمنع خروج الأنيميشن */
    transition: color 0.2s ease;
}

/* الـ تأثير */
.side-menu a::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;                  /* يبدأ من اليمين */
    height: 100%;
    width: 0;
    background: var(--primary);
    transition: width .25s ease;
    z-index: -1;               /* يخلي اللون خلف النص */
}

/* عند الـ hover */
.side-menu a:hover {
    color: #fff;               /* النص يصير أبيض */
}

.side-menu a:hover::before {
    width: 100%;               /* اللون يمتد من اليمين لليسار */
}



/* ===== overlay ===== */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 2000; /* أقل من القائمة */
}

.menu-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
/* ================= HERO ================= */

.hero {
    background: url('assets/logo.png'); /* أو gradient */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff, rgba(42,211,216,0.15));
}


.hero-container {
    max-width: 940px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-text h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin-bottom: 12px;
}

.hero-text p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 26px;
    max-width: 420px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    padding: 12px 22px;
    font-size: .95rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
    transition: .2s;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    opacity: .85;
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Logo area في الهيرو */
.hero-logo img {
    width: 250px;
    height: auto;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-logo img {
        margin-top: 20px;
        width: 180px;
    }

    .hero-text p {
        margin-inline: auto;
    }
}
