:root{
    --green:#0b7a3e;
    --green-2:#2fa05a;
    --gold:#c79a1b;
    --navy:#0b2b4a;
    --red:#e10600;
    --muted:#5e6f7d;
    --bg:#ffffff;
    --light-gray:#f8fafc;
}

*{box-sizing:border-box; margin:0; padding:0;}
html,body{height:100%; scroll-behavior:smooth;}

body{
    margin:0;
    font-family:'Cairo', system-ui, Arial, sans-serif;
    background:var(--bg);
    color:var(--navy);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.6;
    padding-top: 80px; /* تصغير للموبايل */
}

/* ========== تحسينات الجوال الشاملة ========== */
@media (max-width: 600px) {
    body { padding-top: 70px; }
    .container { padding: 0 16px; }
    h1 { font-size: 36px !important; }
    .hero .logo img { max-height: 160px !important; }
    .coming { font-size: 16px !important; padding: 10px 20px !important; }
    .card { padding: 20px !important; }
    .grid { gap: 20px !important; }
    .aside .box { padding: 18px !important; }
    .btn { padding: 10px 20px !important; font-size: 15px !important; }
}

@media (max-width: 380px) {
    h1 { font-size: 30px !important; }
    .hero .logo img { max-height: 130px !important; }
    .brand .title { font-size: 15px !important; }
    .brand .note { font-size: 11px !important; }
}

