/* إعادة ضبط */
@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {

  font-family: 'Cairo', sans-serif;
  /* font-family: "Tahoma", sans-serif; */


}
.contenar{
  width: 85%;
  margin: 0 auto;
}
/* الهيدر //////////////////////////////////////////////////////////////////////*/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: #3B9c01;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 20px;
}
.logo img {
  width: 90px;
  height: 50px;
  animation: sllied  1s ease forwards;
}
/* شاشة تحميل سوداء  loderrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr*/
.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 156, 1, 0.7); /* 0.8 = 80% شفافية */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.logo-fly {
  position: absolute;
  width: 150px;
  opacity: 0;
  transform: scale(0);
  animation: zoomIn 2s ease forwards, enterThenExit 3s ease-in-out forwards;
}
@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes enterThenExit {
  0% {
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  30% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 1;
  }
  100% {
    top: -100px;
    left: 100%;
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
}
/* زر القائمة //////////////////////////////////////////////////////////////////*/
.menu-toggle {
  font-size: 30px;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  animation: sllied  1s ease forwards;
}
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: #3B9c01; /* أخضر */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: right 0.3s ease;
  z-index: 1000;
}
.side-menu a {
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 900;
}
.side-menu a:hover {
  color: #f3d437;
}
.side-menu.active {
  right: 0;
}
.menu-toggle.open::before {
  content: "✖";
}
.menu-toggle::before {
  content: "☰";
}
/* end header */
/* /////////banar//////////////////////////////////////////////////////// */
.banar {
  width: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
  height: 30vh; /* خليه يساوي ارتفاع السلايدر */
}

.slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* home /////////////////////////////////////////////// */
#home{
    background:url(imgs/لوجو\ الراوي\ [Recovered]-23.png) no-repeat center fixed;
background-size: cover;
    position: relative;
    overflow: hidden;
} 
#home::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('imgs/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(0px); /* ← بلور أقوى */
    opacity: 1;
    z-index: 0;
}
#home::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
        background-color: rgba(255, 255, 255, 0.85); /* ← تظليل */
    z-index: 1;
}
#home > * {
    position: relative;
    z-index: 2;
}
.home{
  display: block;
}
.home-img{
  width: 100%;
  animation: sllicetop  1s ease forwards;
}
.home-img img{
  width: 100%;
  transition: .5s;
  padding-top: 60px;
   animation: moveUpDown 3s infinite; 
}
@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-50px); /* تحريك الصورة لأعلى */
    }
    100% {
        transform: translateY(0); /* العودة للوضع الأصلي */
    }
}
.home-sci a:hover {
  background-color: #3B9c01;
  color: #fff;
  box-shadow: 0 0 40px #3B9c01;
}
.home-text{
  color: #3B9c01;
}
.home-text h1{
  font-size: 25px;
  animation: slideDown 1s ease-out forwards;
  animation-delay: 0.7s;
  opacity: 0;
  color: #c4b155;
}
.home-text h1 span{
  font-size: 30px;
  color: #c4b155;
}
.home-text h2 {
  animation: slideUp 1s ease-out forwards;
  animation-delay: 1.1s;
  opacity: 0;
   font-size: 20px;
   line-height: 1.3;
}
.home-text h3 {
  font-size: 20px;
  font-weight: 700;
    animation: slideUp 1s ease-out forwards;
  animation-delay: 1.6s;
  opacity: 0;
}
.home-text h3 span {
  color: #c4b155;
}
.home-btn{
  padding-bottom: 40px;
margin-top: 10px;
  animation: sllicelift 2s ease forwards;
}
.btn-home{
  padding: 5px 20px;

border-radius: 8px;
color: #fff;
text-decoration: none;
font-size: 20px;
transition: .5s;
  display: inline-block;
  opacity: 0;
  transform: translateX(-100%);
  animation: slideInFromLeft 0.8s ease-out forwards;
  animation-delay: 1.2s; /* عدل التأخير لو حابب */
}
.home-btn a:hover{
transform: scale(.9);
background-color: #3B9c01;
box-shadow: 0 5px 50px #3B9c01;
color: #fff;
}

 .home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #2e7d32;
  border-radius: 50%;
  font-size: 20px;
  transition: .5s ease;
  text-decoration: none;
  margin: 30px 15px 30px 0;
  color: #2e7d32;
  animation-delay: calc(.2s * var(--1));
  opacity: 0;
  transform: translateX(100%);
  animation: slideInFromRight 0.6s ease-out forwards;
} 
.home-scil a:hover {
  background-color: #5be909;
  color: #fff;
  box-shadow: 0 0 40px #5eff00;
}
.home-sci a:nth-child(1) {
  animation-delay: 0.3s;
}
.home-sci a:nth-child(2) {
  animation-delay: 0.6s;
}
.home-sci a:nth-child(3) {
  animation-delay: 0.9s;
}
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* end home/////////////////////////////////////////// */
.wee{
  text-align: center;
  color: #fff;
  font-size: 40px;
  padding: 30px 0 ;
}
#about {
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* أو حسب ارتفاع العنصر */
   box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.6); /* ← ظل طالع لفوق */
}
#about::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('imgs/bgg.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(0px); /* ← بلور أقوى */
    opacity: 1;
    z-index: 0;
}
#about::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right ,rgba(87, 177, 1, 0.95),rgba(15, 31, 0, 0.95));  /* ← تظليل */
    z-index: 1;
  
  
}

