@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Cairo:wght@200..1000&display=swap');

:root {
    /* ... (احتفظ بالمتغيرات الأصلية) ... */
    --primary-color: #007bff; /* أزرق للأزرار */
    --secondary-color: #1e8449; /* أخضر للشعار */
    --text-color: #333;
    --bg-color: #fff;
    --border-radius: 8px;
    --primary: #0b4d8f;
--primary-600: #115da9;
--accent: #f2c64b;
--heading: #0f2233;
--text: #2a2e34;
--dark-blue: #0A141A; 
    --white: #FFFFFF;
       --dark-blue: #0A192F; /* Background color from the image */
    --white: #FFFFFF;    /* Text color */
    --hover-color: #64FFDA; /* A bright color for smooth hover (optional: use a subtle white/light blue if you prefer) */
    --transition-speed: 0.3s; /* Smoothness for hovers */
    --icon-size: 1.5rem; /* Base size for social icons */
    --text-color: #B0B0B0; 
    --link-hover-color: #5BC0F8; /* لون أزرق فاتح جميل للهوفر */
    --padding-desktop: 70px 100px 40px;
    --padding-mobile: 40px 20px 20px;
    --border-color: rgba(255, 255, 255, 0.15); 
    --ink:#061923;
--muted:#3b5563;
--accent:#f2b307;
--bg:#ffffff;
--card:#f3f5f7;
--maxw:1160px;
}
root{
--muted: #6b7280;
--card-bg: #ffffff;
--surface: #fafbfc;
--border: #e5e7eb;
--link: #1e74c7;
--link-700: #195da0;
  --bg:#F3F7FD;          /* خلفية الصفحة */
      --card:#ffffff;        /* خلفية الكارت */
      --ink:#0E1B2A;         /* نص داكن */
      --muted:#8A8F98;       /* نص فاتح */
      --accent:#F5B700;      /* الماسة الصفراء */
      --btn:#E7F6EE;         /* لون زر التفاصيل */
      --btn-ink:#0B6E4F;     /* نص الزر */
      --shadow: 0 6px 18px rgba(0,0,0,.08);
      --radius:14px;
    --footer-bg:#77b3cf; /* لون الخلفية */
      --ink:#fff;
      --muted:rgba(255,255,255,.8);
      --muted-2:rgba(255,255,255,.62);
      --hover:#fff;
      --divider:rgba(255,255,255,.38);
      --ring:rgba(255,255,255,.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}
a {
    color: #f6ebeb;
    /* text-decoration: nne; */
    font-size: 0.95em;
    transition: color 0.3s;
}

a:hover {
    color: var(--white);
}

body {
  font-family: 'Noto Sans Arabic', sans-serif;
    /* background-color: #f4f4f4;  */
    /* line-height: 1.6; */
    /* text-align: right; */
}

/* شريط التنقل (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color);
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
        /* قيمة عالية جداً لضمان ظهوره في المقدمة */

}


/* الترتيب الجديد للأقسام (شاشات الكمبيوتر) */
.navbar-right { /* زر تبرع الآن (أقصى اليمين) */
    order: 3;
    display: flex;
    align-items: center;
}

.navbar-links { /* الروابط والشعار (المنتصف) */
    order: 2;
    list-style: none;
    display: flex;
    align-items: center; /* لمحاذاة الشعار مع الروابط */
    flex-grow: 1;
    justify-content: center; /* لجعل الروابط في المنتصف */
    gap: 25px;
}

.navbar-left { /* مربع البحث (أقصى اليسار) */
    order: 1;
    display: flex;
    align-items: center;
}

/* الشعار */
.logo-container {
    list-style: none; /* إزالة التنقيط من عنصر li الخاص بالشعار */
    padding: 0 10px;
}
.logo {
    font-size: 32px;
    color: var(--secondary-color);
    /* إزالة أي هوامش غير ضرورية */
}

/* زر التبرع */
.donate-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background-color 0.3s;
    margin-inline-start: 15px; /* مسافة عن زر فتح القائمة */
}

.donate-btn:hover {
    background-color: #0056b3;
}

/* الروابط */
.navbar-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.navbar-links li a:hover {
    color: var(--primary-color);
}

/* مربع البحث */
.search-box {
    display: flex;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 40px;
}

.search-box input {
    border: none;
    padding: 0 10px;
    outline: none;
    width: 200px;
    text-align: right;
}

