.footer {
  background-color: hsl(165 75% 25%);
  padding: 48px 0px;
}
.footer-container {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: -10px !important;
}
.footer-col .col-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: appear ease-in-out;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.footer-col:first-child h4 {
  text-align: start;
}
.footer-col h4 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
  width: 100%;
  text-align: center;
  color: white;
}
.footer-col p {
  line-height: 20px;
  font-size: 14px;
  margin-bottom: 0;
  color: hsl(35deg 25% 96% / 80%);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin: 0 auto;
  line-height: 20px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
  font-size: 14px;
  gap: 8px;
  display: flex;
}
.footer-col ul li a:hover {
  color: hsl(42 90% 60%);
} /* Icons */
.icons {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: center;
}
.icons a {
  font-size: 20px;
  color: white;
  transition: 0.3s ease;
}
.icons a:hover {
  color: hsl(42 90% 60%);
} /* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  font-size: 14px;
  padding-top: 35px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 40px;
}
.footer-bottom p {
  margin-bottom: 0;
  color: white;
}

@media (max-width: 1024px) {
  .footer-container {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 40px;
  }

  .footer-col:first-child h4 {
  text-align: center;
  }

  .footer-col p{
    text-align: center;
  }

  /* First column spans all 6 columns */
  .footer-col:nth-child(1) {
      grid-column: 1 / 7;
  }

  /* Next three columns each take 2 columns */
  .footer-col:nth-child(2) {
      grid-column: 1 / 3;
  }
  .footer-col:nth-child(3) {
      grid-column: 3 / 5;
  }
  .footer-col:nth-child(4) {
      grid-column: 5 / 7;
  }
}

@media (max-width: 768px) {
  .footer-container {
      display: grid;
      grid-template-columns: 1fr; /* each column full width */
      gap: 40px;
  }

  .footer-col:nth-child(1),
  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
      grid-column: 1 / 2; /* each column occupies full row */
  }
}
