/* -----------------------------------
   Root Variables & Global Styles
----------------------------------- */
:root {
    --green-dark: #0B5C34;
    --green-light: #1FAE66;
    --yellow: #16ca31;
    --gray-lightest: #F5F7F6;
    --white: #FFFFFF;
    --gray-medium: #A0A6A4;
    --shadow-light: rgba(31, 174, 102, 0.15);
    --radius: 14px;
    --transition: 0.3s ease;
}

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

body {
    background: var(--gray-lightest);
    color: var(--green-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

a {
    color: var(--green-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--yellow);
    outline: none;
}


/* =============================
   HEADER — Modern Institutional
============================= */

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 56px;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0;
}

/* Navigation */
.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #1f2937;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #0f766e;
}

/* Auth Buttons */
.auth-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* زر تسجيل الدخول – قوي وواضح */
.btn-primary-strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #065f46, #0f766e);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.35);
  transition: transform .2s, box-shadow .2s;
}

.btn-primary-strong:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 95, 70, 0.45);
}

/* زر إنشاء حساب – ذكي وراقي */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #065f46;
  background: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(135deg, #065f46, #0f766e);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: background-color .2s, color .2s;
}

.btn-secondary:hover {
  background-color: #f0fdf4;
}

/* أيقونات */
.icon {
  font-size: 1rem;
  line-height: 1;
}

/* Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================
   Responsive – Tablet
========================= */
@media (max-width: 1024px) {

  .header-container {
      padding: 12px 18px;
  }

  .main-nav .nav-list {
      gap: 16px;
  }

  .btn-primary-strong,
  .btn-secondary {
      padding: 9px 18px;
      font-size: 0.85rem;
  }
}


/* =========================
 Responsive – Mobile
========================= */
@media (max-width: 768px) {

  .header-container {
      flex-wrap: wrap;
      gap: 12px;
  }

  /* إخفاء القائمة الأفقية */
  .main-nav {
      display: none;
  }

  /* الأزرار تحت بعضها */
  .auth-actions {
      width: 100%;
      justify-content: center;
      gap: 10px;
      margin-top: 8px;
  }

  .btn-primary-strong,
  .btn-secondary {
      width: 100%;
      justify-content: center;
      padding: 11px 0;
      font-size: 0.9rem;
  }
}


/* =========================
 Responsive – Small Mobile
========================= */
@media (max-width: 480px) {

  .brand-logo {
      height: 44px;
  }

  .brand-title {
      font-size: 1rem;
  }

  .brand-subtitle {
      font-size: 0.78rem;
  }
}


.error-message {
  color: #d93025;
  font-size: 0.9rem;
  margin-top: 4px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* =============================
          RESPONSIVE
============================= */

@media (max-width: 992px) {
    .header-nav {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 10px 0;
    }

    .header-left {
        justify-content: center;
        width: 100%;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 8px;
    }

    .header-nav a {
        min-width: 95px;
        text-align: center;
        padding: 7px 0;
        font-size: 0.95rem;
    }

    .login-link.login-outline {
        min-width: 110px;
    }

    .login-link.login-filled {
        min-width: 120px;
    }
}

/* Mobile < 480px */
@media (max-width: 480px) {
    .logo {
        height: 45px;
    }

    .title h1 {
        font-size: 1.05rem;
    }

    .title span {
        font-size: 0.75rem;
    }

    .header-nav a {
        min-width: 80px;
        padding: 5px 6px;
        font-size: 0.85rem;
    }

    .login-link.login-outline {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .login-link.login-filled {
        min-width: 110px;
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}



/* -----------------------------------
   ABOUT SECTION
----------------------------------- */
  .about-section {
    background: #e9f4ed;
    padding: 70px 20px;
    text-align: right;
  }

  .about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
  }

  .about-text {
    flex: 1 1 480px;
    color: #0B5C34;
  }

  .about-text h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 25px;
  }

  .about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 18px;
    opacity: 0.85;
  }

  .btn-primary {
    display: inline-block;
    background-color: #1FAE66;
    padding: 15px 45px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 10px 25px rgba(31, 174, 102, 0.6);
    transition: background-color 0.3s ease;
    text-decoration: none;
  }

  .btn-primary:hover,
  .btn-primary:focus {
    background-color: #16ca31;
    outline: none;
  }

  .about-icons {
    flex: 1 1 480px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }

  .icon-card {
    background: white;
    padding: 30px 25px;
    border-radius: 25px;
    box-shadow: 0 10px 35px rgba(31,174,102,0.15);
    flex: 1 1 140px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
  }

  .icon-card:hover,
  .icon-card:focus {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(31,174,102,0.35);
    outline: none;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
    border: 3px solid #1FAE66;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  .icon-card:hover .icon-circle,
  .icon-card:focus .icon-circle {
    background-color: #1FAE66;
  }

  .icon-card:hover svg path,
  .icon-card:hover svg circle,
  .icon-card:focus svg path,
  .icon-card:focus svg circle {
    stroke: white;
  }

  .icon-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0B5C34;
  }

  .icon-card p {
    font-size: 1rem;
    color: #4a6351;
    line-height: 1.5;
  }

  @media (max-width: 900px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }

    .about-text,
    .about-icons {
      flex: 1 1 100%;
    }
  }


