.footer {
  background: linear-gradient(135deg, #bb0a1e 0%, #9d0012 100%);
  color: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  padding: 0 35px;
  font-size: 16px;
}

.footer-top {
  padding-top: 50px;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  flex: 2;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.footer-left.reveal {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #a8a8d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: shine 5s linear infinite;
  background-size: 200% 100%;
}

.footer-logo img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s, filter 0.3s;
}

/* .footer::before {
      content: "";
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
      top: -200px;
      left: -200px;
      animation: floatGlow 12s infinite alternate ease-in-out;
      z-index: 1;
    }

    .footer::after {
      content: "";
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(255, 99, 195, 0.15) 0%, transparent 70%);
      bottom: -200px;
      right: -200px;
      animation: floatGlow 14s infinite alternate-reverse ease-in-out;
      z-index: 1;
    } */

.footer-logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0px 4px 10px rgba(108, 99, 255, 0.6));
}

@keyframes shine {
  0% {
    background-position: -200px;
  }

  100% {
    background-position: 200px;
  }
}

.footer-description {
  margin: 0;
  font-size: 25px;
  line-height: 1.7;
  letter-spacing: 1px;
  color: #fff;
  font-weight: 600;
  max-width: 90%;
}

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  color: #fff;
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
  text-decoration: none;
}

.footer-social-icon:hover {
  transform: translateY(-6px) scale(1.15) rotate(6deg);
}

.footer-nav {
  flex: 4;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  justify-content: space-between;
}

.footer-nav.reveal {
  opacity: 1;
  transform: translateY(0);
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 8px;
}

/* .footer-heading::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 38px;
      height: 2px;
      background: #6c63ff;
      transition: width 0.3s;
    } */

.footer-section:hover .footer-heading::after {
  width: 80px;
}

.footer-link {
  font-size: 13px;
  color: white;
  line-height: 1.7;
  margin-bottom: 2px;
  transition: color 0.3s, transform 0.25s;
  text-decoration: none;
  font-weight: 400;
  position: relative;
  padding-left: 0;
  /* for chevron-arrow effect */
}

.footer-link:hover {
  color: #fff;
  transform: translateX(6px);
  text-decoration: none !important;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: -14px;
  opacity: 0;
  transition: all 0.3s;
}

.footer-link:hover::before {
  content: "→";
  opacity: 1;
  color: #6c63ff;
  font-size: 13px;
}

/* Businesses Section */
.footer-businesses {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 10px;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  z-index: 2;
}

.our-businesses {
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-bg {
  background: #fff;
  border-radius: 8px;
  padding: 4px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.businesses-images-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.businesses-images {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.business-image {
  width: 80px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
}

.business-image:last-child {
  width: 100px;
}

.footer-bottom {
  padding: 18px 0 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-copyright {
  font-size: 13px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.footer-bottom-link {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s, transform 0.25s;
}

.footer-bottom-link:hover {
  color: #fff;
  transform: translateY(-2px);
}



@media (min-width: 1000px) and (max-width: 1100px) {
  .footer-nav {
    flex-wrap: nowrap;
  }

  .footer-link {
    font-size: 11px;
  }
}

/* Responsive styles */
@media (max-width:1200px) {
  .footer {
    padding: 0 25px;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-nav {
    gap: 30px;
  }
}

/* Typography refinement below 1000px only */
@media (max-width:1000px) {
  .footer-logo {
    font-size: 26px;
  }

  .footer-logo img {
    max-height: 26px;
  }

  .footer-description {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .footer-heading {
    font-size: 15px;
    font-weight: 600;
  }

  .footer-link {
    font-size: 11.5px;
  }

  .footer-social-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer-bottom-copyright,
  .footer-bottom-link {
    font-size: 12px;
  }

  .business-image {
    width: 70px;
    height: 20px;
  }
}


@media (max-width:900px) {
  .footer-container {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    width: 100%;
    gap: 20px;
    justify-content: space-between;
  }

  .bni-image {
    height: 43px;
  }

  .footer-left {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-businesses {
    gap: 18px;
    align-items: center;
  }

  .businesses-images-container {
    justify-content: flex-end;
  }
}

@media (max-width:700px) {
  .footer {
    padding: 0 12px;
    font-size: 15px;
  }

  .bni-image {
    height: 40px;
  }

  .footer-top {
    padding-top: 24px;
  }

  .footer-container {
    gap: 18px;
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-nav-column {
    gap: 14px;
  }

  .footer-businesses {
    gap: 12px;
    padding: 14px 0 4px;
  }

  .business-image {
    width: 63px;
    height: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 550px) {
  .footer {
    padding: 0 25px;
    border-radius: 9px 9px 0 0;
  }

  .footer-businesses {
    flex-direction: column;
    justify-content: center;

  }

  .businesses-images {
    gap: 6px;
  }

  .footer-bottom-copyright,
  .footer-bottom-link {
    font-size: 11px;
  }

  .footer-logo {
    font-size: 22px;
  }

  .footer-logo img {
    max-height: 22px;
  }

  .footer-description {
    font-size: 12px;
  }

  .footer-heading {
    font-size: 14px;
  }

  .footer-link {
    font-size: 10px;
  }

  .footer-section {
    max-width: 150px;
  }

  .businesses-images {
    justify-content: center;
  }

  .img-bg {
    padding: 4px 12px !important;
  }

  .business-image:last-child {
    width: 80px;
  }
}

@media(max-width: 405px) {
  .footer {
    padding: 0 20px;
  }
}