footer {
  background: black;
  color: var(--text-color-alt);
  padding: 1.5rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-section img {
  width: auto;
  height: 5rem;
  /* margin-bottom: 1.2rem; */
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.7rem;
}

.footer-section ul li a {
  color: var(--text-color-alt);
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--primary-color);
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-alt);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-links a:hover {
  background: var(--text-color-alt);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  opacity: 0.9;
}

.footer-contact-item i {
  width: 20px;
}

.footer-contact-item a {
  color: var(--text-color-alt);
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-contact-item a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--primary-color);
}

.newsletter-form {
  display: block;
  margin-top: 1rem;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-form button {
  padding: 0.7rem 1.5rem;
  background: var(--text-color-alt);
  color: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
  width: 13rem;
}

.newsletter-form button:hover {
  background: var(--primary-color);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-color-alt);
  text-decoration: none;
  opacity: 0.8;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section img {
  width: auto;
  height: 4rem;
}

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    display: flex;
  }

  .newsletter-form button {
    width: 100%;
  }
}
