/* ================= Desktop CSS ================= */
/* All styles outside media queries */
footer {
  background-color: var(--bg-black);
  padding: 20px 32px;
}

.footer-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 0;
}

.newsletter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.newsletter-content h3 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.newsletter-content p {
  font-size: 1.25rem;
  color: #d2d6db;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #d2d6db;
  background-color: #fff;
  font-size: 1rem;
  width: 250px;
  color: #101828;
}

.newsletter-form button {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background-color: #ff3838;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #d92424;
}

.main-links-section {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.company-info {
  flex: 1 1 150px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 600;
}

.company-info p {
  font-size: 1rem;
  color: #d2d6db;
  margin-bottom: 24px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #292929;
  padding: 12px 16px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 24px;
}

.rating .stars i {
  color: #fdb022;
  font-size: 16px;
}

.rating p {
  margin: 0;
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.4;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 48px;
  flex: 2 1 auto;
}

.nav-column h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #f9fafb;
}

.nav-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-column li {
  margin-bottom: 14px;
}

.nav-column a {
  text-decoration: none;
  color: #d2d6db;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-column a:hover {
  color: #fff;
  text-decoration: underline;
}

.badge {
  background-color: #ff3838;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 16px;
  margin-left: 8px;
}

.divider {
  height: 1px;
  background-color: #ff3838;
  margin: 0 auto;
  max-width: 1280px;
}

.copyright-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-text {
  color: #fff;
  text-decoration: underline;
}
.copyright-section p {
  font-size: 1rem;
  color: #d2d6db;
  margin: 0;
}

.social-icons a {
  color: #d2d6db;
  font-size: 24px;
  margin-left: 24px;
  transition: color 0.3s ease;
}

.footer-contact {
  color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 8px;
}

.policy-text {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
}

.footer-icon-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-icons a:hover {
  color: #fff;
}

/* ================= Tablet CSS ================= */
@media (max-width: 1024px) {
  .nav-links,
  .auth-buttons {
    display: none;
  }

  .footer-nav-columns {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form button {
    width: 100%;
  }

  .main-links-section {
    flex-direction: column;
    gap: 48px;
  }

  .footer-nav-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .copyright-section {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    margin-top: 20px;
    margin-left: 0;
    justify-content: center;
    display: flex;
  }

  .social-icons a {
    margin: 0 12px;
  }
}

/* ================= Mobile CSS ================= */
@media (max-width: 480px) {
  .footer-nav-columns {
    grid-template-columns: 1fr;
  }
}
