footer {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: #fff;
  background: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80")
    center/cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: 0.5rem;
}
footer link:hover {
  color: var(--color-primary);
}
/* 🔥 Dark overlay for readability */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.footer-content {
  position: relative; /* ensures text is above overlay */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  z-index: 1;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* -------- Text styles -------- */
footer h4,
footer h5 {
  margin-bottom: 2rem;
  color: #fff;
}

footer p,
footer a {
  color: rgb(255, 255, 255);
  line-height: 1.6;
  text-decoration: none;
}

footer a:hover {
  color: #ffb703;
}

/* -------- Social Icons -------- */
footer i {
  font-size: 1.4rem;
  margin-right: 1rem;
  color: rgb(255, 255, 255);
  transition: color 0.3s ease;
}
footer i:hover {
  color: #ffb703;
}

/* -------- Bottom section -------- */
footer .footer-content:last-child {
  grid-template-columns: 1fr;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
footer .footer-logo {
  height: 100px;
  width: auto;
}
.footer-logo img {
  background-color: #fff;
  height: 60px;
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  footer {
    border-radius: 0;
  }
  footer i {
    margin-right: 0.8rem;
  }
}
.anurag-link:hover {
  color: #287ec0;
  cursor: pointer;
}
