footer {
  background: linear-gradient(135deg, #4568dc, #b06ab3);
  padding: 40px 20px 20px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-section {
  padding: 0 10px;
}

.brand-section {
  padding-right: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.logo {
  width: 50px;
  height: auto;
  border-radius: 50%;
  background: white;
  padding: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.organization-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.address {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.section-title {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.contact-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.footer-links a:hover,
.contact-link:hover {
  color: #fff;
  transform: translateX(5px);
}

.copyright {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* Stack columns vertically */
    gap: 20px;
  }

  .footer-section {
    padding: 0;
    text-align: center; /* Center content */
  }

  .brand-section {
    padding-right: 0;
  }

  .logo-container {
    justify-content: center; /* Center logo and name */
  }

  .section-title {
    text-align: center;
    padding-bottom: 15px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .contact-section .footer-links,
  .social-media-section .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .copyright {
    margin-top: 20px;
    padding-top: 15px;
    font-size: 0.8rem;
  }

  /* Ensure all sections are visible */
  .navigation-section,
  .contact-section,
  .social-media-section {
    display: block;
  }
}

/* Additional mobile-specific adjustments */
@media screen and (max-width: 480px) {
  footer {
    padding: 30px 15px 15px;
  }

  .logo-container {
    flex-direction: column;
    align-items: center;
  }

  .organization-name {
    margin-top: 10px;
    text-align: center;
  }

  .address {
    text-align: center;
  }
}
