* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

header #language-select {
  background-color: #689D4F;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  border: none;
  outline: none;
  position: relative;
  bottom: 5px;
}

#language-select-mobile {
  margin-top: 10px;
  background-color: #689D4F;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  border: none;
  outline: none;
}

.hero-section {
  background-image: url('./img/Hero\ Section.jpg'); /* استبدلها بمسار صورتك */
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* تظليل لتوضيح النص */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 15px;
  font-family: 'cursive';
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: #4B8933;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #689D4F;
}

.about-section {
  padding: 60px 20px;
  background: #f7f7f7;
  font-family: 'Arial', sans-serif;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-content {
  flex: 1 1 45%;
}

.about-content h2 {
  font-size: 28px;
  color: #4CAF50;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-features li {
  font-size: 15px;
  margin-bottom: 10px;
  color: #333;
}

.about-features i {
  color: #4CAF50;
  margin-right: 8px;
}

.about-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #4CAF50;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.about-btn:hover {
  background-color: #388e3c;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-content h3 {
    font-size: 22px;
  }

    header .logo img {
  width: 220px;
}
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
    header .logo img {
  width: 220px;
}
}

header .logo img {
  width: 380px;
}

.cards-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  position: relative;
  bottom: 160px;
  z-index: 10;
  position: relative;
  flex-wrap: wrap;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 50%;
  height: 100%;
  display: block;
}

.card-content {
  padding: 20px;
}

.card-content h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 400;
}

.card-content h4 strong {
  font-weight: 700;
}

.card-content p {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 992px) {
  .cards-section {
    justify-content: center;
  }

  .card {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .card-content h4 {
    font-size: 14px;
  }

  .card-content p {
    font-size: 12px;
  }

  .card img {
    width: 35%;
    height: 100%;
    display: block;
  }
}

.section {
  text-align: center;
}
.section h3 {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 0.5rem;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2d2d2d;
}
.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature {
  text-align: left;
}
.feature i {
  font-size: 2rem;
  color: #7bb241;
  margin-right: 10px;
}
.feature h4 {
  display: inline;
  font-size: 1.1rem;
  color: #2b2b2b;
}
.feature p {
  font-size: 0.8rem;
  color: #666;
  margin-left: 2rem;
  max-width: 270px;
}
.image-center img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }
  .features {
    align-items: center;
    text-align: center;
  }
  .feature {
    text-align: center;
  }
  .feature p {
    margin-left: 0;
  }
}

.section-title {
  margin: 50px 20px 20px;
}

.section-title h2 {
  font-size: 24px;
  color: #333;
  text-align: center;
}

.section-title h1 {
  font-size: 36px;
  font-weight: bold;
  color: #222;
  text-align: center;
}

