:root {
  --primary-bg: #27a39b;
  --navbar-bg: #1f7e77;
  --text-white: #ffffff;
  --text-dark: #0a3442;
  --text-muted: #666;
  --text-hover: #dcdcdc;
  --gradient-start: #d95eff;
  --gradient-end: #5e8bff;
  --heading-color: #0A3442;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --bg-light: #eafaf8;
  --card-bg: linear-gradient(180deg, #dff6f3, #038378);
  --radius: 20px;
}

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

body {
  background-color: #ffffff;
  direction: rtl;
}

.hero {
  background-color: var(--primary-bg);
  padding: 20px;
  color: var(--text-white);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links li a {
  color: black; /* اللون الطبيعي */
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-links li a {
  color: #093443 !important;
}

.nav-links li a:hover {
  color: #33A5A0 ;
}


.nav-links li a:hover {
  color: #33A5A0;
  text-decoration: none; /* نمنع الخط تحت الرابط وقت الهوفر */
  border-bottom: none;   /* نتأكد إنه مش بيرسم خط */
}

.menu-toggle {
  display: none;
  font-size: 38px;
  background: none;
  color: var(--heading-color);
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 101;
}

.cta-button {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  color: var(--text-white);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: white !important;
  color: var(--gradient-start);
  border: 1px solid var(--gradient-start);
}


.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  flex-wrap: wrap;
}

.hero-text {
  color: var(--text-white);
  max-width: 40%;
}

.hero-text h1 {
  color: var(--heading-color);
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.5rem;
  line-height: 1.8;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image {
  margin-top: 0;
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--navbar-bg);
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .cta-button {
    margin-top: 10px;
    align-self: center;
    font-size: 1rem;
    width: 50%;
    text-align: center;
    padding: 12px;
    border-radius: 15px;
  }
}
/* policy */
.policy-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--primary-bg);
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--shadow-color);
  margin: 40px auto 20px;
  max-width: 1300px;
  height: 140px;
  color: var(--text-white);
  text-align: center;
  margin-top: 60px; /* أو أي قيمة تعجبك */
}

.policy-header h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--text-white);
}
.policy-header {
  text-align: center;
  margin-bottom: 60px; /* هنا نضيف مسافة تحت الصورة والعنوان */
}


.policy-header img {
  width: 50px;
  height: 50px;
}

.policies-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin: 50px;
}

.vision-card {
  background-color: #D2F1EE;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: right;
  flex: 1;
  min-width: 100px;
  width: 300px; /* هنا ضيفناها */
}


.vision-title {
  font-size: 1.8rem;
  color: #005C55;
  margin-bottom: 20px;
}

.vision-list {
  list-style-type: disc;
  padding-right: 20px;
  color: #005C55;
}

.vision-list li {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* صور الأعضاء */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.member-card {
  text-align: center;
}

.member-photo {
  width: 233px;
  height: 248px;
  object-fit: cover;
}

.member-name {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #333;
}

.member-position {
  font-size: 1rem;
  color: #777;
}

/* Responsive موبايل */
@media (max-width: 768px) {
  .policies-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text, .hero-image {
    max-width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
  }

  .cta-button {
    margin-top: 10px;
  }
} 
  


  
  
  /* Footer */
  footer {
    width: 100%;
    background-color: #0e3e46;
    color: white;
    padding: 40px 0 0;
    box-sizing: border-box;
  }
  
  .footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
  }
  
  .footer-column {
    flex: 1 1 200px;
    min-width: 220px;
  }
  
  .footer-column h3 {
    color: #3db8a9;
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .footer-column p,
  .footer-column a {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
  }
  
  .footer-column a:hover {
    text-decoration: underline;
  }
  
  .footer-logo-text {
    font-size: 0.95rem;
  }
  
  .section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .section .icon {
    width: 80px;
    height: 80px;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
  }
  
  .footer-bottom {
    background-color: #36b7a9;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }
  
  .footer-left, .footer-right {
    display: flex;
    align-items: center;
  }
  
  .footer-left {
    justify-content: flex-start;
  }
  
  .footer-right {
    justify-content: flex-end;
  }
  
  .footer-bottom a {
    color: orange;
    font-weight: bold;
    text-decoration: none;
  }
  
  .social-icons img:hover {
    border-radius: 50%;
    background-color: #038378;
  }
  
  .footer-column i {
    margin-left: 8px;
    color: #3db8a9;
    transition: color 0.3s ease;
  }
  
  .footer-column a {
    color: white;
    text-decoration: none; /* نلغي الخط تحت النص */
    transition: color 0.3s ease;
  }
  
  .footer-column a:hover {
    color: #FFC300; /* تغيير اللون فقط عند الوقوف */
    text-decoration: none; /* نتأكد إنه مفيش خط */
  }
  
  
  
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-column {
      min-width: 100%;
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  