
    /* Variables */
    :root {
      --black: #000;
      --green: #009639;
      --red: #d70000;
      --white: #fff;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Tajawal", sans-serif;
    }

    /* Text Selection Styling */
    ::selection {
      background-color: #000;
      color: #fff;
    }

    ::-moz-selection {
      background-color: #000;
      color: #fff;
    }

    body {
      background-color: #f5f5f5;
    }

    /* الافتراضي RTL (عربي) */
form {
  text-align: right;
}

/* لو الصفحة انجليزي */
html[dir="ltr"] form {
  text-align: left;
}

html[dir="ltr"] form label {
  display: block;
  text-align: left;
}

html[dir="rtl"] form label {
  display: block;
  text-align: right;
}


    /* Navbar */
.navbar {
      background: linear-gradient(90deg, var(--black) 0%, var(--green) 50%, var(--red) 100%);
      box-shadow: 0 4px 12px #0003;
      position: sticky;
      top: 0;
      z-index: 100;
  padding: 0 15px;
  display: grid;
  grid-template-columns: auto 1fr auto; /* شعار | روابط | أزرار */
  grid-template-areas: "logo nav lang";
  align-items: center;
      height: 70px; /* حجم متوسط */
      transition: 0.3s ease;
    }

    /* Logo */
.logo {
      font-size: 1.5rem; /* حجم متناسق */
      font-weight: bold;
      color: var(--white);
      padding: 12px 0;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  grid-area: logo;
    }

    /* Nav Links */
.navbar ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
  grid-area: nav;
    }

    

    .navbar li {
      margin: 0 12px; /* مسافة متوسطة */
    }

    .navbar a {
      color: var(--white);
      text-decoration: none;
      font-size: 1.15rem; /* حجم خط متوسط */
      padding: 14px 16px; /* مسافة متوازنة */
      display: block;
      transition: background 0.3s, transform 0.2s;
      border-radius: 8px 8px 0 0;
    }

    .navbar a:hover,
    .navbar a.active {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.05);
    }

 /* Language Buttons */
.lang-btns {
  display: flex;
  gap: 8px;
  grid-area: lang;
}

.lang-btns button {
  border: none;
  background: var(--white);
  color: var(--black);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.lang-btns button:hover {
  background: var(--black);
  color: var(--white);
}

/* 📱 موبايل */
@media (max-width: 768px) {
  /* تمركز أزرار اللغة في المنتصف بين الشعار وزر المنيو */
  .navbar { grid-template-columns: 1fr auto auto; grid-template-areas: "logo lang menu"; }
  .navbar .logo { justify-self: start; }
  .navbar > .lang-btns { justify-self: center; display:flex !important; }
  .navbar .menu-btn { justify-self: end; }

  /* نُبقي قائمة الروابط مخفية إلا عند فتح المنيو */
  #nav-links { display: none; }
  #nav-links.show { display: flex; }
}

/* 💻 ديسكتوب: أزرار الترجمة ع الشمال (يسار الشاشة) */
@media (min-width: 769px) {
  .navbar { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav lang"; }
  .navbar .logo { justify-self: start; }
  #nav-links { justify-self: center; }
  /* في RTL، end = يسار الشاشة */
  .navbar > .lang-btns { justify-self: end; }
}

/* 💻 لاب / شاشات كبيرة */
@media (min-width: 769px) {
  #nav-links .lang-btns {
    display: none; /* نخفي نسخة الموبايل */
  }
}


    /* Mobile Menu Button */
    .menu-btn {
      display: none;
      font-size: 28px;
      cursor: pointer;
      background: none;
      border: none;
      color: var(--white);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .navbar {
        height: 65px; /* ضبط الارتفاع في الموبايل */
        padding: 0 12px;
      }

      /* قائمة الروابط في الموبايل */
      #nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 65px;
        right: 0;
        width: 100%;
        padding: 12px;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px #0004;
        z-index: 200;
      }

      #nav-links.show { display: flex !important; }

      .navbar li {
        margin: 10px 0;
      }

      .menu-btn {
        display: block;
      }

      /* أزرار اللغة تظهر في الشريط بجانب زر المينيو */
      .navbar > .lang-btns {
        display: flex !important;
        gap: 6px;
      }
    }

/* السكشن العام */
.categories-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

/* عنوان السكشن */
.categories-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #000, #007a3d, #ff0000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}



