/* Footer */
.main-footer {
  background: #004f9e;
  color: #fff;
  padding: 80px 0 20px;
  font-family: 'Poppins', sans-serif;
}

.main-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.main-footer .footer-links h3,
.main-footer .footer-services h3,
.main-footer .footer-newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
}

.main-footer .footer-links h3 span,
.main-footer .footer-services h3 span,
.main-footer .footer-newsletter h3 span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #00a86b;
}

.main-footer ul {
  list-style: none;
  padding: 0;
}

.main-footer ul li {
  margin-bottom: 15px;
}

.main-footer ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.main-footer ul li a:hover {
  color: #00a86b;
}

.main-footer ul li i {
  color: #00a86b;
  margin-right: 15px;
  font-size: 0.9rem;
}

.main-footer .footer-newsletter p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.main-footer .newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.main-footer .newsletter-form input[type="email"] {
  border: none;
  padding: 12px 15px;
  border-radius: 5px 0 0 5px;
  outline: none;
  flex-grow: 1;
  font-size: 1rem;
}

.main-footer .newsletter-form button {
  background: #00a86b;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.main-footer .newsletter-form button:hover {
  background: #007a4d;
}

.main-footer .social-icons {
  text-align: center;
}

.main-footer .social-icons a {
  color: #e0e0e0;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.main-footer .social-icons a:hover {
  color: #00a86b;
}

.main-footer .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.main-footer .footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.main-footer .footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .main-footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .main-footer .footer-links h3 span,
  .main-footer .footer-services h3 span,
  .main-footer .footer-newsletter h3 span {
    left: 50%;
    transform: translateX(-50%);
  }

  .main-footer .newsletter-form {
    justify-content: center;
  }
}