/* -----------------------------------
   SLIDER (Balanced Height)
----------------------------------- */

/* =========================
   Hero Slider Fullscreen
========================= */
/* الحاوية الرئيسية للسلايدر */
.hero-slider {
  width: 100%;
  height: calc(100vh - 90px); /* ارتفاع كامل الشاشة ناقص 90 بكسل (الهيدر) */
  position: relative;
  overflow: hidden;
}

/* مكتبة Swiper */
.swiper {
  width: 100%;
  height: 100%;
}

/* كل شريحة */
.swiper-slide {
  height: 100%;
  background-size: cover;     /* يجعل الصورة تغطي كامل مساحة السلايد */
  background-position: center center;  /* يجعل الصورة مركزة في الوسط */
  background-repeat: no-repeat;  /* يمنع تكرار الصورة */
  border-radius: 0;            /* تلغي أي زوايا مدورة إذا غيرت */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 5rem;
  position: relative;
}

/* الطبقة السوداء الشفافة فوق الصور */
.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
}

/* محتوى الشريحة (النصوص والأزرار) */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: #fff;
  text-align: center;
}

.slide-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* زر الدعوة لاتخاذ إجراء */
.hero-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #1FAE66, #0B5C34);
  color: white;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(31, 174, 102, 0.6);
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  background: linear-gradient(135deg, #0B5C34, #1FAE66);
  outline: none;
}

/* شريط الإحصائيات */
.hero-stats {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 30px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 3;
  user-select: none;
}

.hero-stats div {
  text-align: center;
}

.hero-stats strong {
  font-size: 1.8rem;
  color: #0B5C34;
  display: block;
}

.hero-stats span {
  font-size: 0.85rem;
  color: #065f46;
}

/* سهم النزول */
.hero-scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: white;
  opacity: 0.7;
  z-index: 3;
  animation: bounce 1.8s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* استجابة الأجهزة */
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh; /* أقل ارتفاع للأجهزة الصغيرة */
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
    padding: 12px 24px;
    bottom: 20px;
  }
}

/* -----------------------------------
   STATS SECTION
----------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.stat-card {
    background: white;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(31, 174, 102, 0.15);
    text-align: center;
    cursor: default;
    transition: transform 0.3s ease;
}

.stat-card:focus,
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(31, 174, 102, 0.3);
    outline: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0B5C34; /* اللون الأخضر الداكن */
    direction: ltr; /* لضمان عرض الرقم من اليسار إلى اليمين */
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1FAE66; /* اللون الأخضر الفاتح */
}

.downloads-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f4f9f6, #ffffff);
  font-family: "Tajawal", sans-serif;
}

.downloads-header {
  max-width: 800px;
  margin: auto;
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 15px;
}

