
:root {
  --green: #1f7a4d;
  --dark: #0f3d2e;
  --light: #f4fff9;
  --light-bg: #d8dbd0d4;
  --dark-bg: #161713d4;
}

* {
  box-sizing: border-box;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
}
a:link {
  text-decoration: none; /* إزالة الخط السفلي */
  transition: all 0.3s ease; /* إذا تريد تأثير hover سلس */
}

body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
    

	background-image: url(/img/bg.jpg);
    background-repeat: repeat;
    background-size: cover;
	
}
.ltr{
	direction:ltr!important;
}
.rtl{
	direction:rtl!important;
}
.navbar {
  background: var(--green);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
}

.navbar a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  opacity: .8;
}


.headbg{
	
	width: 100%;
	filter: brightness(40%) /* إضاءة */ contrast(90%) /* تباين */ saturate(230%) /* تشبع الألوان */ grayscale(0%);
}




.hero-image {
  position: relative;
  width: 100%;
  height: 25vh; /* بدل 420px → يأخذ 55% من ارتفاع الشاشة */

  overflow: hidden;
}

.hero-image img {
  width: 100%;
  
  object-fit: cover;
    animation: floatImage 22s ease-in-out infinite;

}


@keyframes floatImage {
  0%   { transform: scale(1) translateY(0); }
  50%  { transform: scale(1.05) translateY(-20%); } /* استخدم نسبة مئوية */
  100% { transform: scale(1) translateY(0); }
}
@media (max-width: 768px) {
  @keyframes floatImage {
    0%   { transform: scale(1) translateY(0); }
    50%  { transform: scale(1.03) translateY(-10%); }
    100% { transform: scale(1) translateY(0); }
  }
}


/* أيقونة الورقة */
.warqa {
    display: inline-block;
    color: #3fb984;
    font-size: 29px;
    margin-left: 10px;
    transform-origin: center bottom;
      animation: swayLeaf 4s cubic-bezier(.42,.01,.58,1) infinite; /* انسيابية طبيعية */

    position: absolute;
    margin-left: 104px;
    margin-top: -43px;
}

/* Keyframes للحركة الانسيابية (يمين ويسار) */
@keyframes swayLeaf {
  0%   { transform: rotate(0deg) translateY(0); }
  20%  { transform: rotate(12deg) translateY(-2px); }
  40%  { transform: rotate(-10deg) translateY(-1px); }
  60%  { transform: rotate(8deg) translateY(-2px); }
  80%  { transform: rotate(-12deg) translateY(-1px); }
  100% { transform: rotate(0deg) translateY(0); }
}





.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-text h1 {
  font-size: 64px;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 
    0 4px 10px rgba(0,0,0,.6),
    0 0 30px rgba(0,0,0,.4);
  animation: floatText 4s ease-in-out infinite;
    font-family: 'Amiri', Tahoma, Arial, sans-serif;
  font-weight: 700;
    line-height: 131px;
}

.hero-text p {
  font-size: 20px;
  margin-top: 10px;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

@keyframes floatText {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 42px;
  }
  .hero-text p {
    font-size: 16px;
  }
}







.navbar-brand i {
  margin-right: 8px;
  color: #fff;
}

.navbar-toggler i {
  font-size: 24px;
  color: #fff;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 16px;
}

.btn-outline-light i {
  margin-right: 5px;
}

@media (max-width: 991px) {
  /* جعل أرقام الاتصال تظهر تحت القائمة على الموبايل */
  .navbar-collapse .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-collapse .d-flex a {
    margin-bottom: 5px;
  }
}




.light-block{
	
	background: var(--light-bg);
	
}


.dark-block{
	
	background: var(--dark-bg);
	
}









.service-btn {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 20px;
  font-size: 18px;
  margin: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.service-btn i {
  margin-right: 10px;
}
.service-btn:hover {
  background: #3fb984;
  transform: translateY(-5px);
}








.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: #25D366; /* لون WhatsApp الأخضر */
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: floatBounce 2s infinite; /* حركة جذابة */
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

/* حركة لطيفة لجذب الانتباه */
@keyframes floatBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


.whatsapp-float {
  box-shadow: 0 0 15px rgba(37,211,102,0.6), 0 8px 20px rgba(0,0,0,0.3);
}

.whatsapp-float:hover::after {
  content: "تواصل معنا على WhatsApp";
  position: absolute;
  right: 80px;
  background: #25D366;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
}














.services-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 50px 0;
}

.service-card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  margin: 15px;
  font-size: 22px;
  color: var(--green);
}

.service-card p {
  margin: 0 15px 15px 15px;
  color: #555;
  font-size: 16px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Modal */
.modal {
  display: none; /* مخفي افتراضياً */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}


