/* Earpedia footer styles */

/* ================== Footer ================== */
.footer {
  background-color: var(--color-teal);
  padding: 60px 0 40px 0;
  color: var(--color-white);
}

.footer .container {
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  max-width: 1200px;
}

.footer-content {
  display: flex;
  gap: 60px;
  width: 100%;
  margin-bottom: 40px;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.footer-title {
  font-size: 71px;
  font-weight: 800;
  color: var(--color-mint);
  margin: 0 0 20px 0;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-white);
  margin: 0;
  font-weight: 500;
  position: relative;
}

.footer-tagline::before,
.footer-tagline::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-white) 30%,
    var(--color-white) 70%,
    transparent 100%
  );
}

.footer-tagline::before {
  left: -70px;
  top: 12px;
}

.footer-tagline::after {
  right: -70px;
  top: 12px;
}

.footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer .nav-section {
  display: flex;
  flex-direction: column;
}

.footer .nav-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

.footer .nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
  line-height: 1.4;
}

.footer .nav-link:hover {
  opacity: 1;
  color: var(--color-mint);
}

.footer .footer-products {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer .product-section {
  display: flex;
  flex-direction: column;
}

.footer .product-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

.footer .product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .product-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
  line-height: 1.4;
}

.footer .product-link:hover {
  opacity: 1;
  color: var(--color-mint);
}

.footer .footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
}

.footer .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer .footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer .footer-copyright p {
  font-size: 16px;
  color: var(--color-white);
  opacity: 0.8;
  margin: 0;
}

.footer .footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer .legal-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer .legal-link:hover {
  opacity: 1;
  color: var(--color-mint);
}

.footer .separator {
  color: var(--color-white);
  opacity: 0.5;
  font-size: 14px;
}

.footer .footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.footer .social-link:hover {
  opacity: 1;
  background-color: var(--color-mint);
  transform: translateY(-2px);
  color: var(--color-teal);
}

.footer .social-link svg {
  width: 20px;
  height: 20px;
}


@media screen and (max-width: 1023px) and (min-width: 768px) {
  /* Footer - Tablet */
  .footer {
    padding: 40px 0 30px 0;
  }

  .footer-content {
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-brand {
    flex: 0 0 100%;
    align-items: center;
    text-align: center;
  }

  .footer-title {
    font-size: 36px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-tagline::before,
  .footer-tagline::after {
    width: 40px;
  }

  .footer-tagline::before {
    left: -50px;
  }

  .footer-tagline::after {
    right: -50px;
  }

  .footer .footer-nav,
  .footer .footer-products {
    flex: 1;
    min-width: 200px;
  }

  .footer .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media screen and (max-width: 767px) {
  /* Footer - Mobile */
  .footer {
    padding: 30px 0 25px 0;
  }

  .footer-content {
    gap: 30px;
    flex-direction: column;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-title {
    font-size: 32px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-tagline::before,
  .footer-tagline::after {
    width: 30px;
  }

  .footer-tagline::before {
    left: -40px;
  }

  .footer-tagline::after {
    right: -40px;
  }

  .footer .footer-nav,
  .footer .footer-products {
    width: 100%;
  }

  .footer .nav-section,
  .footer .product-section {
    align-items: center;
    text-align: center;
  }

  .footer .nav-title,
  .footer .product-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer .nav-list,
  .footer .product-list {
    align-items: center;
  }

  .footer .nav-link,
  .footer .product-link {
    font-size: 13px;
  }

  .footer .footer-bottom {
    padding-top: 25px;
  }

  .footer .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer .footer-social {
    order: -1;
    margin-bottom: 16px;
  }

  .footer .footer-copyright {
    align-items: center;
  }

  .footer .footer-copyright p {
    font-size: 12px;
  }

  .footer .footer-legal-links {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer .legal-link {
    font-size: 12px;
  }

  .footer .separator {
    font-size: 12px;
  }

  .footer .footer-social {
    gap: 12px;
  }

  .footer .social-link {
    width: 36px;
    height: 36px;
  }

  .footer .social-link svg {
    width: 18px;
    height: 18px;
  }
}

@media screen and (max-width: 480px) {
  /* Footer - Small Mobile */
  .footer-title {
    font-size: 28px;
  }

  .footer-tagline::before,
  .footer-tagline::after {
    width: 20px;
    top: 12px;
  }

  .footer-tagline::before {
    left: -25px;
  }

  .footer-tagline::after {
    right: -25px;
  }

  .footer .nav-link,
  .footer .product-link {
    font-size: 12px;
  }

  .footer .social-link {
    width: 32px;
    height: 32px;
  }

  .footer .social-link svg {
    width: 16px;
    height: 16px;
  }
}
