
@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 */

/* ======================================= */
/* القسم (Section) */
/* ======================================= */
.about-section {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem; 
    background: rgba(227, 241, 250, 1);
}

/* ======================================= */
/* شبكة العمودين (Grid) - التخطيط الافتراضي للشاشات الكبيرة */
/* ======================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

/* ======================================= */
/* النص (Text) */
/* ======================================= */
.about-title {
    margin: 0.5rem 0 1rem;
    font-weight: 800;
    letter-spacing: 0.1px;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    /* الحجم الافتراضي (شاشات كبيرة): 32px. الحجم الأصغر (الموبايل): 22px */
    font-size: clamp(1.375rem, 3.5vw, 2rem); 
}
.about-title::before,
.about-title::after {
    content: "";
    width: 0.625rem;
    height: 0.625rem;
    background: #f5b700;
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 0 0 0 2px rgba(245, 183, 0, 0.12);
}

.about-paragraph {
    margin: 0;
    font-weight: 500;
    color: rgba(2, 39, 59, 1);
    /* **تم التصغير هنا**: الحد الأدنى لحجم الخط أصبح 0.9375rem (15px) */
    font-size: clamp(0.9375rem, 2.8vw, 1.5rem); 
    line-height: 1.7;
}
.about-paragraph .br {
    display: block;
    height: 0.55rem;
    content: "";
}

/* ======================================= */
/* الصورة (Figure) */
/* ======================================= */
.about-figure {
    display: flex;
    justify-content: center;
}

.figure-box {
    max-width: 100%;
    /* aspect-ratio: 812 / 402; */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    height: auto;
}

.figure-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: rgba(227, 241, 250, 1);
}


/* ======================================= */
/* استعلامات الوسائط (Media Queries) - التجاوب للموبايل */
/* ======================================= */

/* @media: تخطيط عمود واحد للشاشات الأصغر من 900 بكسل (الأجهزة اللوحية) */
@media (max-width: 56.25rem) { /* 900px */
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* الترتيب: الصورة أولًا ثم النص */
    .about-text {
        order: 2;
    }
    .about-figure {
        order: 1;
    }

    /* تحسين للصورة على شاشات الأجهزة اللوحية المتوسطة */
    .figure-box {
        max-width: 85%;
        margin: 0 auto; 
    }
}

/* @media: تحسينات للشاشات الصغيرة جدًا (الهواتف) */
@media (max-width: 30rem) { /* 480px */
    .about-section {
        padding: 2rem 1rem 2.5rem; 
    }

    /* **التعديل لتصغير الصورة بشكل إضافي** */
    .figure-box {
        /* تم تقليل العرض من 95% إلى 80% لتصغير حجم الصورة */
        max-width: 80%; 
    }
}






/* section 3 */


    /* .event-card-content:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        } */


        /* -------------------------------------------------------- */
        /* --- DESKTOP VIEW (Horizontal Timeline with S-Shape SVG) --- */
        /* -------------------------------------------------------- */
   
/* section 2 end*/



/* section 3 start */

/* Header Styling */
.page-header {
    text-align: center;
    padding: 30px 0;
    color: #004d99; /* Dark blue color */
}

.page-header h1 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    font-weight: 500;
      font-family: 'Noto Sans Arabic', sans-serif;
      color: rgba(2, 39, 59, 1);

}


/* Container for the Cards */
.landmarks-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    justify-content: center;
    gap: 20px; /* Space between cards */
    padding: 20px;
}

/* Card Styling */
.landmark-card {
    position: relative;
    width: 100%; /* Full width on very small screens */
    max-width: 350px; /* Maximum width for each card */
    height: 700px; /* Fixed height for visual consistency */
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    width: 390px;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    /* Optional: Scale up slightly on hover */
    transition: transform 0.4s ease-out; 
}

.landmark-card:hover {
    transform: scale(1.03); 
}

/* Overlay Styling for Text */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)); /* Gradient for better text readability */
    color: white;
    text-align: center;
    
    /* Initially hide the text content and position it off-screen (below) */
    opacity: 0;
    transform: translateY(50px);
    
    /* 💥 The crucial part: smooth transition for opacity and transform */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.landmark-card:hover .card-overlay {
    /* Reveal and move text up smoothly on hover */
    opacity: 1;
    transform: translateY(0);
}