.downloads-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1b5e20;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.downloads-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.download-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.icon-circle.green { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.icon-circle.blue  { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.icon-circle.gold  { background: linear-gradient(135deg, #f9a825, #ffd54f); }

.download-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #0B5C34;

  /* التوسيط الصحيح */
  display: flex;
  justify-content: center;   /* ⬅️ هذا هو المفتاح */
  align-items: center;
  text-align: center;
  gap: 10px;
}
.downloads-header h3 {
  text-align: center;
}

.download-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
}

.btn-download {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  background: #2e7d32;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-download:hover {
  background: #1b5e20;
  transform: scale(1.05);
}


    .section-description {
      font-size: 1.2rem;
      margin-bottom: 40px;
      max-width: 720px;
      color: #2f4f4f;
      line-height: 1.6;
      display: inline-block; /* لجعل العرض حسب المحتوى ويمكّن التوسيط */
      text-align: center;
    }

    .cards-container {
      display: flex;
      gap: 25px;
      flex-wrap: nowrap;
      justify-content: center;
      overflow-x: auto;
      padding-bottom: 12px;
      scrollbar-width: thin;
      scrollbar-color: #1FAE66 #d6e4d8;
      justify-content: center;
    }

    /* شريط التمرير للويبكيت */
    .cards-container::-webkit-scrollbar {
      height: 8px;
    }

    .cards-container::-webkit-scrollbar-track {
      background: #d6e4d8;
      border-radius: 4px;
    }

    .cards-container::-webkit-scrollbar-thumb {
      background-color: #1FAE66;
      border-radius: 4px;
      border: 2px solid #d6e4d8;
    }

    /* =============================
   Downloads Section
============================= */
.downloads-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #f4f9f6, #e9f3ef);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Header */
.downloads-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.downloads-header h2 {
  font-size: 2.6rem;
  color: #0b5c34;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

/* Grid */
.downloads-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* Card */
.download-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(31,174,102,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.download-card:hover::before {
  opacity: 1;
}

.download-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.12);
}

/* Icon */
.icon-wrapper {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.icon-wrapper.green { background: linear-gradient(135deg, #1fae66, #0b5c34); }
.icon-wrapper.blue  { background: linear-gradient(135deg, #2d7ff9, #1b4f9c); }
.icon-wrapper.gold  { background: linear-gradient(135deg, #f4c430, #c99700); }

.download-card {
  background: #ffffff;
  padding: 1.8rem;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.icon-wrapper.apple-green {
  background: #e9fbe9;
  color: #2ecc71;
}

.text-apple {
  color: #2ecc71;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.download-btn.apple {
  background: #2ecc71;
  color: #fff;
}

.download-btn.apple:hover {
  background: #27ae60;
  color: #fff;
}


.download-card.empty {
  background: #f8f9fa;
}

.icon-wrapper.muted {
  background: #eef1f3;
  color: #6c757d;
}

.download-card.empty:hover {
  transform: none;
  box-shadow: none;
}

.projects-section {
  padding: 2rem;
  background-color: #f9fafb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

.projects-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0; /* نحذف المسافة السفلية هنا */
  color: #0b5c34;
  text-align: center;
}

.section-description {
  max-width: 600px;
  margin: 0.25rem auto 2rem auto; /* margin top/bottom and auto left/right */
  font-size: 1.1rem;
  color: #444;
  text-align: center; /* للتوسيط النص */
  line-height: 1.4;
  display: block; /* تأكد أن العنصر كتلة */
}

.projects-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.project-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(11, 92, 52, 0.15);
  width: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  outline-offset: 4px;
}

.project-card:focus,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(11, 92, 52, 0.3);
  outline: none;
}

.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid #0b5c34;
}

.project-content {
  padding: 1.2rem 1rem 1.5rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0b5c34;
  font-weight: 700;
}

.project-content p {
  flex-grow: 1;
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.project-status {
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  align-self: flex-start;
  color: white;
  user-select: none;
}

.status-in-progress {
  background-color: #f0ad4e; /* برتقالي رسمي */
}

.status-completed {
  background-color: #5cb85c; /* أخضر */
}

.status-funded {
  background-color: #0275d8; /* أزرق رسمي */
}

/* Responsive: اذا الشاشة صغيرة */
@media (max-width: 980px) {
  .projects-container {
    justify-content: center;
  }
  
  .project-card {
    width: 90%;
    max-width: 400px;
  }
}

.contact-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Container form */
.contact-form {
    max-width: 870px;
    margin: 0 auto;
    background: linear-gradient(145deg, #f9fff9, #e7f4e7);
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 92, 52, 0.12);
    color: var(--green-dark);
    border: 1.5px solid var(--green-light);
}

/* Form Title */
.section-title {
  font-size: 2.1rem;
  margin-bottom: 1.8rem;
  color: var(--green-dark);
  text-shadow: 1px 1px 2px rgba(11, 92, 52, 0.2),
}

/* Form labels */
.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--green-dark);
    letter-spacing: 0.2px;
}

/* Inputs and textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 25px;
    border: 2px solid var(--green-light);
    border-radius: 12px;
    font-size: 1.05rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
    color: #1B1B1B;
    background-color: #fefefc;
    box-shadow: inset 0 3px 6px rgba(31, 174, 102, 0.07);
}

/* تأثير عند التركيز */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-dark);
    box-shadow: 0 0 10px rgba(31, 174, 102, 0.4);
    background-color: #fff;
}

/* Textarea */
.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-size: 1.05rem;
}

/* Submit button */
.btn-submit {
    background: linear-gradient(90deg, var(--green-dark) 0%, var(--green-light) 100%);
    color: white;
    font-weight: 900;
    border: none;
    padding: 16px 0;
    width: 100%;
    border-radius: 14px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(31, 174, 102, 0.45);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    letter-spacing: 0.4px;
}

.btn-submit:hover {
    background: linear-gradient(90deg, var(--green-light) 0%, var(--green-dark) 100%);
    box-shadow: 0 8px 28px rgba(31, 174, 102, 0.65);
    transform: translateY(-3px);
}

.btn-submit:active {
    transform: scale(0.96);
    box-shadow: 0 4px 12px rgba(31, 174, 102, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
    .contact-form {
        padding: 30px 25px;
    }

    .btn-submit {
        font-size: 1.1rem;
        padding: 14px 0;
    }
}
/* -----------------------------------
   FOOTER
----------------------------------- */
.footer {
    background: var(--green-light);
    color: white;
    padding: 40px 20px 20px;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 220px;
    text-align: center;
}

.footer-logo {
    width: 120px;
    border-radius: 15px;
    border: 3px solid #1bc383;
    margin-bottom: 12px;
}

.footer-org {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-country {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #d4f0d4;
    outline: none;
}

.footer-social a {
    font-size: 1.6rem;
    margin: 0 10px;
    color: white;
    transition: color 0.3s ease;
}

.footer-social a:hover,
.footer-social a:focus {
    color: #d4f0d4;
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
    opacity: 0.85;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        flex: 1 1 100%;
    }

    .footer-social a {
        margin: 0 8px;
        font-size: 1.4rem;
    }
}

