: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: #093443; /* اللون الطبيعي */
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
  }
  
  .nav-links li a {
    color: #093443 ;
  }
  
  .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;
    }
    .logo-section{
      display: none;
    }
    .scroll-container-wrapper button{
      display: none;
    }
  }
.container-tex{
  gap: 60px;
  padding: 10px 10%;
  background-color: white;
  flex-wrap: wrap;
}
.container-tex p{
  color: rgba(0, 0, 0, 0.51);
}
  .aboutus-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 5%;
    background-color: white;
    flex-wrap: wrap;
  }
  
  .image-section {
    flex: 1;
    max-width: 45%;
    position: relative;
    height: auto;
    min-width: 280px;
  }
  
  .image-section img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    right: 60px;;
    z-index: 2;
    transform: translateY(180px);
  }
  
  .green-box {
    width: 260px;
    height: 1000px;
    background-color: #33A5A0;
    position: absolute;
    top: -65px;
    right: 100px;
    
    border-radius: 10px;
    z-index: 1;
  }
  
  .text-section {
    flex: 1;
    max-width: 50%;
    min-width: 280px;
    text-align: right;
    margin-top: 40px;
  }
  
  .text-section h1 {
    font-size: 48px;
    font-weight: 700;
    color: #0A3442;
    margin-bottom: 20px;
  }
  
  .text-section h1 span {
    color: #33A5A0;
  }
  
  .text-section p {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-top: 18px;
    line-height: 2;
  }
  
  .logo-image {
    width: 120px;
    height: auto;
    margin-top: 80px;
    display: block;
  }
  
  .logo-inline {
    width: 270px;
    height: auto;
    margin: 0 20px auto auto;
  }

  .container-tex {
     /* قللي الرقم لرفع العنصر أكثر */
    /* text-align: center; */
    /* أو استخدمي السطر التالي لرفعه مباشرة لأعلى */
    position: relative;
       top: -50px;
       
       
       
  }
  
  .container-tex h2{
    font-size:48px;
    color: #0A3442;
  }

  .container-tex p{
    font-size: 22px;
    font-weight: 700;
  }




  .cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 0 15px; /* optional padding for small screens */
    position: relative;
    z-index: 10;
    transform: none; /* remove translateX for centering */
  }
  
  .card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 250px;
    height: auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    flex: 1 1 250px; /* flexible and responsive */
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .card h3 {
    margin-bottom: 10px;
  }
  
  /* Card Variants */
  .card1 {
    background-color: #0A3442;
    color: white;
  }
  .card1 h3,
  .card1 p {
    color: #FFFFFF;
  }
  .card1 h3 {
    font-size: 28px;
  }
  .card1 p {
    font-size: 16px;
    font-weight: 700;
  }
  
  .card2 {
    background-color: #FFFFFF;
  }
  .card2 h3 {
    color: #093443;
    font-size: 30px;
  }
  .card2 p {
    font-size: 16px;
    color: #33A5A0;
  }
  
  .card3 {
    background-color: #33A5A0;
  }
  .card3 h3 {
    color: #093443;
    font-size: 30px;
  }
  .card3 p {
    font-size: 16px;
    color: #FFFFFF;
  }
  @media (max-width: 768px) {
    .card {
      max-width: 100%;
    }
    .container-tex h2{
      font-size: 30px;
    }
  }
  



  /* scroll */
.scroll-container-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  width: 100%;
  padding: 10px 0px;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.image-card {
  flex: 0 0 100%; 
  max-width: 100%;
  text-align: center;
    flex-shrink: 0;
}

.image-card img {
  width: 50%;
  height: auto;
  border-radius: 10px;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00bfa6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}



.scroll-btn.left {
  /* left: 10px; */
  left: 25%;
}

.scroll-btn.right {
  /* right: 10px; */
  right: 25%;
}

@media (max-width: 768px) {
  .image-card {
    width: 100px;
  }
  .image-card  img{
    width: 70%;

  }

  .image-title {
    font-size: 16px;
  }

  .scroll-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

  
/* achievements */
.achievements {
  background: #FFFFFF;
  padding: 60px 20px;
  direction: rtl;
  text-align: center;
}

 

.achieve-subtitle {
  display: flex;
   align-items: start;
  /* justify-content: center; */
  gap: 12px;
  font-size: 1.9rem;
  color: #1B6268;
  margin-bottom: 30px;
  font-weight: bold;
}

.achieve-subtitle p{
  margin-top: 70px;
  transform: translatex(42%);
  
}


.achieve-subtitle img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.achieve-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.achieve-card {
  background: linear-gradient(180deg, #0A3442, #134C56, #1B6268, #2B8F8D, #33A5A0, #9ED4D2, #FFFFFF);
  padding: 30px 20px;
  border-radius: 20px;
  width: 20%;
  min-height: 350px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  color: #FFFFFF;
  align-items: center;
}

/* .achieve-card:hover {
  transform: translateY(-10px);
} */

.achieve-card img {
  width: 60px;
  margin-bottom: 15px;
}

.achieve-card h2 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.achieve-card p {
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.7;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .achieve-card {
    width: 48%;
  }

  .achieve-title {
    font-size: 1.5rem;
  }

  .achieve-subtitle {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .achieve-card {
    width: 100%;
  }

  .achieve-subtitle {
    flex-direction: column;
    gap: 6px;
  }
}


















  
  /* ------------------- Responsive ------------------- */
  
  @media (max-width: 1024px) {
    .aboutus-container {
      flex-direction: column;
      align-items: center;
      padding: 40px 20px;
    }
  
    .image-section {
      max-width: 100%;
      text-align: center;
    }
  
    .image-section img {
      transform: translateX(60px);
      /* transform: translateY(40px); */
    }
  
    .green-box {
      display: none;
    }
  
    .text-section {
      max-width: 100%;
      text-align: center;
      margin-top: 20px;
    }
  
    .text-section h1 {
      font-size: 36px;
    }
  
    .text-section p {
      font-size: 15px;
      padding: 0 10px;
    }
  
    .logo-image {
      margin: 30px auto 0;
    }
  
    .logo-inline {
      margin: 0 auto 10px;
      display: block;
    }
  }
  
  @media (max-width: 480px) {
    .text-section h1 {
      font-size: 30px;
    }
  
    .text-section p {
      font-size: 14px;
    }
  
    .logo-inline {
      width: 200px;
    }
  
    .logo-image {
      width: 100px;
    }
  }











  


    /* 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: none;
        color: orange;
      }
      
      .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;
        }
      }