/* وصف السكشن */
.categories-subtitle {
  color: #555;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* شبكة الكروت */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* الكارد */
.category-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  text-decoration: none; /* شيل الخط */

}

/* عند الهوفر */
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* الصورة */
.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* العنوان */
.category-card h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  color: #007a3d;
  font-weight: bold;
}

/* الوصف */
.category-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  padding: 0 15px;
}

/* ريسبونسيف للموبايل */
@media (max-width: 768px) {
  .categories-title {
    font-size: 24px;
  }
  .categories-subtitle {
    font-size: 14px;
  }
  .category-card h3 {
    font-size: 18px;
  }
  .category-card p {
    font-size: 14px;
  }
}







    /* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background: url("/hero.jpeg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 12px;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 90vh; /* يغطي الشاشة تقريبًا */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Overlay */
/*.hero-section .overlay {*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background: rgba(0, 0, 0, 0.5);*/
/*  z-index: 1;*/
/*}*/
.hero-card {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 40px 20px;
  background: rgba(29, 26, 26, 0.5); /* أفتح شوية */
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  overflow: hidden; /* يمنع overflow برا */
}

/* جوة البوكس */
.hero-card-content {
  max-height: 400px; /* أقصى ارتفاع */
  overflow-y: auto;  /* يخلي النص يسكروول لو طويل */
  padding-right: 10px; /* عشان الاسكرول ميبقاش لازق */
}

/* العنوان */
.hero-card h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

/* الفقرة */
.hero-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 95%;
  text-align: justify;
}

/* بطاقات شفافة تحت الهيرو */
.hero-features {
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  z-index: 2;
}

/* ===== الكارت ===== */
.feature-card {
  background: rgba(255, 255, 255, 0.85); /* خلفية شفافة فاتحة */
  border: 1px solid rgba(255, 255, 255, 0.6); 
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* ===== الأيقونة ===== */
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9); /* خلفية شبه شفافة */
  color: #007a3d;
  font-size: 28px;
  font-weight: bold;
}

/* ===== العنوان ===== */
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800; /* خط تخين */
  color: #000000; /* أسود صريح */
  letter-spacing: 0.4px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8); /* يزود الوضوح فوق أي خلفية */
}

/* ===== الوصف ===== */
.feature-card p {
  color: #111111; /* غامق جدًا */
  line-height: 1.8;
  font-size: 16px;
  font-weight: 500;
  padding: 0 8px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8); /* يوضح الكلام أكتر */
}

/* ===== ريسبونسيف ===== */
@media (max-width: 992px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
}

/* خدماتنا */
.services-section {
  text-align: center;
  padding: 50px 20px 30px;
  background: transparent;
}

.services-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #000, #007a3d, #ff0000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.services-subtitle {
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 500;
  max-width: 900px;
  margin: 10px auto 0;
  line-height: 2;
  text-align: center;
  padding: 0 12px;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .services-subtitle {
    font-size: 16px;
    line-height: 1.9;
    padding: 0 10px;
  }
}

/* الخصوصية وحماية البيانات */
.privacy-section {
  text-align: center;
  padding: 45px 20px 30px;
  background: #fafafa00;
}

.privacy-title {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #000, #007a3d, #ff0000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* FAQ */
.faq-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #000, #007a3d, #ff0000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Admin Dashboard - Enhanced Design */
.admin-section { 
  padding: 40px 20px; 
  max-width: 1600px; 
  margin: 0 auto; 
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.admin-title { 
  text-align: center; 
  font-size: 3rem; 
  font-weight: bold; 
  margin-bottom: 50px; 
  color: var(--black);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.admin-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--red));
  border-radius: 2px;
}

.admin-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 40px; 
}

.admin-card { 
  background: white; 
  border-radius: 20px; 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); 
  padding: 40px; 
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.admin-card h2 {
  color: var(--black);
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: bold;
  border-bottom: 3px solid var(--green);
  padding-bottom: 15px;
  position: relative;
}

.admin-card h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--red);
}

.table-wrap { 
  overflow: auto; 
  border-radius: 15px;
  border: 2px solid #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-table { 
  width: 100%; 
  border-collapse: collapse; 
  background: white;
  font-size: 0.95rem;
}

.admin-table th, .admin-table td { 
  border-bottom: 1px solid #f0f0f0; 
  padding: 18px 15px; 
  text-align: right; 
  font-size: 0.9rem;
  vertical-align: top;
  transition: background-color 0.2s ease;
}

