/* تعميم */
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;
}
































/* بانر المشاريع الزراعية */
.hero-agriculture {
  position: relative;
  height: 100vh;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-agriculture .video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.2s ease-out;
}

.hero-agriculture .hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
}

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

.hero-agriculture p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.cta-btn {
  background-color: #4CAF50;
  padding: 12px 25px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-btn:hover {
  background-color: #45a049;
}








































/* قسم مقدمة المشروع الزراعي */
.intro-agriculture {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.intro-agriculture .container {
  max-width: 900px;
  margin: auto;
}

.intro-agriculture h2 {
  font-size: 2.5rem;
  color: #4CAF50;
  margin-bottom: 20px;
}

.intro-agriculture p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}






































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

.features-agriculture h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #4CAF50;
}

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

.feature-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box i {
  font-size: 3rem;
  color: #4CAF50;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

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

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



































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

.agriculture-gallery h2 {
  font-size: 2.5rem;
  color: #4CAF50;
  margin-bottom: 40px;
}

.agricultureSwiper {
  width: 100%;
}

.agricultureSwiper .swiper-slide {
  position: relative;
}

.agricultureSwiper img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.caption {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  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);
}
