/* Footer base */
.bg-footer {
  background-color: #12144c;
}
.social-media-bg {
  background-color: #2a2b5e;
}

/* Small label sizes inside pills */
.footer-text {
  font-size: xx-small;
}
.footer-app {
  font-size: x-small;
}

/* Flex layout for footer columns */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-col {
  flex: 1 1 190px;
  min-width: 170px;
}
.footer-brand {
  flex: 0 0 120px;
}

@media (min-width: 992px) {
  .footer-columns {
    gap: 32px;
  }
}

/* Download block: buttons left, QR right */
.download-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.download-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qr-img {
  height: 120px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Tablet (≤991px): columns stack into 2 per row */
@media (max-width: 991px) {
  .footer-col {
    flex: 1 1 45%; /* 2 columns per row */
  }
}

/* Mobile (≤576px): full stack */
@media (max-width: 576px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }

  .footer-col {
    flex: 1 1 100%;
    min-width: 100%;
  }

  /* Download section stacked */
  .download-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .download-left {
    width: 100%;
    align-items: center;
  }
  .download-left a {
    width: 100% !important;
    max-width: 220px; /* buttons centered */
  }
  .qr-img {
    margin-top: 12px;
    height: 90px;
  }

  /* Social section center aligned */
  .social-media-bg .container {
    flex-direction: column !important;
    gap: 10px;
    text-align: center;
  }
}
