/* Footer Styles */
.footer {
  background: var(--olive-leaf-4);
  color: var(--white);
}

/* Main Footer */
.footer-main {
  padding: 44px 0; /* ✅ compact but premium */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr; /* ✅ slightly tighter than 2fr */
  gap: 40px; /* ✅ reduced gap */
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 18px; /* ✅ compact */
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

/* Connect with us column */
.footer-address {
  margin-bottom: 14px; /* ✅ less vertical space */
}

.address-title {
  font-family: var(--font-body);
  font-size: 12px; /* ✅ compact */
  font-weight: 600;
  color: var(--golden-bronze);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.address-text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5; /* ✅ tighter but readable */
  color: rgba(255, 255, 255, 0.92);
  font-style: normal;
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px; /* ✅ tighter */
  margin-bottom: 14px;
}

.footer-contact .footer-link {
  font-size: 13px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px; /* ✅ tighter */
  flex-wrap: wrap;
}

.footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;  /* ✅ slightly smaller */
  height: 36px; /* ✅ slightly smaller */
  border-radius: 50%;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.06);
}

.footer-social .social-link img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transition: var(--transition-smooth);
}

.footer-social .social-link:hover,
.footer-social .social-link:focus {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.footer-social .social-link:hover img,
.footer-social .social-link:focus img {
  filter: brightness(0) saturate(100%) invert(77%) sepia(29%) saturate(1352%) hue-rotate(21deg) brightness(95%) contrast(89%);
}

/* Links Lists */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; /* ✅ compact */
}

.footer-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-smooth);
  display: inline-block;
  line-height: 1.4;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--golden-bronze);
  text-decoration: underline;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--divider-light);
  padding: 14px 0; /* ✅ compact */
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px; /* ✅ compact */
  color: rgba(255, 255, 255, 0.9);
}

.footer-copyright,
.footer-credit {
  margin: 0;
}

.footer-credit .footer-link {
  color: var(--golden-bronze);
  text-decoration: underline;
}

/* Tablet + Mobile Responsive */
@media (max-width: 991px) {
  .footer-main {
    padding: 36px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr; /* ✅ stacked */
    gap: 26px; /* ✅ compact */
  }

  .footer-heading {
    margin-bottom: 14px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-main {
    padding: 28px 0;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-heading {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .footer-address {
    margin-bottom: 12px;
  }

  .footer-contact {
    margin-bottom: 12px;
  }

  .footer-social {
    justify-content: flex-start; /* ✅ better reading flow */
  }

  .footer-bottom {
    padding: 12px 0;
  }
}
