/* تعميم */
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background: #f9f9f9;
  color: #333;
  direction: rtl;
}



/* Header Styles */
.main-header {
  background-color: #264a5a;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo img {
  height: 50px;
}

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

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.3s;
}

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

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    color: white;
  }

  .nav.active {
    display: block;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #264a5a;
    padding: 10px 20px;
    border-radius: 10px;
  }

  .nav.active ul {
    flex-direction: column;
    gap: 10px;
  }
}







/*البرواز الخاص بالبنر*/
.caller{
  background: #8e9da3;
  border-radius: 20px;
  border: 10px;
  padding: 10px;
}
























.projects-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  background-color: #00ff2231;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #0fec52;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}




















.contact-map {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

.contact-map h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* للموبايل */
@media (max-width: 600px) {
    .contact-map h2 {
        font-size: 22px;
    }

    .map-container iframe {
        height: 300px;
    }
}

























/* قسم المقدمة */
.service-intro {
  padding: 60px 0;
  background: #f8f9fa;
}

.intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 500px;
}

.intro-text h2 {
  font-size: 2rem;
  color: #2e7d32; /* لون يعكس الهوية الزراعية */
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #555;
}

.intro-image {
  flex: 1 1 500px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.intro-image img:hover {
  transform: scale(1.03);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    text-align: center;
  }
}





























/* قسم المميزات الزراعية */
.agriculture-features {
  padding: 60px 0;
  background: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 40px;
  font-weight: bold;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  background: #f8f9fa;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item i {
  font-size: 2.5rem;
  color: #66bb6a;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #2e7d32;
}

.feature-item p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
























.agriculture-gallery-slider {
  padding: 60px 0;
  background: #f8f9fa;
  text-align: center;
}

.slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: auto;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* أزرار التنقل */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

/* النقاط */
.dots {
  text-align: center;
  margin-top: 15px;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dots .active {
  background-color: #2e7d32;
}

/* جعل السلايدر متجاوب */
@media (max-width: 768px) {
  .prev, .next {
    padding: 8px;
    font-size: 14px;
  }
}







.agriculture-gallery {
  text-align: center;
  padding: 50px 20px;
  background: #f8f8f8;
}

.gallery-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2e7d32;
}

.agriculture-slider {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.agriculture-slide {
  min-width: 300px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.agriculture-slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.agriculture-slide:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.agriculture-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(46, 125, 50, 0.8);
  color: white;
  padding: 10px;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.agriculture-slide:hover .agriculture-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .agriculture-slide {
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .gallery-title {
    font-size: 1.5rem;
  }
  .agriculture-slide {
    min-width: 200px;
  }
}
























.agriculture-cta {
  background: linear-gradient(rgba(46, 125, 50, 0.85), rgba(46, 125, 50, 0.85)), url('images/farm-bg.jpg') center/cover no-repeat;
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.agriculture-cta .cta-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.agriculture-cta .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  background: #ffffff;
  color: #2e7d32;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #c8e6c9;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .agriculture-cta .cta-content h2 {
    font-size: 1.5rem;
  }
  .agriculture-cta .cta-content p {
    font-size: 1rem;
  }
}
























.footer {
  background-color: #264a5a;
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Cairo', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 16px;
  line-height: 1.7;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #00d4ff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #bbb;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}
  


.footer-contact a:hover i {
  color: #264a5a; /* لون عند المرور */
}
































/* تأثير الدخول */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

















