footer {
  background-color: #111;
  color: #eee;
  height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 80%;
  max-width: 1200px;
  gap: 20px;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 12rem;
  margin-bottom: 15px;
}

.socials a {
  color: #eee;
  font-size: 18px;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
  padding: 0.5rem;
}

.socials a:hover {
  opacity: 1;
}

.footer-right h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #fff;
}

.footer-right p,
.footer-right a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-right a:hover {
  color: #fff;
}


@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;  /* stack in a single column */
    gap: 30px;                   /* optional spacing between sections */
    text-align: center;           /* center content for mobile */
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    align-items: center;          /* center content horizontally */
  }

  .socials {
    padding-left: 0;             /* remove left padding for mobile */
    margin-top: 10px;            /* spacing between logo and icons */
  }

  footer {
    height: auto;
    padding-top: 10px;
  }
}