/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #e6ffe6;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2e7d32;
}
.logo span {
  color: #00c853;
}

.navbar a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: #444;
}
.navbar a:hover {
  color: #00c853;
}

/* Hero Section */
.hero {
  background-color: rgb(95, 158, 95);
  padding: 2rem;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
}
.hero-text {
  margin-top: 1rem;
  text-align: center;
}
.hero-text h1 {
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
}

/* Product Section */
.products {
  padding: 3rem 2rem;
  text-align: center;
  background-color: peru;
  color: #fff;
}
.products h2 {
  font-size: 2rem;
}
.products p {
  margin: 1rem 0;
}
.products button {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  border: none;
  background-color: #66bb6a;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
.product-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.product-grid img {
  width: 150px;
  height: auto;
  border-radius: 8px;
}

/* Roots Section */
.roots {
  background-color: #f1f8e9;
  padding: 3rem 2rem;
  text-align: center;
}
.roots-content {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.roots-content p {
  max-width: 600px;
  margin-bottom: 1rem;
}
.roots-content img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

/* Blog Section */
.blog {
  padding: 3rem 2rem;
  background-color: rgb(184, 108, 108);
  text-align: center;
}
.blog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blog-content ul {
  list-style: none;
  margin-bottom: 2rem;
}
.blog-content li {
  background-color: #fff;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
}
.blog-content a {
  color: #2e7d32;
  display: block;
  margin-top: 0.5rem;
}
.blog-content img {
  width: 200px;
  border-radius: 10px;
}

/* Footer */
.footer {
  background-color: #2e7d32;
  color: #fff;
  padding: 2rem;
  text-align: center;
}
.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
}
.footer-logo span {
  color: #66bb6a;
}
.contact-form {
  margin-top: 1.5rem;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
}
.contact-form button {
  padding: 0.8rem;
  border: none;
  background-color: #00e676;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
.connect-text {
  margin-top: 2rem;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .roots-content {
    flex-direction: row;
    gap: 2rem;
  }
  .blog-content {
    flex-direction: row;
    justify-content: space-around;
  }
}

/* Footer Layout */
.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* 👈 Changed from stretch */
  gap: 80px;
  margin-top: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: #2e7d32;
  padding: 40px;
  border-radius: 16px;
}

/* Contact Form */
.contact-form {
  flex: 1;
  background: whitesmoke;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Team Section */
.team-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  min-width: 280px;
}

.team-member {
  text-align: center;
  padding: 20px;
  border-radius: 12px;

  /* Removed flex: 1; */
}



.team-member img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #05d464;
}

.team-member h4 {
  margin: 6px 0;
  font-size: 18px;
  font-weight: 600;
  color: #055c2a;
}

.team-member p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }
}

/* New container to make the form taller */
.eyefood-container {
  text-align: center;
  padding: 20px; /* Adjust this value to control the height */
  margin-top: auto; /* Pushes the container to the bottom */
}

/* Optional: style the text */
.eyefood-container p {
  font-size: 24px;
  font-weight: bold;
  color: #055c2a;
}

/* Footer Layout */
.footer-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Keep this to make the columns the same height */
  gap: 80px;
  margin-top: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: #2e7d32;
  padding: 40px;
  border-radius: 16px;
}

/* Contact Form */
.contact-form {
  flex: 1;
  background: whitesmoke;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Team Section */
.team-section {
  flex: 1;
  display: flex;
  height: 100%; /* Ensure it takes full height */
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  min-width: 280px;
}

.team-member {
  text-align: center;
  padding: 20px;
  border-radius: 12px;

}



.team-member img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #05d464;
}

.team-member h4 {
  margin: 6px 0;
  font-size: 18px;
  font-weight: 600;
  color: #055c2a;
}

.team-member p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }
} /* New container to make the form taller */
.eyefood-container {  
  text-align: center;
  padding: 20px; /* Adjust this value to control the height */
  margin-top: auto; /* Pushes the container to the bottom */
} 

 .social-container {
            text-align: center;
        }

        .social-heading {
            font-size: 2.5em;
            margin-bottom: 20px;
        }

        .social-icons {
            display: flex;
            gap: 20px;
            justify-content: center;
        }

        .icon-link {
            display: inline-block;
            color: white;
            font-size: 3em;
            transition: transform 0.3s ease-in-out;
        }

        .icon-link:hover {
            transform: scale(1.1);
        }

        .icon-facebook:hover {
            color: #1877f2;
        }

        .icon-instagram:hover {
            color: #e4405f;
        }