#about > * {
    position: relative;
    z-index: 2;
}
.about{
  display: block;
}
.about-img{
  width: 100%;
  animation: sllicetop  1s ease forwards;
}
.about-img img{
  width: 100%;
  transition: .5s;
  padding-bottom: 30px;
   animation: move 3s infinite;
}
@keyframes move {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px); /* تحريك الصورة لأعلى */
    }
    100% {
        transform: translateX(20); /* العودة للوضع الأصلي */
    }
}
.about-text{
  color: #ffffff;
}
.about-text h1{
  font-size: 30px;
  animation: sllied  1s ease forwards;
}
.about-text h1 span{
  font-size: 40px;
  color: #d8c877;
}
.about-text h3 {
  font-size: 25px;
  font-weight: 700;
  animation: sllied 1s ease forwards;
  animation-delay: .7s;
}
.about-text h3 span {
  color: #d8c877;
}
.about-btn{
  padding-bottom: 40px;
margin-top: 10px;
  animation: sllicelift 2s ease forwards;
}
.about-home{
  padding: 5px 20px;
background-color: #fff;
border-radius: 8px;
color: #3B9c01;
text-decoration: none;
font-size: 20px;
transition: .5s;
}

.btn-about{
  padding: 5px 20px;
background-color: #ffffff;
border-radius: 8px;
color: #1e5821;
text-decoration: none;
font-size: 20px;
transition: .5s;
margin-top: 20px;

}
.about-btn a:hover{
transform: scale(.9);
background-color: #3B9c01;
box-shadow: 0 5px 50px #3B9c01;
color: #fff;
}
.about-text p{
  padding-bottom: 30px ;
  line-height: 1.6;
  color: #fff;
  font-size: 20px;
  animation: slliceRight 1s ease forwards;
}
/* end about /////////////////////////////rgb(231, 253, 218)///// */
#faq{
    background:url(imgs/bg.jpg) no-repeat center fixed;
border-bottom: 1px solid #2e7d32;
background-size: cover;
}#faq {
    position: relative;
    overflow: hidden;
}
#faq::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('imgs/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(0px); /* ← بلور أقوى */
    opacity: 1;
    z-index: 0;
}
#faq::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
        background-color: rgba(255, 255, 255, 0.85); /* ← تظليل */
    z-index: 1;
}
#faq > * {
    position: relative;
    z-index: 2;
}
.faq{
  display: flex;
  gap: 20px;
}
.faq-text{
padding-top: 30px;
}
.faq-text h2{
font-size: 30px;
text-align: center;
margin-bottom: 20px;
  animation: slliceRight 1s ease forwards;
  color: #2e7d32;
}
.faq-content{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(359px,auto));
}
.row{
  padding-bottom: 10px;
}
.row h3{
color: #c4b155;
text-align: center;
font-size: 20px;
}

