/* ============================================================
   Footer Component (Refactored with Grid)
   ============================================================ */

.footer {
  padding: var(--space-lg) 0;
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: var(--space-md) 0;
}

/* TOP SECTION */

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.footer-left {
  justify-self: start;
}

.footer-center {
  text-align: center;
}

.footer-right {
  justify-self: end;
}

/* Cap image */
.footer-cap {
  max-height: 80px;
  width: auto;
}

/* Badge */
.footer-badge {
  height: 80px;
  width: auto;
  display: block;
}

/* Center block */

.footer-question {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.footer-btn {
  display: inline-block;
}

/* BOTTOM SECTION */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-madeby {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-self: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

}

