/* General Body Styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4e3;
}

/* Navbar Styling */
.navbar {
  background-color: #f4f4e3;
  border-bottom: 2px solid #224224;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  color: #224224;
}

.navbar-icon {
  height: 100px;
  width: auto;
  margin-right: 10px;
}

.navbar-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  line-height: 1.2;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 20px;
}

.menu a {
  text-decoration: none;
  color: #224224;
  padding: 8px 12px;
}

.menu a:hover {
  background-color: #d7c6aa;
  border-radius: 4px;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropbtn {
  text-decoration: none;
  color: #224224;
  padding: 8px 12px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #d7c6aa;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease; /* Smooth transitions */
}

.dropdown-content.visible {
  display: block;
  max-height: 200px; /* Set a limit or animation */
  opacity: 1;
}

.dropdown-content a {
  text-decoration: none;
  display: block;
  color: #224224;
  padding: 10px;
  border-bottom: 1px solid #f4f4e3;
}

.dropdown-content a:hover {
  background-color: #f4e3ec;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* General reset for the banner */
.welcome-banner {
  width: 100%;
  text-align: center;
  margin-bottom: 20px; /* Add spacing below the banner */
}

/* Style the banner image */
.welcome-banner img {
  width: 100%; /* Makes it responsive */
  max-height: 350px; /* Set a maximum height for consistency */
  object-fit: cover; /* Ensures the image scales and doesn't distort */
  border-bottom: 4px solid #556B2F; /* Optional green accent */
}

/* Main Content Wrapper */
.content-wrapper {
  display: flex; /* Use flexbox for horizontal layout */
  justify-content: space-between;
  gap: 20px; /* Space between left & right sections */
  padding: 20px;
}

/* Ensure left and right sections are properly styled without breaking other rules */
.left-section,
.right-section {
  flex: 1 1 auto; /* Allow both sections to share equal space */
  box-sizing: border-box;
}

/* Editorial Section Adjustments */
.editorial-section {
  background-color: #e0ead0;
  border: 1px solid #224224;
  border-radius: 8px;
  padding: 20px
}

.editorial-section h2 {
  text-align: center; /* Center-align the heading */
}

/* Editorial Image */
.editorial-image-container img {
  max-width: 900px; /* Restrict maximum width */
  height: 300px; /* Fixed height */
  width: auto; /* Keep the aspect ratio consistent */
  border-radius: 8px; /* Optional rounded corners */
}

/* Compare Section Adjustments */
.right-section {
  background-color: #d7c6aa;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #556b2f;
  border-radius: 8px;
}

/* Content Styling */
.why-eco-friendly {
  background-color: #d7c6aa;
  padding: 50px 20px;
  text-align: center;
}

.why-eco-friendly h2 {
  font-size: 2rem;
  color: #224224; /* Dark green */
  font-family: 'Cinzel Decorative', serif; /* Use the same font as the navbar text */
}

.eco-impact-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px auto;
}

.eco-impact-container div {
  background: #f4f4e3;
  padding: 20px;
  border-radius: 8px;
  width: 48%;
  text-align: left;
}

.impact-statement p {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: #224224; /* Dark green */
}

/* Editorial Section Heading Styling */
.editorial-section h2,
.why-eco-friendly h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #224224; /* Match the deep green theme */
  font-size: 2.4rem; /* Keep consistent with other headings */
  margin-bottom: 15px;
}

/* General Content Font Size */
.editorial-section p,
.why-eco-friendly p {
  font-size: 1.2rem; /* Increase the font size slightly */
  line-height: 1.8; /* Improve readability with proper line spacing */
  color: #333; /* Adjust text color for better contrast if necessary */
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: #556b2f; /* Match your theme */
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  display: none; 
}

#back-to-top:hover {
  background-color: #224224; /* Darker shade for hover */
}