.footer-exact {
  margin-top: -250px;
  position: relative;
  width: 100%;
}
/* 🔑 wrapper becomes reference */
.footer-bg-wrap {
  position: relative;
  width: 100%;
}
/* ============================= */
/* FOOTER BACKGROUND IMAGE */
/* ============================= */

.footer-bg-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* ============================= */
/* FOOTER CHARACTER */
/* ============================= */

.footer-character {
  position: absolute;
  bottom: 0;            /* nakapatong sa footer bg */
  left: 0.1%;             /* LEFT aligned */
  width: 700px;         /* adjust size here */
  max-width: 50vw;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* ============================= */
/* LOGO + SOCIALS (CENTER) */
/* ============================= */


.footer-logo-center {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
}

.footer-logo {
  width: 400px;
  max-width: 80vw;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================= */
/* SOCIAL ICONS */
/* ============================= */

.footer-socials {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: #ffffff;
  color: #0b0620;
}

.mobilefooter {
  display: none;
}
/* ============================= */
/* RESPONSIVE (MOBILE)
/* MOBILE - SIMPLIFIED FOOTER */
/* ============================= */

@media (max-width: 425px) {
  
  html, body {
    margin: 0;
    padding: 0;
  }

  .footer-character {
    margin-top: 50%;
  }
  
  .footer-logo {
    display: none;
  }

  .footer-socials{
    display: none;
  }

  .footer-bg-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;            /* full bleed look */
    height: auto;
    margin: 0;
  }
}

/* ============================= */
/* FOOTER CONTACT DETAILS (RIGHT)
/* ============================= */

.footer-contact {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-60%) translateX(-180px);
  z-index: 3;
}

.footer-contact-img {
  width: 320px;        /* adjust size */
  max-width: 80vw;
  height: auto;
  display: block;
}

/* MOBILE VIEW */
@media (max-width: 425px) {

  /* Hide everything in footer */
  .footer-bg-img,
  .footer-character,
  .footer-logo-center,
  .footer-contact {
    display: none;
  }

  /* Show mobile footer image only */
  .mobilefooter {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    margin-top: -80%;
  }
}


/* ============================= */
@media (min-width: 375px) and (max-width: 428px) {
  .footer-exact {
    margin-top: -200px;
  }

  .footer-bg-img,
  .footer-character,
  .footer-logo-center,
  .footer-contact {
    display: none;
  }

  .mobilefooter {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
    margin-top: -75%;
  }
}

/* iPhone 12 Pro Max, 13 Pro Max, 14 Plus (428px) */
@media (min-width: 426px) and (max-width: 428px) {
  .mobilefooter {
    margin-top: -70%;
  }
}

/* ============================= */
/* VISIT COUNTER */
/* ============================= */

.footer-visit-counter {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-visit-counter i {
  font-size: 20px;
  color: #00d4ff;
  animation: pulse 2s infinite;
}

.visit-count {
  font-size: 22px;
  font-weight: 700;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.visit-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Mobile adjustments */
@media (max-width: 425px) {
  .footer-visit-counter {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 14px;
    gap: 8px;
  }

  .footer-visit-counter i {
    font-size: 18px;
  }

  .visit-count {
    font-size: 18px;
  }

  .visit-label {
    font-size: 12px;
  }
}