/* ////////////////////////////////////////////////end faq */
#services {
  position: relative; /* ✳️ ده هو المفتاح عشان الخلفيات تبقى داخل السيكشن */
  overflow: hidden;    /* يمنع أي محتوى يخرج برا */
  border-bottom: 1px solid #2e7d32;
}
.services{
  display: block;
}
.services-img{
  width: 100%;
  animation: sllicetop  1s ease forwards;
   margin-top: 20px; 
   margin-bottom: 20px; 
}
.services-img img{
  width: 100%;
  transition: .5s;
  padding-top: 0px;
  border-radius: 15px;
}
.services-img img:hover{
transform: scale(.9);
}
#services::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('imgs/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(0px); /* ← بلور أقوى */
    opacity: 1;
    z-index: 0;
}
#services::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
        background-color: rgba(255, 255, 255, 0.85); /* ← تظليل */
    z-index: 1;
}
#services > * {
    position: relative;
    z-index: 2;
}
/* ////////////////////////////////////////////////////////////////// */
.we{
  text-align: center;
  color: #c4b155;
  font-size: 30px;
  padding: 10px;
}
#portfolio{
    background:url(imgs/bg.jpg) no-repeat center fixed;
border-bottom: 1px solid #2e7d32;
background-size: cover;
}#portfolio {
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* أو حسب ارتفاع العنصر */
}
#portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('imgs/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(0px); /* ← بلور أقوى */
    opacity: 1;
    z-index: 0;
}
#portfolio::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
        background-color: rgba(255, 255, 255, 0.85); /* ← تظليل */
    z-index: 1;
}
#portfolio > * {
    position: relative;
    z-index: 2;
}
.main-text{
padding-top: 30px;
}
.main-text h2{
font-size: 40px;
line-height: 1;
text-align: center;
margin-bottom: 40px;
  animation: slliceRight 1s ease forwards;
  color: #c4b155;
}
.portfolio-content{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(359px,auto));
}
.row{
position: relative;
overflow: hidden;
border-radius: 8px;
cursor: pointer;
  animation: sllicelift 1s ease forwards;
}
.row img{
width: 100%;
border-radius: 8px;
display: block;
transition: transform 0.5s;
}
.row img:hover{
  transform: scale(1.1);
}
/* ظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظ */



/* ////////////////////////////////////////////////////////////////// */
.testimonial-section {
  /* max-width: 1200px; */
  margin: auto;
  text-align: center;
}
.testimonial-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 20px;
  min-height: 250px;
}
.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
}
.testimonial-icon {
  font-size: 40px;
  color: #3B9c01;
  margin-bottom: 10px;
}
.testimonial-name {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.testimonial-text {
  color: #666;
  font-size: 15px;
}
.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 30px;
}
.buttons button {
  padding: 10px 20px;
  background-color: #3B9c01;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: .5s;
}
.buttons button:hover{
transform: scale(1.1);
box-shadow: 0 5px 50px #3B9c01;
}
.buttons button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.testimonial-section h2{
color:#3B9c01;
font-size: 30px;
padding: 20px;
font-weight: 800;
}
.testimonial-stars {
  color: #fbc02d;
  margin-bottom: 10px;
  font-size: 16px;
}

/* //////////////////////////////////////////////////////////// */
.loogoo{
color: #fff;
text-align: center;
padding: 30px;
font-size: 50px;
letter-spacing: 10px;
color: #fff;
}
.loogo{
  background-color: #3B9c01;
  min-height: 100vh;
    position: relative;
  background-color: #3B9c01;
  min-height: 100vh;
  overflow: hidden;
}
.logorow{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}
.rowlogo{
  width: calc(100% /3);
  border: 2px solid #fff;
  border-radius: 10px;
  overflow: hidden;
border-radius: 10px;
  padding: 17px;

}
.rowlogo img{
width: 100%; 
transition: .5s;
border-radius: 10px;
}
.rowlogo img:hover{
  transform: scale(1.1);
}


