a{
    color:#fff;
    text-decoration: none;
}
footer {
  background-color: var(--black);
  color: var(--silver);
  padding: 4rem 5%;
  font-family: var(--font-sans);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  font-family: var(--font-serif);
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-section p,
.footer-section ul,
.footer-section li {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.8;
  color: var(--silver);
}

.footer-section ul li a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--gold);
}

.footer-section .socials {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-section .socials a {
  color: var(--silver);
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-section .socials a:hover {
  color: var(--gold);
  transform: scale(1.1);
}

.footer-section ion-icon {
  margin-right: 0.5rem;
  color: var(--gold);
  vertical-align: middle;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--silver);
}
@media (max-width: 768px) {
   .footer-content {
    flex-direction: column;
    gap: 1.5rem; /* reduced gap */
    padding: 2rem 2%; /* less padding */
  }

  .footer-section {
    flex: 1 1 100%;
  }

  .footer-section h3 {
    font-size: 1.3rem; /* smaller headings */
    margin-bottom: 0.8rem;
  }

  .footer-section p,
  .footer-section ul li,
  .footer-section ul li a {
    font-size: 0.9rem; /* smaller text */
    line-height: 1.5;
  }

  .footer-section .socials {
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .footer-section .socials a {
    font-size: 1.2rem; /* smaller icons */
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 0.8rem;
  }

}
