:root {
  --primary-color: #264832;
  --secondary-color: #3a6748;
  --accent-color: #3a6748;
  --light-green:#669a78a1;
  --light-color: #f8f9fa;
  --dark-color: #34403a;
  --gray-color: #737373;
  --light-blue: #e3f2fd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark-color);
  line-height: 1.6;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img,
.footer-logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: color 0.3s;
  padding: 5px 10px;
  border-radius: 4px;
}

nav ul li a:hover {
  color: var(--primary-color);
  background-color: rgba(26, 95, 122, 0.1);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */

.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../img/hero-bg-2K.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
    text-align: center;
    padding: 180px 0 120px;
    margin-top: 70px;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  color: #fff;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: 2px solid var(--accent-color);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--accent-color);
}

/* About Section */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title p {
  color: #666;
  font-size: 18px;
}
.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--gray-color);
}

/* Why Choose Us Section */
.features-bg {
  background-color: #f2f1ee;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
}

.feature:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* services Section */
.slider-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  padding: 10px;
}

/* الكارد */
.card {
  background: #f2f1ee;
  color: #fff;
  border-radius: 12px;
  padding: 40px 20px 40px;
  text-align: center;
  position: relative;
}

.card p {
  color: #343a40;
}

/* products Section */
.services-section {
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #f2f1ee;
  padding: 40px 25px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.service-card i {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: var(--gray-color);
  line-height: 1.7;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 10px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
}
.contact-info p {
  margin-bottom: 15px;
}
.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-details i {
  margin-left: 10px;
  color: var(--secondary-color);
  width: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.contact-map {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--gray-color);
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        padding: 140px 20px 100px;
    }
}
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .testimonial-card {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    left: 0;
  }
  nav ul {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    padding: 20px 0;
    z-index: 999;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-header {
    padding: 18px 15px;
  }

  .service-item.active .service-content {
    padding: 20px 15px;
  }
}

/* Responsive */
@media (min-width: 1024px) {
  .slide {
    min-width: 33.333%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .slider {
    overflow: visible;
  }

  .slider-track {
    flex-direction: column;
    transform: none !important;
  }

  .slide {
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .slider {
    overflow: visible;
  }

  .slider-track {
    flex-direction: column;
    transform: none !important;
  }

  .slide {
    min-width: 100%;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .logo img {
    width: 42px;
    height: 42px;
    padding: 4px;
  }

  .footer-logo img {
    width: 60px;
    height: 60px;
  }
}
