
@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;
    --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;
 --bg: #f2f7fc;
    --card:#fff;
    --text:#061923;
    --muted:#7b8a97;
    --accent:#f5b700;
    --stroke:#e6edf3;
    --radius:14px;
    --shadow:0 6px 18px rgba(6,25,35,.06);

}







body {
  font-family: 'Noto Sans Arabic', sans-serif;
   
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}


/* شريط التنقل (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(227, 241, 250, 1);
    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: rgb(99, 227, 135);
    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%;
    }
}








/* section1 */

   .wrap{
    margin:24px auto
    ;padding:0 16px}
  .title{display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;margin:10px 0 22px
}
  .title h2{margin:0;
    font-weight:800;
    font-size:32px
}
  .diamond{
    width:9px;
    height:9px;
    background:var(--accent);
    transform:rotate(45deg);
    border-radius:2px;
    box-shadow:0 0 0 2px rgba(245,183,0,.12)}
  .row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:0 auto 16px;
    flex-wrap:wrap
}
  select{
   padding: 14px 45px;
    border-radius:10px;
      background: #fff;
    border-bottom:1px solid rgba(94, 144, 176, 1);
    min-width:170px}
  .cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border:1px solid var(--line);
    border-radius:14px;
    overflow:hidden}
  .card{
    padding: 10px 155px;
  margin-top: 56px;
    text-align:center
}
  .card {
     border-right: 1px solid rgba(94, 144, 176, 1);
}
  .card h4{
    margin:4px 0 6px;
 font-size: 20px;
 font-weight: 600;
    font-family: 'Arial', sans-serif;

}
  .card p{
    margin:0;
    color:rgba(126, 126, 126, 1);
    line-height:1.8;
   font-size: 19px;
    white-space:pre-line
    
}

.soci{
    width: 60px;
    height: 60px;
    display: block;
    margin-top: -59px;
    margin-right: -58px;
}
span{
    font-size: 24px;
    color: rgba(7, 51, 74, 1);
}
  @media (max-width:900px){
    .cards{grid-template-columns:1fr}.card + .card{border-inline-start:none;
        
        border-block-start:1px solid var(--line)}}

/* section1 */

/* section2 */

/* Main Container */
.contact-container {
    display: flex; /* Enables flexbox layout */
    max-width: 1200px; /* Max width of the content area */
margin: 226px auto;    border-radius: 8px;
    overflow: hidden; /* Important for containing map/image */
}

/* Map Section */
.map-section {
    flex: 1; /* Allows it to grow and take half the space */
    min-width: 50%; /* Ensures it takes at least 50% on large screens */
    position: relative; /* Context for absolute positioning if needed */
}

/* Map Image Styling - using the uploaded image as a static placeholder */
.map-image {
    width: 543px;
    height: 543px;
    object-fit: cover; /* Ensures the image covers the area nicely */
    display: block;
}

/* Form Section */
.form-section {
    flex: 1; /* Allows it to grow and take half the space */
    min-width: 50%; /* Ensures it takes at least 50% on large screens */
    padding: 40px;
}

.form-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-right: 4px solid #007bff; /* Small vertical line near the title */
    padding-right: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spacing between form groups */
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
    font-size: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #f0f4f7; /* Light blue/grey background for input fields, matching the image */
    transition: border-color 0.3s;
    resize: vertical; /* Allows users to resize the textarea vertically */
}

.form-input:focus,
.form-textarea:focus {
    border-color: #007bff; /* Highlight on focus */
    outline: none;
    background-color: #ffffff; /* White background on focus */
}

/* Hide the label for the textarea as it appears to be implicitly above */
.form-label-hidden {
    display: none;
}


/* Submit Button */
.submit-button {
    background-color: #2a93c7; /* Blue color matching the image */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #1e709b; /* Darker blue on hover */
}

/* ====================================
   RESPONSIVENESS (Mobile-First Approach)
   ==================================== */

/* For screens smaller than 768px (standard tablet/desktop breakpoint) */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stacks the map and form vertically */
        margin: 20px;
    }

   
    .form-section {
        min-width: 100%; /* Take full width */
    }
    .map-section img{
        margin: auto;
        width: 291px;
        object-fit: scale-down;

    }

    .form-section {
        padding: 20px; /* Reduced padding on mobile */
    }

    .map-section {
        /* Optional: adjust map height on mobile if necessary, or let the image aspect ratio dictate it */
        /* height: 250px; */
    }

    .form-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

