/* Footer Main Styles */
.site-footer {
  background: #181d23;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
  padding-top: 2rem;
  padding-bottom: 0;
  margin-top: auto;
  border-top: 2px solid #23272f;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* Ensure body maintains proper flex layout for sticky footer */
body {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Ensure main content grows to fill available space */
main {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem 2.5rem 2.5rem;
  justify-items: center;
  align-items: start;
}
.footer-col {
  min-width: 0;
  margin-bottom: 2.5rem;
  align-items: center;
  text-align: center;
}
.footer-col.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo {
  width: 70px;
  margin-bottom: 1.2rem;
}
.footer-col.about p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.7rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
  letter-spacing: 0.02em;
}
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.footer-social img {
  width: 32px;
  height: 32px;
}

.footer-apps {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.footer-apps img {
  height: 40px;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.footer-col.explore ul,
.footer-col.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col.explore ul li,
.footer-col.contact ul li {
  margin-bottom: 0.4rem;
}
.footer-col.explore ul li a {
  cursor: pointer;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.footer-col.explore ul li a:hover {
  color: grey !important;
  text-decoration: underline;
}
.footer-col.contact ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  justify-content: center;
}
.footer-col.contact .icon {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  color: #cbd5e1;
  padding: 1.7rem 2.5rem 1.7rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #23272f;
}
.footer-bottom p {
  margin: 0;
  font-size: 1.05rem;
}
.footer-bottom-social {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-social img {
  width: 32px;
  height: 32px;
}

/* Ensure icon and text are side by side in footer links */
.footer-col.contact ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  justify-content: center;
  cursor: pointer;
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col.contact ul li a:hover {
  color: grey;
  text-decoration: underline;
}

/* Responsive Design */

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem 2rem 1rem;
    align-items: center;
    width: 100%;
  }
  .footer-col {
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
    margin-top: 1rem;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .footer-main {
    padding: 0 0.5rem 2rem 0.5rem;
    gap: 2rem;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
    text-align: center;
  }
  .footer-bottom-social {
    justify-content: center;
  }
  .footer-col {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 500px) {
  .site-footer {
    padding-top: 1rem;
  }
  .footer-main {
    padding: 0 0.5rem 1rem 0.5rem;
    gap: 1.2rem;
  }
  .footer-col {
    margin-bottom: 1rem;
  }
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
  }
  .footer-col ul li {
    font-size: 0.95rem;
  }
  .footer-logo {
    width: 48px;
    margin-bottom: 0.7rem;
  }
  .footer-col.about p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  .footer-bottom {
    padding: 0.7rem 0.5rem;
    font-size: 0.95rem;
  }
}
