body { margin: 0;   padding-top: 70px;  font-family: 'MyCustomFont', sans-serif; letter-spacing: 0.5px }
    
@font-face {
  font-family: 'MyCustomFont';
  src: url('Font/Cairo-Black.ttf') format('woff2'),
    
}




/*nav*/

nav {
      background-color: #106b29;
      color: white;
     /* padding: 1rem;*/
      
      display: flex;
      /**/justify-content: center;
      align-items: center;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      opacity: 0.97;

    }
    .navspace {
      margin:  auto;
      display: flex;
        gap: 25px; 
    }

    .logo {
  margin-right: auto; /* يزق اللوجو أقصى الشمال */
}
    .imggg {
  /*position: fixed;*/
  /*top: 20px;
  left: 20px;*/
  padding-left: 9rem;
  padding-top: 8px;
  padding-bottom: 8px;
  
 filter: brightness(0) invert(1);
  width: 65px;
  height: auto;
  z-index: 999;
  opacity: 0.95;
}
    nav a {
      padding-right: 25px;
      color: rgb(255, 255, 255);
      text-decoration: none;
      margin: 0 1rem;
      font-size: 18px;
      transition: color 0.3s ease;
     
    }
    nav a:hover {
      color:#BDCF9B
    }

  .language-switch select {
  padding: 5px 10px;
  margin-right: 100px;
  font-size: 16px;
  border-radius: 5px;
 /* border: 1px solid #ccc;*/
  background-color: white;
  cursor: pointer;
}

.language-switch select:hover {
  border-color: #BDCF9B;
}

.products-container {
  display: flex;
  justify-content: center;   
  gap: 10px;                 
  flex-wrap: wrap;           
  margin: 50px auto;
  max-width: 1280px;
  text-align: center;
}

/*.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 4px;
  width: 410px;             
  text-align: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}*/

/*.product-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  
  
}*/

/*
.product {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}
.right {
margin-right: 45%;

}
.left{
  margin-left: 40%;
}*/
/*
.product-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
 /*box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  max-width: 600px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
*/
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}


/*.product-card img {
  width: 430px;
  height: auto;
  margin: 0 auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}*/

.product-card img:hover {
  transform: scale(1.15) rotate(-2deg);
/* filter: drop-shadow(0 8px 18px rgba(209, 9, 9, 0.25));*/
}

.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 15px;
  width: 100%;
  max-width: 410px;   /* أقصى حجم */
  text-align: center;
  transition: transform 0.3s ease-in-out;
  box-sizing: border-box;
}

.product-card img {
  width: 100%;         /* ياخد كل عرض الكارت */
  height: auto;
  max-width: 280px;    /* أقصى حجم مناسب */
  margin: 0 auto;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card h2 {
  font-size: 1.5rem;   /* أصغر شوية عشان الموبايل */
  margin-bottom: 1rem;
}

.product-card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
  margin-bottom: 1.5rem;
}
}
.features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-weight: bold;
}




@keyframes floatIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.product-card img {
  animation: floatIn 0.8s ease forwards;
}
.footer {
  background-color: #106b29;
  color: #333;
  padding: 2rem 1rem;
  margin-top: 3rem;

}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.footer-logo img {
  margin-top: 30px;
  width: 110px;
   filter: grayscale(100%);
 filter: brightness(0) invert(1);
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 2  0px;
}

.footer-links a:hover {
  color: #BDCF9B;
}

.footer-social img {
  width: 24px;
  margin: 0 5px;
  transition: transform 0.3s ease;
 /*  background-color: white;*/
  border-radius: 25%;
}

.footer-social img:hover {
  transform: scale(1.1);
  
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #e0cece;
}

/* زرار الهامبورجر */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-right: 20px;
  color: white;
}

/* منيو الموبايل */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #106b29;
  position: absolute;
  top: 70px;
  right: 0;
  width: 200px;
  padding: 1rem;
  z-index: 9999;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  padding: 10px;
  font-size: 18px;
}

.mobile-menu a:hover {
  background: #BDCF9B;
  color: black;
  border-radius: 5px;
}

/* إظهار الهامبورجر وإخفاء اللينكات في الموبايل */
@media (max-width: 768px) {
  .navspace {
    display: none;
  }
  .hamburger {
    display: block;
  }
    .imggg{
     padding-left: 1rem;
  }
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo img {
    margin: auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-social {
    margin-top: 1rem;
  }
}
@media (max-width: 768px) {
  .products-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
  }

  .product-card img {
    max-width: 280px;   /* أصغر للعرض الضيق */
  }

  .product-card h2 {
    font-size: 1.2rem;
  }

  .product-card p {
    font-size: 0.95rem;
  }
}