.highlight {
  color: #1f1f1f;
  font-weight: 700;
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.popular-products {
  background-color: #f7f7f7;
  padding: 50px;
  margin-top: 40px;
}

.product-card {
  background-color: white;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#product-card3 img, #product-card5 img, #product-card7 img {
  width: 150px;
}

@media (min-width: 1200px) {
  .product-card {
    width: calc(25% - 20px); /* 4 بطاقات في الصف */
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .product-card {
    width: calc(33.33% - 20px); /* 3 بطاقات في الصف */
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .product-card {
    width: calc(50% - 20px); /* بطاقتين في الصف */
  }
}

@media (max-width: 480px) {
  .product-card {
    width: 100%; /* بطاقة واحدة في الصف */
  }
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 250px;
  height: auto;
  margin-bottom: 15px;
}

.product-card p {
  margin: 0;
  font-size: 16px;
  color: #444;
}

.product-card span {
  font-weight: bold;
}

.price {
  margin-top: 8px;
  font-size: 14px;
}

.price del {
  color: gray;
  margin-right: 8px;
}

.price ins {
  color: #58b32d;
  text-decoration: none;
}

@media (max-width: 768px) {
  .product-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .product-card {
    width: 100%;
  }

  .section-title h1 {
    font-size: 28px;
  }
}

.offer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 120px;
}

.offer-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.offer-image img {
  width: 100%;
  height: auto;
}

.offer-content {
  text-align: left;
}

.offer-content h4 {
  font-style: italic;
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.offer-content h1 {
  font-size: 48px;
  color: #6bbf32;
  margin: 0;
}

.offer-content p {
  margin: 10px 0 30px;
  font-size: 18px;
  color: #555;
}

.countdown {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.countdown div {
  text-align: center;
}

.countdown span {
  display: block;
  font-size: 26px;
  font-weight: bold;
  color: #6bbf32;
}

.countdown small {
  font-size: 14px;
  color: #555;
}

.btn {
  background-color: #6bbf32;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #5aa329;
}

@media (max-width: 768px) {
  .offer-section {
    flex-direction: column-reverse;
    text-align: center;
  }

  .offer-content {
    text-align: center;
  }

  .countdown {
    justify-content: center;
  }
}

.blog-section {
  padding: 60px 20px;
  text-align: center;
}

.blog-section h4 {
  font-style: italic;
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.blog-section h2 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 40px;
}

.blog-section h2 b {
  font-weight: bold;
}

.blog-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.blog-card {
  max-width: 300px;
  background-color: #fff;
  text-align: left;
}

.blog-card img {
  width: 100%;
  border-radius: 5px;
  height: 220px;
}

.blog-info {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

.blog-title {
  font-weight: bold;
  font-size: 16px;
  margin: 10px 0 5px;
}

.blog-desc {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .blog-section h2 {
    font-size: 28px;
  }

  .blog-cards {
    flex-direction: column;
    align-items: center;
  }
}

.eco-logos {
  background-color: #f7f7f7;
  padding: 40px 0;
  text-align: center;
}

.eco-logos h1 {
  padding-bottom: 40px;
  font-size: 35px;
  color: #4C8A34;
}

.eco-logos .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.eco-logos .logo-item img {
  max-width: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.eco-logos .logo-item img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .eco-logos .container {
    gap: 60px;
  }

  .eco-logos img {
    max-width: 90px;
  }
}

@media (max-width: 480px) {
  .eco-logos .container {
    flex-direction: column;
    gap: 40px;
  }

  .eco-logos .logo-item img {
    max-width: 90px;
  }
}

.site-footer {
  background: #fff;
  color: #666;
  font-family: Arial, sans-serif;
}

.footer-top {
  padding: 40px 20px;
  background: #ffffff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
}

/* .footer-about, .footer-links, .footer-newsletter {
  flex: 1 1 220px;
  min-width: 200px;
} */

.footer-about .logo {
  font-size: 24px;
  color: #7bbf42;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 14px;
  margin-bottom: 10px;
  max-width: 350px;
}

.social-icons a {
  color: #7bbf42;
  margin-right: 10px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #4e9e1e;
}

.footer-links h4, .footer-newsletter h4 {
  color: #7bbf42;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #000;
}

.footer-newsletter form {
  display: flex;
  border: 1px solid #ccc;
  margin-top: 10px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  font-size: 14px;
}

.footer-newsletter button {
  background: #7bbf42;
  border: none;
  color: white;
  padding: 0 15px;
  cursor: pointer;
}

.footer-bottom {
  background: #fff;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #888;
}

.footer-bottom span {
  color: #7bbf42;
}

.payment-options img {
  height: 20px;
  margin: 0 5px;
  vertical-align: middle;
}

.footer-settings {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    width: 100%;
    box-sizing: border-box;
  }

  .footer-newsletter button {
    padding: 10px;
    margin-top: 5px;
  }
}

.contact-section {
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.contact-info,
.contact-form {
  flex: 1 1 45%;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 15px;
  color: #4CAF50;
}

.contact-info p,
.contact-info h4 {
  margin: 10px 0;
  color: #333;
  font-size: 15px;
}

.contact-info i {
  color: #4CAF50;
  margin-right: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
  padding: 15px;
  border: .5px solid #ccc;
  background-color: #f9f9f9;
  outline: none;
}

textarea {
  resize: none;
  padding: 15px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  padding-bottom: 30px;
  background-color: #f9f9f9;
  outline: none;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  width: fit-content;
  align-self: flex-start;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #388e3c;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }

  button[type="submit"] {
    width: 100%;
    align-self: stretch;
  }
}

.vision-section {
  position: relative;
  background: url('./img/Vision.jpg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 20px;
}

.vision-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #aef79d;
}

.vision-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .vision-content h2 {
    font-size: 2rem;
  }
  .vision-content p {
    font-size: 1rem;
  }

}

.privacy-section {
  max-width: 75%;
  text-align: left;
  margin: auto;
  padding: 30px;
}

.privacy-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #005a87;
  text-align: center;
}

.privacy-section h2 {
  font-size: 20px;
  margin-top: 25px;
  color: #0077aa;
}

.privacy-section p {
  margin: 10px 0;
  font-size: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d8d8d8;
}

@media (max-width: 600px) {
  .privacy-section {
    padding: 20px;
  }

  .privacy-section h1 {
    font-size: 24px;
  }

  .privacy-section h2 {
    font-size: 18px;
  }

  .privacy-section p {
    font-size: 15px;
  }
}

.banner {
  background-image: url('./img/Hero\ Section.jpg'); /* قم بتبديل هذا المسار بصورة الخلفية */
  background-size: cover;
  background-position: center;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* تظليل للخلفية */
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
}

@media (max-width: 768px) {
  .banner {
    height: 200px;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content h2 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 150px;
  }

  .banner-content h1 {
    font-size: 1.5rem;
  }

  .banner-content h2 {
    font-size: 0.9rem;
  }
}