.footer {
  background-color: #f4f4f4;
  padding: 20px 10px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 200px;
  min-height: 160px; /* Reserve height to prevent CLS */
  text-align: center;
}

.footer-section p {
  margin: 10px 0;
  font-size: 16px;
  font-weight: bold;
}

.footer-section img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 5px;
}

.social-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  min-height: 60px; /* prevent CLS from icon load */
}

.social-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  min-width: 60px;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

.social-icons a span {
  margin-top: 5px;
}

.social-icons a:hover {
  color: orange;
}

.app-icons {
  margin-top: 10px;
  min-height: 40px; /* Prevent CLS */
}

.app-icons img {
  width: 32px;
  height: 32px;
  margin: 5px;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  color: #777;
  display: inline-block;
  width: 100%;
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

/* Responsive */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 0px;


  }
  .footer-section {
    flex: 1 1 100%;
  min-height: 100px;  
  }
  .social-icons {
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer-section {
    font-size: 12px;
  }
  .footer-section img {
    width: 18px;
    height: 18px;
  }
  .social-icons img,
  .app-icons img {
    width: 24px;
    height: 24px;
  }
}