.admin-table th { 
  background: linear-gradient(135deg, var(--green), #00a854); 
  color: white; 
  font-weight: bold; 
  font-size: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.admin-table tr:hover {
  background: linear-gradient(90deg, #f8f9fa, #ffffff);
}

.admin-table tr:nth-child(even) {
  background-color: #fafafa;
}

.admin-table tr:nth-child(even):hover {
  background: linear-gradient(90deg, #f0f0f0, #f8f9fa);
}

.admin-stats { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 25px; 
  margin-bottom: 50px; 
}

.stat { 
  background: linear-gradient(135deg, var(--green), #00a854); 
  color: #fff; 
  border-radius: 20px; 
  padding: 30px; 
  text-align: center; 
  box-shadow: 0 15px 35px rgba(0, 150, 57, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.stat:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 150, 57, 0.4);
}

.stat-num { 
  font-size: 3rem; 
  font-weight: bold; 
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label { 
  font-size: 1.1rem; 
  opacity: 0.95; 
  font-weight: 500;
}

.admin-types { 
  margin: 20px 0 30px; 
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.type-chip { 
  display: inline-block; 
  background: linear-gradient(135deg, var(--red), #e74c3c); 
  color: white; 
  border: 2px solid transparent;
  border-radius: 25px; 
  padding: 12px 20px; 
  margin: 4px; 
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(215, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.type-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(215, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

/* File Links Styling */
.admin-table a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  margin: 2px 5px 2px 0;
  padding: 4px 8px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.admin-table a:hover {
  background: rgba(0, 123, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

/* Details Styling */
.admin-table .details-cell {
  max-width: 250px;
  word-wrap: break-word;
  line-height: 1.4;
}

.admin-table .details-cell strong {
  color: var(--green);
  font-weight: 600;
}

/* Enhanced Beneficiaries Grid */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--green);
}

.search-filter {
  display: flex;
  gap: 15px;
  align-items: center;
}

.search-input {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 0.9rem;
  width: 250px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.1);
}

.filter-select {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.1);
}

.export-btn {
  background: linear-gradient(135deg, var(--red), #e74c3c);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(215, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.export-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(215, 0, 0, 0.4);
}

.beneficiaries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.beneficiary-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.beneficiary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

.beneficiary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.beneficiary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.beneficiary-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  background: linear-gradient(135deg, var(--green), #00a854);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 150, 57, 0.3);
}

.action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 150, 57, 0.4);
}

.expand-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.expand-icon.rotated {
  transform: rotate(180deg);
}

.beneficiary-basic-info {
  margin-bottom: 20px;
}

.beneficiary-id {
  background: linear-gradient(135deg, var(--green), #00a854);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 150, 57, 0.3);
}

.beneficiary-type {
  background: linear-gradient(135deg, var(--red), #e74c3c);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(215, 0, 0, 0.3);
}

.beneficiary-info {
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: bold;
  color: var(--black);
  font-size: 0.9rem;
  min-width: 120px;
}

.info-value {
  color: #666;
  font-size: 0.9rem;
  text-align: left;
  flex: 1;
}

.whatsapp-link {
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

.whatsapp-link:hover {
  color: #128C7E;
  text-decoration: underline;
}

.files-section, .details-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.files-title, .details-title {
  color: var(--black);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.files-title::before {
  content: '📁';
  margin-left: 8px;
}

.details-title::before {
  content: '📋';
  margin-left: 8px;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.file-item {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.file-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.file-link {
  display: flex;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.file-link:hover {
  background: #e9ecef;
}

.file-icon {
  font-size: 1.5rem;
  margin-left: 10px;
}

.file-info {
  flex: 1;
}

.file-type {
  font-weight: bold;
  color: var(--green);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.file-name {
  color: #666;
  font-size: 0.8rem;
  word-break: break-all;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.detail-item {
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  border-left: 4px solid var(--green);
}

.detail-key {
  font-weight: bold;
  color: var(--black);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.detail-value {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Crypto Payment Styles */
.crypto-payment-card {
  text-align: center;
  margin-top: 20px;
}

.crypto-qr-image {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Language Toggle in Form */
.language-toggle {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.lang-btn {
  background: linear-gradient(135deg, var(--green), #00a854);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 150, 57, 0.3);
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 150, 57, 0.4);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--red), #e74c3c);
  box-shadow: 0 3px 10px rgba(215, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .beneficiaries-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .beneficiary-card {
    padding: 20px;
  }
  
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .info-label {
    min-width: auto;
  }
  
  .files-grid, .details-grid {
    grid-template-columns: 1fr;
  }
  
  .crypto-qr-image {
    width: 250px;
  }
  
  .address-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .copy-btn {
    width: 100%;
  }
  
  .language-toggle {
    flex-direction: column;
    align-items: center;
  }
  
  .lang-btn {
    width: 120px;
  }
}

@media (max-width: 900px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .admin-stats { grid-template-columns: 1fr; }
}

.faq-list details {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  outline: none;
}

.faq-list p {
  margin-top: 10px;
  color: #2a2a2a;
  line-height: 1.9;
}
.privacy-text {
  color: #1f2d3a;
  font-size: 17px;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 2;
  text-align: center;
  padding: 0 14px;
}

@media (max-width: 768px) {
  .privacy-title { font-size: 22px; }
  .privacy-text { font-size: 15px; line-height: 1.9; }
}

/* توحيد تنسيق فقرات كل السكاشن */
.services-subtitle,
.privacy-text,
.categories-subtitle {
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 500;
  max-width: 900px;
  margin: 10px auto 0;
  line-height: 2;
  text-align: center;
  padding: 0 12px;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .services-subtitle,
  .privacy-text,
  .categories-subtitle {
    font-size: 16px;
    line-height: 1.9;
    padding: 0 10px;
  }
}

/* موبايل */
@media (max-width: 992px) {
  .hero-card {
    padding: 25px 15px;
  }
  .hero-card-content {
    max-height: 300px; /* أصغر عشان الموبايل */
  }
  .hero-card h1 { font-size: 1.6rem; }
  .hero-card p { font-size: 0.9rem; line-height: 1.5; }
}


/* Mobile */
@media (max-width: 768px) {
  .hero-card {
    width: 96%;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .hero-card h1 { font-size: 1.35rem; }
  .hero-card p { font-size: 0.85rem; line-height: 1.6; text-align: center; }
  .hero-features { gap: 12px; padding: 0 6px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-card {
    padding: 15px;
    max-height: 68vh;
  }
  .hero-card h1 { font-size: 1.2rem; }
  .hero-card p { font-size: 0.78rem; line-height: 1.4; }
}

/* سكشن الكارد */
.full-card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}


/* الكارد */
.full-card {
  background: #fff;
  border-radius: 16px; /* هنشيل التقوس عشان يملأ الصفحة بالكامل */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  width: 100%; /* ياخد العرض كله */
  max-width: 100%; /* نلغي أي قيود على العرض */
  margin: 0; /* نلغي أي مسافات جانبية */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* عند الهوفر */
.full-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* الصورة */
.card-image {
  width: 100%;
  height: 350px;
  /* object-fit: cover; */
  display: block;
}

/* المحتوى */
.card-content {
  padding: 20px;
  text-align: center;
}

/* العنوان - ألوان علم فلسطين */
.card-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #000 0%, #007a3d 33%, #ff0000 66%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* الكلام */
.card-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  max-width: 850px;
  margin: 0 auto;
}

/* موبايل ريسبونسيف */
@media (max-width: 768px) {
  .card-image {
    height: 250px;
  }

  .card-content h2 {
    font-size: 24px;
  }

  .card-content p {
    font-size: 16px;
  }
}


/* الفوتر */
.main-footer {
  background-color: #000; /* أسود */
  color: #fff; /* أبيض */
  text-align: center;
  padding: 20px 10px; /* كبرنا الارتفاع */
  font-size: 16px; /* كبرنا حجم الخط */
  font-family: "Cairo", sans-serif;
  border-top: 1px solid #222;
  letter-spacing: 0.5px;
}

/* ريسبونسيف للموبايل */
@media (max-width: 480px) {
  .main-footer {
    font-size: 14px;
    padding: 15px 5px;
  }
}



/* ====== السكشن الرئيسي ====== */
.donation-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
}

.donation-container {
  display: flex;
  gap: 40px;
  max-width: 1350px;
  width: 100%;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ====== الجزء الأيمن ====== */
.donation-content {
  flex: 1.1;
  min-width: 450px;
}

.donation-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

/* ====== العنوان الرئيسي ====== */
.donation-title {
  font-size: 38px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #000 0%, #d32f2f 33%, #020101 66%, #388e3c 100%);
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

/* ====== النصوص ====== */
.donation-text {
  font-size: 17px;
  color: #444;
  line-height: 1.9;
  text-align: justify;
  margin-bottom: 20px;
}

.donate-link {
  display: inline-block;
  font-weight: bold;
  color: #d32f2f;
  text-decoration: underline;
  transition: color 0.3s;
}

.donate-link:hover {
  color: #388e3c;
}

/* ====== كارد الفورم ====== */
.donation-form-card {
  flex: 0.9;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  min-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.form-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(90deg, #000 0%, #d32f2f 33%, #080404 66%, #388e3c 100%);
  -webkit-background-clip: text;
  color: transparent;
}

/* ====== الفورم ====== */
.donation-form .form-group {
  margin-bottom: 18px;
}

.donation-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #222;
  font-size: 15px;
}

.donation-form input,
.donation-form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.donation-form input:focus,
.donation-form select:focus {
  border-color: #388e3c;
  box-shadow: 0 0 10px rgba(56, 142, 60, 0.3);
}

/* ====== زرار التبرع ====== */
.donate-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #000 0%, #d32f2f 33%, #070202 66%, #388e3c 100%);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.donate-btn:hover {
  opacity: 0.95;
  transform: scale(1.03);
}

/* ====== الموبايل ====== */
@media (max-width: 900px) {
  .donation-container {
    flex-direction: column;
    align-items: center;
  }

  .donation-content,
  .donation-form-card {
    min-width: 100%;
  }

  .donation-title {
    font-size: 30px;
  }

  .donation-form-card {
    margin-top: 25px;
  }
}


/* سكشن التعريف */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
}

/* حاوية الصورة */
.about-image-container {
  position: relative;
  width: 85%; /* أصغر من الكارد شوية */
  max-width: 600px;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

/* الصورة */
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* الهوفر للصورة */
.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.about-image-container:hover .image-overlay {
  opacity: 1;
}

/* الأوفرلاي الأخضر */
.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 122, 61, 0.3); /* أخضر علم فلسطين */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* الكارد */
.about-card {
  max-width: 700px;
  width: 90%;
  background: #fff;
  padding: 35px;
  margin-top: 40px;
  border-radius: 18px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* العنوان */
.about-title {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;
  background: linear-gradient(90deg, #007a3d, #000, #ce1126);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* النص */
.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* موبايل */
@media (max-width: 768px) {
  .about-card {
    padding: 20px;
  }

  .about-title {
    font-size: 1.7rem;
  }

  .about-text {
    font-size: 1rem;
    text-align: center;
  }

  .about-image-container {
    width: 90%;
    height: 200px;
    margin-bottom: -60px;
  }
}



.category-detail {
    max-width: 650px;
    width: 90%;
    background: #fff;
    padding: 35px;
    margin: 35px auto;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ø§Ù„ØµÙˆØ±Ø© */
.category-img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.category-img:hover {
    transform: scale(1.05);
}

/* Ø§Ù„Ø¹Ù†ÙˆØ§Ù† */
.category-title {
    font-size: 30px;
    margin-bottom: 10px;
    color: #007b5e;
}

/* Ø§Ù„ÙˆØµÙ */
.category-description {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Ø§Ù„ÙÙˆØ±Ù… */
.orphan-form {
    width: 100%;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

/* Ø§Ù„Ù„ÙŠØ¨Ù„ */
.orphan-form label {
    font-weight: bold;
    color: #333;
}

/* Ø§Ù„Ø­Ù‚ÙˆÙ„ */
.orphan-form input ,
.orphan-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.3s ease;
    border: 1px solid #ccc; 
    border-radius: 10px; 
    font-size: 16px; 
    outline: none; 
    transition: 0.3s;
}

.orphan-form input:focus {
    border-color: #007b5e;
    box-shadow: 0 0 8px rgba(0, 123, 94, 0.4);
    outline: none;
}

/* Ø²Ø± Ø§Ù„Ø¥Ø±Ø³Ø§Ù„ */
.orphan-form button {
    background: linear-gradient(90deg, #007b5e, #d62828, #000);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.orphan-form button:hover {
    background: linear-gradient(90deg, #d62828, #007b5e, #000);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .category-detail {
        padding: 20px;
    }

    .orphan-form {
        padding: 20px;
    }

    .category-title {
        font-size: 24px;
    }

    .category-description {
        font-size: 15px;
    }
}


.notice {
  background-color: #fff8e1; /* أصفر باهت */
  border: 1px solid #ffecb3;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5d4037;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.notice h3 {
  margin-top: 0;
  font-size: 18px;
  color: #e65100;
}



.policy {
  background: #f4f9ff;
  border: 1px solid #cfe2ff;
  border-radius: 12px;
  padding: 20px 25px;
  margin: 25px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #1a237e;
  box-shadow: 0 3px 7px rgba(0,0,0,0.08);
}
.policy h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
  color: #0d47a1;
}
.policy ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.policy li {
  margin-bottom: 12px;
}

/* Taken Button Styles */
.taken-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
  border-radius: 20px !important;
  width: auto !important;
  height: 35px !important;
  padding: 8px 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.taken-btn.taken {
  background: linear-gradient(135deg, #4caf50, #45a049) !important;
}

.taken-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.taken-btn.taken:hover {
  background: linear-gradient(135deg, #66bb6a, #4caf50) !important;
}

.taken-btn:not(.taken):hover {
  background: linear-gradient(135deg, #ff5252, #ff6b6b) !important;
}

.taken-icon {
  font-size: 14px;
  font-weight: bold;
}

.taken-text {
  font-size: 11px;
  white-space: nowrap;
}

.beneficiary-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Taken Card Styles - تصميم أنيق للكاردز المأخوذة */
.taken-card {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
  border: 2px solid #e9ecef !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  opacity: 0.75;
  transition: all 0.3s ease;
}

.taken-card::after {
  content: '✓ تم أخذه';
  position: absolute;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
  z-index: 10;
}

/* English version */
html[lang="en"] .taken-card::after {
  content: '✓ Taken';
}

.taken-card .beneficiary-header {
  opacity: 0.6;
}

.taken-card .beneficiary-basic-info {
  opacity: 0.5;
}

.taken-card .beneficiary-details {
  opacity: 0.4;
}

.taken-card:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced Taken Button */
.taken-btn.taken {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
}

/* Taken Card Content Styling */
.taken-card .info-label {
  color: #adb5bd !important;
}

.taken-card .info-value {
  color: #6c757d !important;
}

.taken-card .beneficiary-type {
  background: #28a745 !important;
  color: white !important;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 600;
}

.taken-card .beneficiary-id {
  background: #28a745 !important;
  color: white !important;
  padding: 4px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* Disable interactions for taken cards */
.taken-card .whatsapp-link {
  opacity: 0.4;
  pointer-events: none;
}

.taken-card .file-link {
  opacity: 0.3;
  pointer-events: none;
}

.taken-card .expand-btn {
  opacity: 0.4;
  pointer-events: none;
}

.taken-card .beneficiary-details {
  display: none !important;
}

/* Wallet Address Styling */
.wallet-address-section {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.wallet-address-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.wallet-address-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wallet-address-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: #fff;
  color: #333;
  direction: ltr;
  text-align: left;
}

.wallet-address-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.copy-btn {
  padding: 10px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

/* Crypto Payment Card Styling */
.crypto-payment-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.crypto-qr-image {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* RTL Support for wallet address */
html[dir="rtl"] .wallet-address-container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .wallet-address-input {
  text-align: right;
}

/* Badge Styling for Dashboard */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-direct {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.badge-site {
  background: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #ce93d8;
}

.badge-link {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.badge-crypto {
  background: #fff3e0;
  color: #f57c00;
  border: 1px solid #ffcc02;
}

.badge-visa {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

.badge-mastercard {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.badge-unknown {
  background: #f5f5f5;
  color: #616161;
  border: 1px solid #bdbdbd;
}

/* Responsive table improvements */
@media (max-width: 768px) {
  .admin-table {
    font-size: 12px;
  }
  
  .badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 8px 4px;
  }
}

/* Donation Stats Styling */
.donation-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 1px solid #dee2e6;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  font-size: 32px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.stat-content {
  flex: 1;
}

.stat-content .stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-content .stat-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  line-height: 1.2;
}

/* Responsive donation stats */
@media (max-width: 768px) {
  .donation-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
  }
  
  .stat-card {
    padding: 15px;
    gap: 12px;
  }
  
  .stat-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }
  
  .stat-content .stat-num {
    font-size: 24px;
  }
  
  .stat-content .stat-label {
    font-size: 12px;
  }
}