.footer {
  background-color: #4caf50;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
  height: auto;
}

.footer-socials a {
  display: inline-block;
  margin-right: 8px;
  background-color: #4caf50;
  padding: 8px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: #2e7d32;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #2f3132;
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #2c3e50;
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #2c3e50;
}

.footer-bottom .footer-links a {
  color: #2c3e50;
  margin: 0 10px;
  text-decoration: none;
}

.footer-bottom .footer-links a:hover {
  color: #fff;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
  display: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#back-to-top i {
  transition: color 0.3s ease;
}

#back-to-top:hover {
  background-color: white;
}

#back-to-top:hover i {
  color: #4caf50;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-col {
    width: 100%;
  }

  .footer-logo {
    flex-direction: column;
    align-items: flex-start;
  }
}
