.site-footer {
  background-color: #f7f7f7;
  color: #333333;
  padding: 50px 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-about,
.footer-nav,
.footer-contact {
  flex: 1; /* This will ensure each footer section takes equal width */
  margin: 0 10px; /* Add horizontal margin */
  text-align: left; /* Align text to the left for consistency */
  min-width: 200px; /* Minimum width to prevent sections from getting too narrow before wrapping */
}

.footer-nav ul,
.footer-contact p {
  list-style: none;
  padding: 0;
}

.footer-nav ul li a,
.footer-contact p a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-contact p a:hover {
  color: #009444;
}

.footer-about {
  text-align: left; /* Align the 'About Us' text to the left */
}

.footer-nav {
  text-align: center; /* Center the 'Quick Links' text */
}

.footer-contact {
  text-align: right; /* Align the 'Contact Info' text to the right */
}

.footer-bottom {
  text-align: center;
  font-size: 0.8em;
}

/* Footer responsiveness */
@media (max-width: 768px) {
  .site-footer .container .footer-content,
  .site-footer .container .footer-about,
  .site-footer .container .footer-nav,
  .site-footer .container .footer-contact {
    display: block; /* Changes display to block for stacking */
    flex-basis: 100%; /* Ensures full width */
    text-align: center; /* Centers text for all items */
    margin: 10px 0; /* Adds vertical margin */
  }

  .footer-nav ul,
  .footer-contact p,
  .footer-nav ul li a,
  .footer-contact p a {
    text-align: center; /* Center aligns the text */
    width: 100%; /* Ensures full width */
  }
}
@media (max-width: 768px) { /* Adjusts styles for screens smaller than 768px wide */
  .background-container {
    padding: 20px; /* Less padding on smaller screens */
  }

  .container {
    padding: 15px; /* Adjust padding for the content container */
  }

  .title-container h1 {
    font-size: 1.8rem; /* Smaller font size for the title */
  }


  .content h2 {
    font-size: 1.5rem; /* Adjust heading sizes */
  }

  .content p {
    font-size: 0.9rem; /* Adjust paragraph sizes if needed */
  }

  .img-container img {
    max-width: 100%; /* Ensure images are not wider than the screen */
  }

}
