/* Footer Component */

.footer {
  background-color: #1a1f23;
  color: #fff;
  padding-top: var(--space-80);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-48);
  padding-bottom: var(--space-64);
}

/* Brand Column */
.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-20);
}

.footer__logo-icon {
  width: 32px;
  height: 35px;
  color: #fff;
  flex-shrink: 0;
}

.footer__logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.footer__tagline {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: var(--space-24);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.footer__social-link:hover {
  background-color: #a3e635;
  border-color: #a3e635;
  color: #1a1f23;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* Link Columns */
.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-24);
  padding-left: var(--space-12);
  border-left: 3px solid #a3e635;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer__link {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #a3e635;
}

/* Sub-section within column */
.footer__subsection {
  margin-top: var(--space-32);
}

.footer__subheading {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-20);
  padding-left: var(--space-12);
  border-left: 3px solid #a3e635;
}

/* Contact Info */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  font-size: 14px;
  color: #9ca3af;
}

.footer__contact-icon {
  width: 20px;
  height: 20px;
  color: #a3e635;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-icon svg {
  width: 100%;
  height: 100%;
}

.footer__contact-text {
  line-height: 1.5;
}

.footer__contact-link {
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer__contact-link:hover {
  color: #a3e635;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid #374151;
  padding: var(--space-24) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 14px;
  color: #6b7280;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.footer__legal-link {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer__legal-link:hover {
  color: #a3e635;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .footer__main {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-40);
  }

  .footer__brand {
    grid-column: span 3;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: start;
  }

  .footer__brand-content {
    max-width: 400px;
  }

  .footer__social {
    justify-self: end;
    margin-bottom: 0;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--space-48);
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
  }

  .footer__brand {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
  }

  .footer__brand-content {
    max-width: none;
  }

  .footer__social {
    justify-self: start;
    margin-top: var(--space-16);
  }

  .footer__column:last-child {
    grid-column: span 2;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-16);
    text-align: center;
  }

  .footer__legal {
    gap: var(--space-16);
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__column:last-child {
    grid-column: span 1;
  }
}

