/* Base Styles for MeitY Footer */
.meity-footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
  width: 100%;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Useful Links Section */
.footer-top {
  background-color: #2c3e50; /* Primary header blue/slate */
  padding: 25px 0 20px 0;
  color: #ffffff;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #3498db;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
}

.footer-links-list li {
  display: inline-block;
}

.footer-links-list a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease-in-out;
}

.footer-links-list a .icon {
  font-size: 10px;
  margin-right: 6px;
  color: #3498db;
}

.footer-links-list a:hover {
  color: #3498db;
  text-decoration: underline;
}

/* Bottom Meta & Copyright Bar */
.footer-bottom {
  background-color: #1a252f; /* Darker bottom bar tone */
  padding: 12px 0;
  color: #bdc3c7;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright-text p,
.meta-info p {
  margin: 0;
  line-height: 1.4;
}

.copyright-text strong {
  color: #ffffff;
}

.meta-info span {
  color: #ffffff;
  font-weight: 500;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
  .footer-links-list {
    flex-direction: column;
    gap: 10px;
  }

  .bottom-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}