/* ===============================
   FOOTER TOP
=================================*/

.footer-top {
  background: #ffffff;
  padding: 60px 0 40px;
  text-align: center;
}

.footer-top-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  height: 70px;
  margin-bottom: 15px;
}

.footer-logo p {
  max-width: 535px;
  margin: 0 auto 25px;
  font-size: 22px;
  color: #2d3e6f;
  font-weight: 500;
  line-height: 1.5;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.footer-menu a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.footer-menu a:hover,
.footer-menu a.active {
  color: #e6427a;
}

.footer-contact {
  width: 100%;
  padding: 0;
  color: #fff;
}

.footer-contact-grid {
  display: flex;
  width: 100%;
}

.footer-contact-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 70px 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay */
.footer-contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(60, 40, 100, 0.85);
  z-index: 1;
}
.footer-contact-box-2 {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 70px 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay */
.footer-contact-box-2::before {
  content: ""!important;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0) !important;
  z-index: 1;
}

/* Keep content above overlay */
.footer-contact-box > * {
  position: relative;
  z-index: 2;
}

/* Background Images */
.footer-contact-box:nth-child(1) {
  background-image: url("/assets/images/FooterBg1.jpg");
}

.footer-contact-box:nth-child(2) {
  background-image: url("/assets/images/FooterBg2.jpg");
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
   background-position: top; 
}

.footer-contact-box:nth-child(3) {
  background-image: url("/assets/images/FooterBg3.jpg");
}

/* Icon Styling */
.footer-contact-box i {
  min-width: 60px; /* VERY IMPORTANT */
  height: 60px;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.footer-contact-box > div {
  max-width: 320px;
}

/* Typography */
.footer-contact-box h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #2fc7a1;
  font-weight: 600;
}

.footer-contact-box p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  background: #e6427a;
  color: #fff;
  padding: 14px 0;
}

.footer-botton-container {
  width: 95%;
  max-width: 1400px;
  margin: auto;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.footer-bottom .social-icons {
  display: flex;
  align-items: center;
}

.footer-bottom .social-icons a {
  color: #fff;
  margin-left: 15px;
  font-size: 14px;
  transition: 0.3s ease;
}

.footer-bottom .social-icons a:hover {
  opacity: 0.7;
}

@media (max-width: 992px) {
  /* Footer Top */
  .footer-top {
    padding: 50px 20px 30px;
  }

  .footer-logo p {
    font-size: 18px;
  }

  .footer-menu {
    gap: 18px;
  }

  /* Contact Section */
  .contact-grid {
    flex-direction: column;
  }

  .contact-box {
    padding: 50px 40px;
    text-align: center;
    justify-content: center;
  }

  .contact-box i {
    margin-right: 0;
  }

  .contact-box > div {
    max-width: 100%;
  }

  /* Footer Bottom */
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Footer Top */
  .footer-top {
    padding: 40px 15px 25px;
  }

  .footer-logo img {
    height: 55px;
  }

  .footer-logo p {
    font-size: 16px;
    line-height: 1.6;
  }

  .footer-menu {
    gap: 12px;
  }

  .footer-menu a {
    font-size: 15px;
  }

  /* Contact Section */
  .contact-box {
    flex-direction: column;
    gap: 15px;
    padding: 40px 20px;
  }

  .contact-box i {
    min-width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .contact-box h4 {
    font-size: 13px;
  }

  .contact-box p {
    font-size: 14px;
  }

  .contact-box:nth-child(2) {
    background-image: url(/assets/images/FooterBg2.jpg);
    border-left: 0px solid rgba(255, 255, 255, 0.2);
    border-right: 0px solid rgba(255, 255, 255, 0.2);
}
  /* Footer Bottom */
  .footer-bottom {
    padding: 18px 0;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-bottom .social-icons {
    justify-content: center;
  }

  .footer-bottom .social-icons a {
    font-size: 16px;
    margin: 0 8px;
  }
}