.loogo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imgs/bgg.jpg'); /* ← حط مسار الصورة هنا */
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* ← هنا نسبة الشفافية */
  z-index: 0;
}
.loogo > * {
  position: relative;
  z-index: 1;
}
/* ظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظ ///////////////////////////////////////*/
#contact{
          background: linear-gradient(to left ,rgba(87, 177, 1, 0.95),rgba(15, 31, 0, 0.95));  
            display: flex;
  flex-direction: column;
  justify-content: center; /* عموديًا */
  align-items: center;    /* أفقيًا */
  text-align: center;     /* يخلي النصوص متوسطة */
}
.weee{
  color: #fff;
  font-size: 40px;
}
.contact-scil a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 20px;
  transition: .5s ease;
  text-decoration: none;
  margin: 15px 15px 30px 0;
  color: #ffffff;
  opacity: 1;
  animation: sllicelift 1s ease forwards;
  animation-delay: calc(.2s * var(--1));
}
.contact-scil a:hover {
  background-color: #56dd07;
  color: #fff;
  box-shadow: 0 0 40px #5eff00;
}
.contact{
  display: block; 
}
.contact-social{
  width: 100%;
}
.contact-form{
  width: 100%;
}
::placeholder{
  font-size: 15px;
  color: #1e5821;
}
.contact-form input , textarea{
  width: 90%;
  outline: none;
  border:none;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 15px;
  color: #1e5821;
  border-radius: 8px; 
}
label{
    font-size: 15px;
  color: #1e5821;
}
.contact-form button{
  padding: 10px 60px;
  font-size: 20px;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 30px 8px 30px 8px;
  transition: .5s ease-in-out;
  color: #fff;
  margin-bottom: 20px;
}
.contact-form button:hover{
  background-color: #56dd07;
  color: #fff;
  transform: scale(1.2);
  box-shadow: 0 5px 30px #5eff00;
}
/* ////////////////////////////////////////////////////////////// */
.footer{
    background:rgba(15, 31, 0, 0.95);
display: block;
padding-top: 50px;
}
.footer-left{
  width: 100%;
display: flex; 
align-items: center;
justify-content: center;
display: none;
}
.footer-left img{
  width: 100%;
  
}
.footer-center a{
  display: flex; 
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 30px;
color: #ffffff;
padding-bottom: 30px;
transition: .3s;
}
.footer-center a:hover{
  color: #c5ab29;
}
.footer-right p{
   display: flex; 
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 20px;
padding-bottom: 30px;
color: #ffffff;
}
/* ///////////////////////////////////////////////////////////// */
@media (min-width: 768px) {
  .side-menu {
    position: static;
    flex-direction: row;
    height: auto;
    width: auto;
    background-color: transparent;
    gap: 20px;
    transform: none;
    justify-content: flex-end;
    display: flex;

  }

  .side-menu a {
    color: #2e7d32;
    font-size: 18px;
    opacity: 1;
    transform: none;
    margin-left: 40px;
    
  }

  .menu-toggle {
    display: none; /* إخفاء زر ☰ */
  }
}
.loogoo{
text-align: center;
padding: 30px;
font-size: 30px;
letter-spacing: 1px;
color: #fff;


}


.logorow{
  display: block;
  gap: 1px;
}
.rowlogo{
  width: 100%;
  border: 2px solid #fff;
  border-radius: 10px;
  margin-bottom: 20px;
}



.rowlogo img{
width: 100%;
transition: .5s;
border-radius: 10px;
}
/* //////////////////////////// ////////////////////////////////////////////////////*/
#backToTop {
  display: none; /* مخفي في البداية */
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 100;
  font-size: 15px;
  background: linear-gradient(135deg, #2e7d32, #81C784);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  width: 40px;
  height: 40px;
}

/* يظهر الزر تدريجيًا */
#backToTop.show {
  display: block;
  opacity: 1;
  transform: scale(1);

}