.card-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff; /* White title */
}

.card-overlay .card-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
    /* Delay the text slightly to make it appear *after* the title moves */
    transition: opacity 0.8s ease-out 0.2s; 
}

/* Text on hover */
.landmark-card:hover .card-text {
    opacity: 1;
}



@media (max-width: 480px) {
    .landmark-card {
        width: calc(50% - 30px);
        height: 361px;
    }
 
  
}
/* section 3 end



/* section4 */

.container {
    text-align: center;
    padding: 20px;
    width: 90%;
    max-width: 800px;
     /* min-height: 100vh; */
     margin: auto;

}

/* Counter Styling (200k) */
.counter-display {
    font-size: 8vw; /* حجم خط متجاوب */
    font-weight: 700;
    color: #007bff; /* لون أزرق */
    margin-bottom: 20px;
}

.count-suffix {
    color: #007bff;
    font-size: 0.8em;
}
span.count-number {
    font-size: 96px;
    font-weight: 700;
    color: rgba(31, 136, 193, 1);
}

/* Text Content Styling (Arabic) */
.text-content {
    text-align: center;
    line-height: 1.6;
    color: #333;
}

.city-name {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px; /* مسافة كافية للخط الأصفر */
    position: relative;
    display: inline-block;
    padding-bottom: 5px; 
}

/* Diamond Separators */
.city-name::before, .city-name::after{ /* تم التعديل لاحقا لإضافة الألماس */
    content: '♦'; 
    color: orange;
    margin: 0 10px;
    font-size: 0.8em;
}

/* Yellow/Orange Line (الخط الأصفر) */


.campaign-details {
    font-size: 24px;
    color: rgba(2, 39, 59, 1);
    font-weight: 500;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .counter-display {
        font-size: 15vw;
    }
    .city-name {
        font-size: 5vw;
    }
    .campaign-details {
        font-size: 3.5vw;
    }
}

@media (min-width: 1200px) {
    .counter-display {
        font-size: 96px;
    }
    .city-name {
        font-size: 36px;
    }
    .campaign-details {
        font-size: 20px;
    }
}


/* section4 */



/* section5 */
/* Section */
  .reviews{
    max-width:1200px;
    margin:68px auto 80px;
    padding:0 20px 10px;
  }
  .section-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:26px;
    font-weight:800;
    font-size:28px;
    letter-spacing:.2px;
  }
  .diamond{
    width:10px;height:10px; background:var(--accent);
    transform:rotate(45deg);
    border-radius:2px;
    box-shadow:0 0 0 2px rgba(245,183,0,.12)
  }

  /* Grid */
  .grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:22px;
  }
  @media (max-width:1100px){ .grid{ grid-template-columns: repeat(3, 1fr); } }
  @media (max-width:820px){  .grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (max-width:520px){  .grid{ grid-template-columns: 1fr; } }

  /* Card */
  .card{
    background:var(--card);
    border:1px solid var(--stroke);
    border-radius:var(--radius);
    padding:18px 18px 16px;
    box-shadow:var(--shadow);
    display:flex; flex-direction:column; gap:12px;
    min-height:146px;
  }

  /* Stars (outline) */
  .stars{
    display:flex; align-items:center; gap:6px;
  }
  .star{
    width:18px; height:18px; flex:0 0 18px;
    color:#98a8b6;
  }
  .star svg{width:100%; height:100%; display:block}

  /* Body */
  /* .body{ font-size:14px; color:var(--text); line-height:1.7 } */


  .avatar{
    width:30px; height:30px; border-radius:50%;
    overflow:hidden; border:1px solid var(--stroke)
  }
  .avatar img{width:100%; height:100%; object-fit:cover}
  .name{ font-weight:700; font-size:14px }
  .date{ font-size:12px; color:var(--muted) }

  /* subtle hover */
  .card:hover{ transform:translateY(-2px); transition:.25s ease; box-shadow:0 10px 22px rgba(6,25,35,.08)}


/* section5 */








/* 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;
    }
}