.social-icons {
  display: flex;
  gap: 30px;
  /* make icons closer or farther */
}

.social-icons a {
  display: flex;
  align-items: center;
}

.site-footer {
  background: #2b2b2b;
  color: hsl(167, 24%, 100%);
  padding: 4rem 2rem 0;
  position: relative;
  padding-bottom: 1rem;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  justify-items: center;
  gap: 20rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 420px;
  line-height: 1.6;
  opacity: 1;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.footer-socials a {
  font-size: 2.25rem;
  color: #ffffff;
  opacity: .99;
  transition: 0.2s;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.back-to-top {
  background: transparent;
  margin-top: 3rem;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 1px;
  cursor: pointer;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: #ffffff;
  opacity: 1;
  margin-bottom: 0.6rem;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 3rem;
  background: #2b2b2b;
  color: #ffffff;
  text-align: center;
  padding: 0rem;
  font-size: 1.2rem;
}

.footer-separator {
  height: 1px;
  background: #104635;
  /* light gray line */
  margin: 3rem auto 3rem;
  /* space above & below line */
  width: 70%;
}

.footer-links-row {
  display: contents;
}

.footer-socials2 {
  display: none;
}

.footer-logo2 {
  display: none;
}


@media (max-width: 768px) {

.footer-links-row .footer-links h4,
  .footer-links-row .footer-links strong {
    font-size: 0.9rem;
    opacity: 0.85;
  }

  .footer-links-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%,
  }

  .footer-links-row .footer-links {
    width: 50%;
    text-align: center;
  }

  .site-footer {
    padding: 40px 20px;
    padding-bottom: 15px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  /* Each section becomes its own block */
  .footer-brand,
  .footer-links {
    width: 100%;
    text-align: center;
  }
  

  /* Logo */
  .footer-logo {
    display: none;
  }

  /* Social icons */
  .footer-socials {
    display: none;
  }

  .test5 {
padding-top: 20px;
padding-bottom: 5px;
  }


  .footer-socials2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0px;
  }

.footer-logo2 {
  font-size: 1rem;
  margin-bottom: 0px;
  padding-bottom: 0px;
  display: flex;
}

  .footer-socials ion-icon {
    font-size: 24px;
  }

  /* Contact links */
  .footer-links a {
    display: block;
    font-size: 1.1rem;
    margin-top: 8px;
    word-break: break-word;
  }

  /* Back to top */
  .back-to-top {
    margin-top: -5px;
    width: 100%;
    max-width: 240px;
    margin-inline: auto;
    font-size: 10px;
  }

  /* Bottom copyright */
  .footer-bottom {
    padding-top: 0px;
    margin-top: 0px;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0px;
    padding-top: 0px;
  }

  
}