/* هزة خفيفة عند الظهور */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

#backToTop.animate {
  animation: bounce 1s ease;
}

/* نبض عند الـ hover */
#backToTop:hover {
  background: linear-gradient(135deg, #5be909, #a8e063);
  box-shadow: 0 0 25px rgba(91, 233, 9, 0.7);
  transform: scale(1.1);
}

@media (min-width: 1080px) {
header{
  padding: 10px 20px;
}
.logo img {
  width: 90px;
  height: 50px;
  animation: sllied  1s ease forwards;
}
  .side-menu {
    position: static;
    flex-direction: row;
    height: auto;
    width: auto;
    background-color: transparent;
    gap: 20px;
    transform: none;
    justify-content: flex-end;
    display: flex;
  }
  .side-menu a {
    color: #fff;
    font-size: 20px;
  }
.home{
  display: flex;
gap: 40px;
}
.home-text h1{
  font-size: 40px;
  animation: slideDown 1s ease-out forwards;
  animation-delay: 0.7s;
  opacity: 1;
}
.banar {
  width: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
}
.slider {
  position: relative;
  height: 100vh;
  width: 100%;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding-top: 80px;
}
.slide.active {
  display: block;
}
.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 156, 1, 0.7); /* 0.8 = 80% شفافية */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.logo-fly {
  position: absolute;
  width: 150px;
  opacity: 0;
  transform: scale(0);
  animation: zoomIn 2s ease forwards, enterThenExit 3s ease-in-out forwards;
}
@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes enterThenExit {
  0% {
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  30% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 1;
  }
  100% {
    top: -100px;
    left: 100%;
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }
}
.home-img{
  width: 50%;
  padding-top: 110px;
  padding-bottom: 50px;
  animation: sllicetop  1s ease forwards;
}
.home-img img{
  width: 100%;
  transition: .5s;
}
.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  font-size: 20px;
  transition: .5s ease;
  text-decoration: none;
}
.home-text{
  color: #3B9c01;
  width: 50%;
  padding-top: 100px;
}
.home-text h1{
  font-size: 30px;
  animation: sllied  1s ease forwards;
}
.home-text h1 span{
  font-size: 40px;
}
.home-btn{
  padding-bottom: 40px;
  animation: sllicelift 2s ease forwards;
}
.btn-home{
border-radius: 8px;
text-decoration: none;
font-size: 20px;
transition: .5s;
}
/* end home/////////////////////////////////////////// */
.about-section{
  display: flex;
gap: 40px;
}
.about-img{
  width: 50%;
  padding-top: 50px;
  padding-bottom: 50px;
  animation: sllicetop  1s ease forwards;
}
.about-img img{
  width: 100%;
  transition: .5s;
}
.about-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  font-size: 20px;
  transition: .5s ease;
  text-decoration: none;
}
.about-text{
  width: 50%;
  padding-top: 10px;
}
.about-text h1{
  font-size: 30px;
  animation: sllied  1s ease forwards;
}
.about-text h1 span{
  font-size: 40px;
}
.about-btn{
  padding-bottom: 40px;
  animation: sllicelift 2s ease forwards;
}
.about-home{
border-radius: 8px;
text-decoration: none;
font-size: 20px;
transition: .5s;
}
/* end about ///////////////////////////////////////// */
.services{
  display: flex;
}
.services-img{
  width: 50%;
  padding-top: 20px;
  padding-bottom: 20px;
  animation: sllicetop  1s ease forwards;
}
.services-img img{
  width: 100%;
  transition: .5s;
}
/* ////////////////////////////////////////// */
.main{
  display: flex;
  gap: 20px;
  height: 100vh;
}
.main-text{
padding-top: 60px;
}
.main-text h2{
font-size: 60px;
line-height: 1;
text-align: center;
margin-bottom: 10px;
  animation: slliceRight 1s ease forwards;
}
.portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(359px, 1fr));
  gap: 20px;
  padding: 20px 0;
}
.row {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  animation: sllicelift 1s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: none;
}
.row img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  display: block;
  transition: transform 0.5s;
  object-fit: contain; /* مهم */
}
.portfolio-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
/* //////////////////////////////////////////////////////////// */
.loogoo{
text-align: center;
padding: 30px;
font-size: 50px;
letter-spacing: 10px;
}
.loogo{
  min-height: 100vh;
}
.logorow{
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.rowlogo{
  width: calc(100% /3);
  border: 2px solid #fff;
  border-radius: 10px;
}
.row{
  margin-bottom: 20px;
}
.rowlogo img{
width: 100%;
transition: .5s;
border-radius: 10px;
}
.rowlogo img:hover{
  transform: scale(1.1);
}
/* ظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظ */
.contact{
  display: block;
}
.contact-social{
  width: 100%;
}
.contact-form{
  width: 100%;
}
::placeholder{
  font-size: 25px;
}
.contact-form input , textarea{
  width: 90%;
 outline: none;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 28px;
}
/* ////////////////////////////////////////////////////////////// */
.footer{
display: flex;
gap: 5%;
justify-content: center;
align-items: center;
padding-bottom: 20px;
}
.footer-right{
  width: 33%;
}
.footer-center{
  width: 33%;
}
.footer-left{
  width: 33%;
display: flex; 
align-items: center;
justify-content: center;
}
.footer-left img{
width: 180px;
height: 100px;
}
}
/*//////////////////////////////////////////////////// تحريك اللوجو من اليمين */
@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* تحريك العناصر من الأسفل */
@keyframes slideUp {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* تطبيق الأنيميشن على اللوجو */
.logo img {
  animation: slideInRight 1s ease-out forwards;
}
/* تطبيق الأنيميشن المتدرج على روابط الناف بار */
.side-menu a {
  opacity: 0;
  transform: translateY(50%);
  animation: slideUp 0.6s ease-out forwards;
}
/* تأخير تدريجي لكل عنصر */
.side-menu a:nth-child(1) {
  animation-delay: 0.3s;
}
.side-menu a:nth-child(2) {
  animation-delay: 0.5s;
}
.side-menu a:nth-child(3) {
  animation-delay: 0.7s;
}
.side-menu a:nth-child(4) {
  animation-delay: 0.9s;
}
.side-menu a:nth-child(5) {
  animation-delay: 1.1s;
}
@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes slideDown {
  0% {
    transform: translateY(-50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUp {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* شاشات صغيرة (موبايل أو تابلت) */
@media (max-width: 768px) {
  .testimonial-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .testimonial-card {
    width: 45%;
  }
}
/* شاشات أصغر (موبايل جدًا) */
@media (max-width: 480px) {
  .testimonial-card {
    width: 100%;
  }
}









#lang-toggle {
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 9999;
  background-color: transparent;
  border: 1px solid #fff;
  color: white;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
#lang-toggle:hover {
  background-color: #f3d437;
  background-color: #13e21d;

  box-shadow: 0 5px 20px #13e21d;
}

html[lang="ar"] {
  direction: rtl;
  text-align: right;
}
/* اتجاه الصفحة للإنجليزي */
html[lang="en"] {
  direction: ltr;
  text-align: left;
}

/* اتجاه الصفحة للعربي */



.glow-border-button {
  position: relative;
  display: inline-block;
  padding: 7px 30px;
  font-size: 20px;
  color: #fff;
  background-color: #13e21d;
  box-shadow: inset 0 0 50px #1e5821;
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: 0.3s ease;
}

.glow-border-button span {
  position: relative;
  z-index: 2;
}

/* ===== البوردر المتحرك ===== */
.glow-border-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: conic-gradient(
    from 0deg,
    #2e7d32,
    #3B9c01,
    #2e7d32,
    #3B9c01,
    #2e7d32
  );
  border-radius: 14px;
  z-index: 0;
  animation: spinBorder 2s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  padding: 2px;
}

/* عند الهوفر */
.glow-border-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #3B9c01;
}

/* أنيميشن البوردر */
@keyframes spinBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



/* ////////////////////////////////////////////////////// */



/* الوضع الداكن */
body.dark-mode {
  background-color: #063609;
  color: #ffffff;
}
.dark-mode #faq::after,
.dark-mode #home::after ,
.dark-mode #services::after, 
.dark-mode #portfolio::after,
.dark-mode #contact::after
{

        background-color: rgba(23, 36, 19, 0.85); /* ← تظليل */
  
}
.dark-mode .banar::after {
  background: rgba(23, 36, 19, 0.1); /* ← تظليل */
 
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
                background-color: rgba(23, 36, 19, 0.7); /* ← تظليل */

    z-index: 1;

}

.dark-mode #about::after {
  
    background: linear-gradient(to right ,rgba(23, 36, 19, 0.85), rgba(23, 36, 19, 0.85));  /* ← تظليل */

}

.dark-mode header,
.dark-mode footer {
  background-color:  #063609;
}

.dark-mode .side-menu a {
  color: #ffffff;
}

.dark-mode .glow-border-button span {
  color: #fff;
  border-color: #fff;
}

.dark-mode input,
.dark-mode ::placeholder,
.dark-mode textarea {
  background-color: #062408;
  color: #fff;

}

.dark-mode .clients-logos img {
  filter: brightness(0.8);
}
.home-text{
  color: #3B9c01;
}




.dark-mode .home-sci a {

  border: 2px solid #ffffff;

} 


.dark-mode .faq-content h2 ,
.dark-mode .home-text
{
  color: #fff;
}
.dark-mode .about-text h3,
.dark-mode .home-text h1,
.dark-mode .faq-content h3 {

  color: #c4b155;
}

.dark-mode .home-sci a {
  color: #ccc;
}

.dark-mode .testimonial-section,
.dark-mode #faq,
.dark-mode #services,
.dark-mode #portfolio,
.dark-mode #about,
.dark-mode #contact {
  background-color: #1e5821;
}
#darkModeToggle {
  background: none;
  border: none;
  font-size: 25px;
  cursor: pointer;
  margin: 0 10px;
  color: inherit;
  transition: 0.5s ;
}
#darkModeToggle:hover{
  transform: scale(1.1);
