.footer {
  position: relative;
  background: linear-gradient(180deg, rgba(1, 91, 43, 0.95) 0%, rgba(2, 65, 31, 0.98) 100%);
  color: white;
  padding: 2rem;
  font-size: 0.8rem !important;
  overflow: hidden;
  line-height: 1.6;
}

/* enforce base footer typography so other site styles don't accidentally override */
.footer,
.footer p,
.footer a,
.footer li,
.footer .contact-item p,
.footer .news-item p,
.footer .brand-description,
.footer .footer-bottom p {
  font-size: 0.8rem !important;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  background-image: url('../images/footer/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 10;
  /* max-width: 90%;
  margin: 0 auto; */
  /* padding: 0 1.5rem; */
}

.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  flex: 1;
  max-width: 700px;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;

}

.brand-title svg {
  width: 28px;
  height: 28px;
}

.brand-title h2 {

  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  font-size: 1rem !important;
  /* heading size */
}

.brand-description {
  text-align: justify;

}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social-title {
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
  font-size: 1rem !important;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #f3f4f6;
  transform: scale(1.1);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);

  margin-bottom: 1rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-grid .contact {
  width: 35%;
}

.footer-grid .news-item-section {
  width: 25%;
}


.footer-section h3 {
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-size: 1rem !important;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0;
  display: block;
}

.contact-item p {

  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

/* .footer-links .dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
} */

.footer-links a {
  color: white;
  text-decoration: none;

  transition: color 0.3s ease;
}

.footer-links li {
  list-style: none;
  position: relative;
  padding-left: 0.9rem;
}

.footer-links li::before {
  content: "-";
  position: absolute;
  left: 1rem;
  color: #ffffff;
  /* white color */
  font-weight: 600;
}




.footer-links a:hover {
  color: #f87171;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.news-item img {
  width: 64px;
  object-fit: cover;
  border-radius: 6px;
}

/* Subtle hover effect for footer news thumbnails */
.news-item img {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.news-item:hover img {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.news-item p {

  line-height: 1.5;
  margin: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  margin-top: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 1rem;
}

.footer-bottom p {

  margin: 0;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-header {
    flex-direction: column;
  }

  .footer-social {
    align-items: flex-start;
  }

  .footer-grid .contact,
  .footer-grid .news-item-section,
  .footer-section {
    width: 48%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem;
  }

  .footer-grid {
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .brand-title h2 {
    text-align: center;
  }

  .brand-description {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-grid .contact,
  .footer-grid .news-item-section,
  .footer-section {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .news-item img {
    width: 56px;
  }
}