/* footer.css */
/* This file contains all styles for the footer across your website. */

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&family=Poppins:wght@400;500;600&display=swap');

/* =========================
   FOOTER STYLES
   ========================= */

.qalam-footer * {
  box-sizing: border-box;
}

.qalam-footer {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  padding: 48px 0;
  width: 100%;
}

.footer-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-description {
  flex: 1;
  max-width: 300px;
}

.footer-logo {
  width: 100px;
  height: auto;
  margin-bottom: 16px;
}

.footer-description p {
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex: 2;
  justify-content: space-between;
  gap: 32px;
}

.footer-nav-col .footer-nav-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #a0a0a0;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-col li {
  margin-bottom: 12px;
}

.footer-nav-col a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-nav-col a:hover {
  color: #bb86fc;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 14px;
  color: #d1d1d1;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: #d1d1d1;
  font-size: 12px;
  margin: 0;
}

.footer-legal a {
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 12px;
}

.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social a {
  color: #d1d1d1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #ffffff;
  text-decoration: underline;
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-description {
    max-width: 100%;
    margin-bottom: 32px;
  }
  
  .footer-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-nav-col {
    min-width: 150px;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-legal {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
  }
}

/* --- STYLES FOR SOCIAL ICONS --- */
.footer-social-icon {
  height: 24px;
  width: auto;
  vertical-align: middle;
  transition: opacity 0.3s ease;

}

.footer-social a:hover .footer-social-icon {
  opacity: 0.75;
}