footer {
  background-color: #1c2331; /* main footer color */
  color: #fff;
  width: 100%;
  font-family: 'Noto Sans', sans-serif;
  position: relative;
}

/* Social Media Section */
.footer-social {
  background-color: var(--color-primary);
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.6rem;
}

.footer-social span {
  flex: 1 1 100px;
}

.footer-social .social-links a {
  margin-left: 1rem;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social .social-links a:hover {
  color: #c49a6c; /* accent color on hover */
}

/* Links Section */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 2rem;
  gap: 2rem;
  margin: 0 2em;
}

.footer-column {

  max-width: 200px;
}

.footer-column h6 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.footer-hr {
  width: 60px;
  height: 2px;
  background-color: #7c4dff;
  margin-bottom: 1rem;
  
}

.footer-column p {
  font-size: 1.4rem;
  margin: 0.3rem 0;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #c49a6c;
}

/* Footer bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
  font-size: 1.4rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 1441px) {
  .footer-column {
    max-width: 400px; /* prevent very wide columns */
    min-width: 400px;
  }
}

@media (max-width: 1440px) and (min-width: 768px) {
  .footer-links {
    gap: 1.5rem; /* smaller gap than large screens */
    padding: 2rem 2rem;
  }

  .footer-column {
    flex: 1 1 200px; /* reduce column width */
    max-width: 200px; /* prevent very wide columns */
    text-align: left;
  }

  .footer-hr {
    margin-left: 0; /* keep line aligned left */
  }

  .footer-column p,
  .footer-column a {
    font-size: 1.5rem; /* slightly smaller than large screens */
    text-align: left;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 1rem 2rem;
  }

  .footer-social span {
    flex: 1 1 auto;
  }

  .footer-social .social-links a {
    font-size: 1.8rem;
    margin-left: 1rem;
  }

  .footer-bottom {
    font-size: 1.4rem;
    text-align: left;
  }
}


/* Responsive */
@media (max-width: 768px) {
    
    .footer-hr {

  justify-self:left;
}


.footer-social span {
  flex: 1 1 50px;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 3rem 2rem;
  gap: 2rem;
  margin: 0 2em;
}

.footer-column {

  min-width: 100%;
}

.footer-column h6 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.footer-hr {
  width: 60px;
  height: 2px;
  background-color: #7c4dff;
  margin-bottom: 1rem;
  
}

.footer-column p {
  font-size: 1.4rem;
  margin: 0.3rem 0;
  text-align: left;
  width: 80%;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
}