.search-box button {
    background-color: transparent;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-box button:first-of-type,
.search-box button:last-of-type {
    border-inline-start: 1px solid #ccc;
}

/* الشريط الجانبي (Sidebar) - لم يتغير */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar a {
    padding: 15px 25px 15px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
    background-color: var(--primary-color);
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-inline-start: 50px;
}

.donate-btn-sidebar {
    background-color: var(--primary-color);
    color: white !important;
    text-align: center;
    margin-top: 20px;
}
 .navbar-links {
          pointer-events: auto !important; /* تأكد من السماح بالنقرات */

    }


/* زر فتح القائمة (يظهر فقط في الجوال) */
.openbtn {
    font-size: 30px;
    cursor: pointer;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    display: none; /* مخفي في الشاشات الكبيرة */
    padding: 0;
    margin-inline-start: 15px; /* مسافة عن زر تبرع الآن */
}
.logo img {
    height: 40px;
}


/* ------------------------------------- */
/* التجاوبية (Media Queries) */
/* ------------------------------------- */

@media screen and (max-width: 992px) {
    .navbar-links {
        display: none; /* إخفاء الروابط والشعار في الشاشات الأصغر */
    }

    .openbtn {
        display: block; /* إظهار زر فتح القائمة */
    }
    
    /* إعادة ترتيب الأقسام في الجوال ليكون التبرع أقصى اليمين والبحث أقصى اليسار */
    .navbar-right {
        order: 1; /* اليمين */
    }
    .navbar-left {
        order: 3; /* اليسار */
    }
}


@media screen and (max-width: 600px) {
    .navbar {
        padding: 10px;
    }

    .search-box input {
        width: 100px;
    }

    .donate-btn {
        /* إبقاء زر التبرع ظاهرًا هنا أو يمكنك إخفاؤه حسب رغبتك */
        /* display: none; */ 
    }

    .sidebar {
        width: 70%;
    }
}













/* container */
.wrapper{
  max-width:780px; margin:28px auto 80px; padding:0 16px;
}
.header{
  text-align:center; margin:12px 0 22px;
}
.header h1{
  font-weight:800; font-size:32px; margin:0 0 6px;
  color: rgba(2, 39, 59, 1);
}
.diamonds{display:inline-flex; align-items:center; gap:12px; color:#f7b500}
.diamonds i{width:8px;height:8px;background:#f7b500;display:inline-block;transform:rotate(45deg);border-radius:1px;}

/* card */
.card{
  background:var(--paper); border:1px solid var(--ring); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px; overflow:hidden;
}

/* tabs */
.tabs{
  display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:4px auto 14px; max-width:420px;
}
.tab{
  border:1px solid var(--ring); background:#e9f4ff; color:#2f75b5;
  font-weight:700; padding:10px 14px; border-radius:10px; text-align:center; cursor:pointer;
  transition:.2s;
}
.tab.secondary{background:#dfeffd}
.tab.active{
  background:rgba(31, 136, 193, 1); color:#fff; border-color:transparent; box-shadow:0 6px 16px rgba(26,135,255,.25)
}

/* form controls */
.group{margin:14px 0}
.label{display:block; font-weight:700;
    
   color:rgba(7, 51, 74, 1) ; 
    margin:4px 2px 8px; color:var(--ink)}

.select{
  position:relative;
}
.select select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  width:100%; padding:12px 42px 12px 12px;
  border:1px solid var(--ring); border-radius:12px; background:#f4f8fd; color:#2f587a; font-weight:700;
  outline:none;
}
.select:after{
  content:"▾"; position:absolute; right:12px; top:50%; transform:translateY(-50%);
  color:#2f587a; pointer-events:none;
}

/* amount chips + custom input */
.amount-row{
  display:grid; grid-template-columns: 120px 1fr; gap:10px; align-items:center;
}
@media (max-width:540px){ .amount-row{ grid-template-columns: 1fr; } }
.amount-chip{
  background:#e9f4ff; color:#2f75b5; border:1px solid var(--ring);
  padding:12px 14px; border-radius:12px; text-align:center; font-weight:700; cursor:pointer; user-select:none; transition:.2s;
}
.amount-chip.active{ background:rgba(31, 136, 193, 1); color:#fff; border-color:transparent }
.input{
  display:block; width:100%; padding:12px 14px; border:1px solid var(--ring);
  border-radius:12px; background:#fff; outline:none; transition:border .2s, box-shadow .2s;
}
.input:focus{ border-color:#9bc9ff; box-shadow:0 0 0 4px #e8f3ff }

/* note */
.textarea{
  width:100%; min-height:120px; padding:12px 14px; resize:vertical;
  border:1px solid var(--ring); border-radius:12px; outline:none; background:#fff;
}
.help{font-size:12px; color:#7b8fa0; margin-top:6px}

/* payment methods */
.payments{display:grid; grid-template-columns: repeat(4,1fr); gap:10px; margin-top:8px}
@media (max-width:640px){ .payments{ grid-template-columns: repeat(2,1fr);} }

.paybtn{
  display:flex;
  font-size: 20px;
  gap:8px;
  padding:12px 10px; background:#f5f9ff; border:1px solid var(--ring); border-radius:12px;
  cursor:pointer; transition:.2s; font-weight:700; color:rgba(9, 99, 148, 1);
}
.paybtn:hover{transform:translateY(-1px)}
.paybtn.active{ background:#e6f2ff; border-color:#a7d0ff; box-shadow: inset 0 0 0 2px #a7d0ff}
.payicon{width:34px;height:20px;display:inline-block}

/* CTA */
.actions{margin-top:18px;
}
.btn{
  width:100%; border:none; border-radius:12px; font-weight:800; letter-spacing:.3px;
  padding:14px; background:rgba(31, 136, 193, 1); color:#fff; cursor:pointer; transition:.2s;
  
  font-size: 20px;
  box-shadow:0 10px 22px rgba(29,140,248,.2)
}
.btn:hover{filter:brightness(1.05); transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

/* footer mini */
.mini{
  text-align:center; color:#7b8fa0; font-size:13px; margin-top:12px
}
.badges{display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap}
.badge{border:1px dashed var(--ring); padding:6px 10px; border-radius:10px; background:#fff}

/* utility */
.row{display:flex; align-items:center; gap:10px}
