/* footer */

.footer {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 3rem 1rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Brand Section === */
.footer h2 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social a {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: #94a3b8;
  text-decoration: none;
  display: inline-block;
}
.footer-social a:hover {
  color: #ffffff;
}

/* === Columns (Categories + Company) === */
.footer-col h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li a {
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: #cbd5e1;
}
.footer-col li a:hover {
  color: #ffffff;
}

/* === Subscribe Section === */
.footer-subscribe h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-subscribe p {
  margin-bottom: 1rem;
}

.footer-subscribe input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  background-color: #1e293b;
  color: #ffffff;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.footer-subscribe button {
  width: 100%;
  padding: 0.6rem 1rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.footer-subscribe button:hover {
  background-color: #2563eb;
}

/* === Bottom Copyright === */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

/* === Responsive === */
@media (max-width: 960px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
  }

  .footer-brand,
  .footer-subscribe {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-col {
    width: 100%;
  }
}