/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Header */
header {
  background: #076f03; /* Dark green background */
  color: white; /* White text color */
  padding: 20px 0; /* Padding for spacing */
  text-align: center; /* Center-align text */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.logo {
  display: flex;
  justify-content: center; /* Center logo horizontally */
  width: 150px;
  left: 0;
  object-fit: contain;
}

header h1 {
  font-size: 2.5em; /* Larger font size for the main title */
  margin: 0; /* Remove default margin */
  font-weight: bold; /* Make title bold */
}

header nav {
  margin-top: 10px; /* Space between title and navigation */
}

nav ul {
  list-style: none; /* Remove bullet points */
  padding: 0; /* Remove default padding */
  margin: 10px 0; /* Margin for spacing */
}

nav ul li {
  display: inline; /* Display items inline */
  margin: 0 15px; /* Space between navigation items */
}

nav ul li a {
  color: white; /* White text for links */
  text-decoration: none; /* Remove underline */
  font-weight: 600; /* Slightly bolder text */
  transition: color 0.3s; /* Smooth transition for hover effect */
}

nav ul li a:hover {
  text-decoration: underline; /* Underline on hover */
  color: #ffcc00; /* Change color on hover */
}

/* Blog Section */
#blog {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for contrast */
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center blog posts */
  gap: 20px; /* Space between blog posts */
}

.blog-post {
  background: #fff; /* White background for blog posts */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Prevent overflow */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  width: 300px; /* Fixed width for blog posts */
  transition: transform 0.2s; /* Animation on hover */
}

.blog-post:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.blog-post img {
  width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
}

.blog-post h3 {
  margin: 10px 0;
}

.blog-post p {
  padding: 0 15px 15px; /* Padding for text */
}

.read-more {
  display: block;
  text-align: center;
  padding: 10px;
  background: #076f03; /* Matching theme color */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px 15px; /* Margin for spacing */
}

.read-more:hover {
  background: #ffcc00; /* Change on hover */
}

/* Footer */
.footer {
  background-color: #0c4c1c;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Footer Logo */
.footer-logo {
  width: 30%; /* Flexible width for logo section */
  display: flex;
  justify-content: center; /* Center-align logo */
}

.footer-logo img {
  width: 100%; /* Make logo responsive */
  max-width: 150px; /* Set a max-width for the logo */
  height: auto;
  object-fit: contain;
}

/* Footer Contact Section */
.footer-contact {
  width: 35%;
  text-align: center;
}

.footer-contact h4 {
  margin-bottom: 10px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
}

.footer-contact li i {
  margin-right: 10px;
  font-style: normal;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Footer Copyright */
.footer-copyright {
  width: 35%;
  text-align: right;
  margin-bottom: 0;
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
  }
  .footer-logo,
  .footer-contact,
  .footer-copyright {
      width: 100%; /* Full-width sections on smaller screens */
      text-align: center;
      margin-bottom: 20px;
  }
}