/* Header */
.topbar{
    width:100%;
    border-bottom:1px solid rgba(11,42,74,0.06);
    background:rgba(255,255,255,0.98);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.topbar.scrolled{
    background:rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(11,42,74,0.08);
    border-bottom:1px solid rgba(11,42,74,0.1);
}

.container{
    max-width:1060px;
    margin:0 auto;
    padding:0 24px;
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:8px 0; /* تصغير للموبايل */
}

.brand{
    display:flex;
    align-items:center;
    gap:8px; /* تصغير للموبايل */
}

.brand img{
    height:48px; /* تصغير للموبايل */
    width:auto;
    display:block;
}

@media (max-width: 600px) {
    .brand img { height: 40px; }
}

.brand .title{
    font-weight:700;
    color:var(--navy);
    font-size:18px;
    line-height:1.2;
}

.brand .note{
    font-size:12px;
    color:var(--muted);
}

.navlinks{
    display:flex;
    gap:12px;
    align-items:center;
}

.navlinks a{
    color:var(--navy);
    text-decoration:none;
    font-weight:600;
    padding:6px 12px;
    border-radius:8px;
    transition: all 0.2s;
    font-size:15px;
}

.navlinks a:hover{background:rgba(11,122,62,0.08);}

.cta{
    background:var(--green);
    color:#fff !important;
    padding:6px 18px;
    border-radius:30px;
    font-weight:700;
    font-size:14px;
    box-shadow:0 6px 18px rgba(11,122,62,0.15);
}
.cta:hover{background:#0a682e;}

/* Mobile menu */
.menu-btn{
    display:none;
    background:none;
    border:0;
    font-size:28px;
    color:var(--navy);
    cursor:pointer;
    padding:4px 8px;
}

@media(max-width:820px){
    .navlinks{
    display:none;
    width: calc(100% - 32px);
    }
    .menu-btn{display:block;}
    .brand .title { font-size: 16px; }
    .brand .note { font-size: 11px; }
}

/* Hero */
.hero{
    padding:30px 0 24px;
    text-align:center;
}
.hero .logo{
    display:inline-block;
    margin-bottom:12px;
}
.hero .logo img{
    max-height:220px;
    width:auto;
}
.hero h1{
    margin:6px 0 8px;
    font-size:48px;
    font-weight:900;
    color:var(--green);
    letter-spacing:-0.5px;
}
.hero p{
    max-width:800px;
    margin:0 auto;
    color:var(--muted);
    font-size:18px;
    padding:0 10px;
}

@media (max-width: 600px) {
    .hero p { font-size: 16px; }
}

.coming{
    display:inline-block;
    margin-top:20px;
    padding:12px 28px;
    border-radius:50px;
    background:linear-gradient(135deg, #9ddebb, #50f991);
    color:#0a1a1f;
    font-weight:800;
    font-size:20px;
    border:1px solid rgba(255,255,200,0.3);
    box-shadow:0 8px 20px rgba(199,154,27,0.2);
}

/* Sections */
section{padding:40px 0; border-bottom:1px solid rgba(11,42,74,0.04);}

.grid{
    display:grid;
    grid-template-columns:1fr 360px;
    gap:32px;
    align-items:start;
}

@media(max-width:920px){
    .grid{
    grid-template-columns:1fr;
    gap:24px;
    }
}

.card{
    background:#fff;
    padding:28px;
    border-radius:20px;
    box-shadow:0 8px 24px rgba(11,42,74,0.04);
    border:1px solid rgba(11,42,74,0.03);
    margin-bottom:24px;
    transition: transform 0.2s;
}
.card:hover{transform:translateY(-2px);}

h2{
    margin:0 0 12px;
    font-size:24px;
    color:var(--navy);
    font-weight:700;
}

.muted{
    color:var(--muted);
    font-size:16px;
    margin-bottom:16px;
}

ul.features{
    padding-right:20px;
    margin:16px 0 0;
}
ul.features li{
    margin:10px 0;
    color:var(--navy);
}

/* aside */
.aside .box{
    margin-bottom:24px;
    padding:24px;
    border-radius:20px;
    background:#fff;
    border:1px solid rgba(11,42,74,0.03);
}

.btn{
    display:inline-block;
    background:var(--green);
    color:#fff;
    padding:12px 24px;
    border-radius:40px;
    text-decoration:none;
    font-weight:700;
    font-size:16px;
    border:none;
    cursor:pointer;
    transition: all 0.2s;
    text-align:center;
}
.btn:hover{background:#0a682e; transform:scale(1.02);}
.btn:active{transform:scale(0.98);}

/* Tags */
.tag{
    display:inline-block;
    background:rgba(11,122,62,0.1);
    color:var(--green);
    padding:5px 12px;
    border-radius:50px;
    font-weight:700;
    font-size:13px;
    margin-bottom:14px;
}

/* Forms */
input, select, textarea{
    font-family:'Cairo', sans-serif;
    background:var(--light-gray);
    border:1px solid #edf0f5;
    border-radius:12px;
    padding:12px 16px;
    font-size:15px;
    transition: all 0.2s;
    width:100%;
}
input:focus, select:focus, textarea:focus{
    outline:none;
    border-color:var(--green);
    background:#fff;
}

/* Modal - متجاوب كامل */
#volunteerModal{
    display:none; 
    position:fixed; 
    top:50%; 
    left:50%; 
    transform:translate(-50%,-50%); 
    background:white; 
    padding:32px; 
    border-radius:24px; 
    box-shadow:0 25px 50px rgba(0,0,0,0.2); 
    z-index:1001; 
    max-width:550px; 
    width:90%;
    direction:rtl;
    max-height:90vh;
    overflow-y:auto;
}

@media (max-width: 600px) {
    #volunteerModal {
    padding:24px;
    width:92%;
    max-height:85vh;
    }
    #volunteerModal h3 { font-size: 22px !important; }
}

#volunteerModal input,
#volunteerModal select,
#volunteerModal textarea {
    width: 100% !important;
    margin: 8px 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
}

#volunteerModal textarea {
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

#volunteerOverlay{
    display:none; 
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background:rgba(0,0,0,0.6); 
    z-index:1000;
    backdrop-filter:blur(3px);
}

/* Footer */
footer{
    padding:28px 0; 
    text-align:center; 
    color:var(--muted); 
    font-size:14px;
    border-top:1px solid rgba(11,42,74,0.04);
}

/* Utilities */
:target{scroll-margin-top:90px;}
.note{color:var(--muted); font-size:14px; margin-top:8px;}

/* تحسين اللمس للموبايل */
@media (max-width: 820px) {
    .navlinks a, .btn, button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    .brand {
    flex:1;
    }
}