/* For screens smaller than 480px (extra small phones) */
@media (max-width: 480px) {
    .contact-container {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
}



/* section2 */




/* FOOTER STRUCTURE */
.soh-footer {
    background-color: var(--dark-blue);
    padding: 30px 20px;
}

.soh-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Allows sections to wrap on smaller screens */
    justify-content: space-between;
    gap: 30px; /* Space between columns */
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

/* 1. LOGO SECTION */
.soh-logo-section {
    flex: 1 1 200px; /* Flexible width, min-width 200px */
}

.soh-logo {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.soh-logo h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
}

.soh-logo-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 2. LINK GROUPS (Support & About) */
.soh-link-group {
    flex: 1 1 150px; /* Flexible width, min-width 150px */
}

.soh-link-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.soh-link-group ul {
    list-style: none;
}

.soh-link-group li {
    margin-bottom: 8px;
}

.soh-link-group a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    /* Smooth hover effect for links */
    transition: color var(--transition-speed) ease;
}

.soh-link-group a:hover {
    color: var(--hover-color);
}


/* 3. CONTACT SECTION */
/* 3. CONTACT SECTION */
.soh-contact-group {
    flex: 1 1 300px;
    /* إزالة محاذاة اليمين لتظهر الأيقونات بجوار الخط */
    text-align: left; 
    
    /* *** التعديل: إضافة border عمودي على اليسار (بالطول) *** */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px; /* مساحة بين الخط الفاصل والمحتوى */
}
/* ملاحظة: سنستخدم محاذاة اليمين داخل الـ Media Query للشاشات الصغيرة */

.soh-contact-group h3{
  color: rgba(255, 255, 255, 1);
}
.soh-contact-group p {
    font-size: 0.9rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
}

/* SOCIAL ICONS (THE MAIN FOCUS) */
/* SOCIAL ICONS (THE MAIN FOCUS) */
.soh-social-icons {
    /* *** التعديل: إضافة border علوي *** */
    padding-top: 15px; /* مسافة بين الخط الفاصل والأيقونات */
    margin-bottom: 20px;
    /* Space out icons */
    display: flex;
    gap: 15px; /* Space between icons */
}

.soh-social-icons a {
    /* Critical for ensuring icons are square/same dimensions */
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--icon-size); /* Same width */
    height: var(--icon-size); /* Same height = same dimensions/square */
    font-size: var(--icon-size);
    color: var(--white);
    text-decoration: none;
    /* Smooth hover transition */
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

/* Smooth Hover Effect */
.soh-social-icons a:hover {
    color: var(--hover-color);
    /* Subtle scale effect for extra smoothness/pop */
    transform: translateY(-3px);
}


/* COPYRIGHT SECTION */
.soh-copyright {
    margin: 20px auto 0;
    text-align: center;
}

.soh-copyright p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .soh-footer-container {
        /* On medium screens, switch to two columns */
        justify-content: space-around;
    }

    /* Reset text alignment for better reading on smaller screens */
    .soh-contact-group {
        text-align: left;
        /* Put contact info under social links for better flow */
        flex: 1 1 100%; /* Take full width */
        order: 4; /* Move to the bottom of the main container */
        margin-top: 20px;
    }

    .soh-social-icons {
        justify-content: flex-start; /* Align icons to the left */
        margin-bottom: 10px;
    }

    .soh-link-group,
    .soh-logo-section {
        flex: 1 1 40%; /* Each takes about half width */
    }

    .soh-link-group {
        /* Add some margin to separate blocks */
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .soh-footer-container {
        /* On small screens, stack all sections */
        flex-direction: column;
        gap: 20px;
    }

    .soh-link-group,
    .soh-logo-section {
        flex: 1 1 100%; /* Take full width */
    }

    .soh-contact-group {
        order: initial; /* Back to default order */
        text-align: left;
    }

    .soh-social-icons {
        justify-content: flex-start;
        margin-bottom: 10px;
    }
}