.footerx {
  background-color: #145214; /* Dark green */
  color: white;
  padding: 80px 16px 30px; /* Use side padding here */
  width: 100%;  /* Fix horizontal overflow */
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  font-family: Arial, sans-serif;
}

.footerx-logo img {
  max-width: 180px;
  margin-bottom: 1rem;
  display: block;
}

.footerx-description {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-size: 0.95rem;
  color: white;
}

.footerx-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footerx-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footerx-social a:hover {
  background: #80c342; /* lighter green */
  color: white;
}

.footerx-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  color: white;
  border-bottom: 2px solid #80c342; /* lighter green underline */
}

.footerx-links {
  list-style: none;
  padding: 0;
}

.footerx-links li {
  margin-bottom: 0.75rem;
}

.footerx-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footerx-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footerx-links a i {
  font-size: 0.8rem;
  color: #80c342;
}

.footerx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footerx-contact-icon {
  font-size: 1.25rem;
  color: #80c342;
  margin-top: 3px;
}

.footerx-contact-text {
  opacity: 0.9;
  font-size: 0.95rem;
  color: white;
}

.footerx-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: white;
}

.footerx-bottom i {
  color: #ff4757;
}

/* Responsive styles */
@media (max-width: 768px) {
  .footerx .col-lg-4,
  .footerx .col-lg-3,
  .footerx .col-lg-2,
  .footerx .col-md-6 {
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .footerx {
    padding-left: 16px;
    padding-right: 16px;
  }
}