@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 for the entire form */
        .donation-container {
            padding: 40px;
            border-radius: 8px;
            width: 100%;
            max-width: 500px;
            margin: auto;
        }

        /* Header Styling */
        .form-header {
            text-align: center;
            margin-bottom: 30px;
        }

        /* Style for the combined header line (VISA and Donation text) */
        .form-header h1 {
            font-size:24px;
            color: rgba(2, 39, 59, 1);
            font-weight: normal;
            display: flex; 
            justify-content: center;
            align-items: center;
            margin-top: 5px;
            gap: 8px; /* Space between elements */
            line-height: 1.2;
        }
        
        /* Style for the VISA text within the h1 */
        .visa-logo {
            font-size: 1.8rem; /* Make VISA text larger and bolder */
            font-weight: bold;
            color: #1a1f71; /* A deep blue for VISA */
            letter-spacing: 0.5px;
            line-height: 1; 
        }

        /* Style for the Diamond Icon */
        .diamond-icon {
            font-size: 19px;
            color: #ff9900; /* Yellow/Orange color */
            line-height: 1.5; 
        }

        /* Form Group Styles */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label,
        .split-item label {
            display: block;
            margin-bottom: 5px;
            font-size: 15px;
            color: rgba(7, 51, 74, 1);
        }

        .form-group input,
        .form-group-split input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 1rem;
            color: #555;
            background-color: #f7f9fa; /* Light grey background for fields */
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group-split input:focus,
        .input-with-icon input:focus {
            border-color: #2099d8;
            outline: none;
            background-color: #fff;
        }

        /* Split Group (Expiry and CVV) */
        .form-group-split {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .split-item {
            flex: 1;
        }
        
        /* CVV/CVC Input with Icon */
        .input-with-icon {
            display: flex;
            align-items: center;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #f7f9fa;
        }

        .input-with-icon .icon {
            color: #aaa;
            margin-left: 10px; /* Space between icon and input */
            line-height: 0;
            padding-right: 10px;
        }

        .input-with-icon input {
            flex-grow: 1;
            border: none;
            background-color: transparent;
            padding: 12px 0;
            text-align: center; /* Center placeholder text */
        }
        
        /* Separator Line */
        .separator {
            border: 0;
            height: 1px;
            background-color: #eee;
            margin: 30px 0;
        }

        /* Donation Amount Section */
        .form-amount {
            margin-bottom: 30px;
        }

        .amount-title {
            font-size: 16px;
            color: rgba(2, 39, 59, 1);
            margin-bottom: 10px;
        }

        .amount-value {
            font-size: 36px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

        /* Custom Checkbox Styling */
        .checkbox-container {
            display: block;
            position: relative;
            padding-right: 30px; /* Space for the custom checkbox */
            cursor: pointer;
            font-size: 0.9rem;
            user-select: none;
            line-height: 1.4;
        }

        .checkbox-container input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        .checkmark {
            position: absolute;
            top: 0;
            right: 0;
            height: 20px;
            width: 20px;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 4px;
            transition: background-color 0.2s, border-color 0.2s;
        }

        .checkbox-container input:checked ~ .checkmark {
            background-color: #2099d8;
            border-color: #2099d8;
        }

        .checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }

        .checkbox-container input:checked ~ .checkmark:after {
            display: block;
        }

        /* Custom checkmark icon (White checkmark) */
        .checkbox-container .checkmark:after {
            right: 6px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 3px 3px 0;
            transform: rotate(45deg);
        }

        .checkbox-label {
            color: rgba(7, 51, 74, 1);
            font-size: 16px;
        }

        /* Action Buttons */
        .form-actions {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.2s, opacity 0.2s;
            text-align: center;
            flex-grow: 1;
        }

        .btn-primary {
            background-color: #2099d8; /* Blue color */
            color: white;
        }

        .btn-primary:hover {
            background-color: #1b84bb;
        }

        .btn-secondary {
            background-color: white;
            color: #2099d8;
            border: 1px solid #2099d8;
        }

        .btn-secondary:hover {
            background-color: #f0f8ff;
        }

        /* ==================================
           RESPONSIVENESS (Media Queries)
           ================================== */
        @media (max-width: 600px) {
            .donation-container {
                padding: 20px;
                box-shadow: none; /* Less formal on mobile */
            }

            .form-header h1 {
                flex-wrap: wrap; /* Allow wrapping on small screens */
                white-space: normal;
                gap: 5px;
            }

            .form-group-split {
                flex-direction: column; /* Stack Expiry and CVV vertically */
                gap: 20px;
            }

            .form-actions {
                flex-direction: column; /* Stack buttons vertically */
            }

            .btn {
                width: 100%;
            }
            
            .amount-value {
                font-size: 1.5rem;
            }
        }