filter:drop-shadow( 0 5px 20px #ffffff);
}



/* /////////////////////////////////////////////////////////////////////////// */
.product-slider-section {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 90vh;
  /* margin: 50px auto; */
}

.product-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slide {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: 100%;
}

.product-slide.active {
  opacity: 1;
  z-index: 1;
}

.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption Style */
.caption {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 1.4rem;
  opacity: 0;
}

/* Animation */
.product-slide.active .caption {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s; /* تأخير بعد الصورة */
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



/* /////////////////////////////////////////////////// */

/* العنصر يكون مخفي أولًا */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s; /* ← التأخير قبل ما يبدأ يظهر */
}
/* ظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظ */
.floating-social {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
}

.floating-social .main-btn {
  width: 40px;
  height: 40px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.floating-social .main-btn:hover{
  box-shadow: 0 0 50px #25D366 ;
}

.floating-social .social-btn {
  width: 30px;
  height: 30px;
  background-color: #333;
  color: white;
  border-radius: 50%;
  position: absolute;
  left: 5px;
  bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
}


.floating-social.open .social-btn {
  opacity: 1;
  pointer-events: auto;
}
.floating-social.open .whatsapp {
  transform: translateY(-70px);
  background-color: #25D366;
}
.floating-social.open .whatsapp:hover{
  box-shadow: 0 0 40px #25D366 ;
}


.floating-social.open .facebook {
  transform: translate(50px, -50px);
  background-color: #1877F2;
}
.floating-social.open .facebook:hover{
  box-shadow: 0 0 40px #1877F2 ;
}


.floating-social.open .instagram {
  transform: translateX(70px);
  background-color: #C13584;
}
.floating-social.open .instagram:hover{
  box-shadow: 0 0 40px  #C13584 ;
}

/* ظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظظ */

