/* ═══════════════════════════════════════════════════════════
   FOOTER SECTION (PREMIUM DARK & NEON THEME)
   ═══════════════════════════════════════════════════════════ */

#th16-footer-v2 {
  position: relative;
  color: #fff;
  overflow: hidden;
  font-family: 'Inter', -apple-system, sans-serif; /* Modern typography */
  padding: 0;
  margin: 0;
  background-color: #0a0a0a; /* Fallback solid color */
}

/* BG IMAGE */
#th16-footer-v2 .th16-footer-v2__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.3; /* Make it subtle */
}

/* DEEP DARK OVERLAY - Fades into solid #0a0a0a */
#th16-footer-v2 .th16-footer-v2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.98) 40%,
    #0a0a0a 100%
  );
  z-index: 1;
}

/* CONTENT */
#th16-footer-v2 .th16-footer-v2__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px 30px;
}

/* SERVICES */
#th16-footer-v2 .th16-footer-v2__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#th16-footer-v2 .th16-footer-v2__service {
  display: flex;
  gap: 16px;
  background: #111111;
  border: 1px solid #1f1f1f;
  padding: 24px;
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#th16-footer-v2 .th16-footer-v2__service:hover {
  transform: translateY(-5px);
  border-color: rgba(181, 255, 0, 0.3);
  box-shadow: 0 10px 30px -10px rgba(181, 255, 0, 0.1);
}

#th16-footer-v2 .th16-footer-v2__icon {
  color: #b5ff00 !important;
  font-size: 24px;
  line-height: 1;
}

#th16-footer-v2 .th16-footer-v2__service strong {
  display: block;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

#th16-footer-v2 .th16-footer-v2__service span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.5;
}

/* MAIN GRID */
#th16-footer-v2 .th16-footer-v2__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin: 60px 0;
}

/* BRAND */
#th16-footer-v2 .th16-footer-v2__eyebrow {
  color: #b5ff00 !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

#th16-footer-v2 .th16-footer-v2__brand h3 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff !important;
}

#th16-footer-v2 .th16-footer-v2__brand p {
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 30px;
  max-width: 90%;
}

#th16-footer-v2 .th16-footer-v2__contactbox {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#th16-footer-v2 .th16-footer-v2__contactbox div {
  display: flex;
  flex-direction: column;
}

#th16-footer-v2 .th16-footer-v2__contactbox span {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

#th16-footer-v2 .th16-footer-v2__contactbox a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  transform-origin: left;
}

#th16-footer-v2 .th16-footer-v2__contactbox a:hover {
  color: #b5ff00 !important;
  transform: translateX(4px);
}

/* LINKS */
#th16-footer-v2 .th16-footer-v2__links h4 {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

#th16-footer-v2 .th16-footer-v2__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#th16-footer-v2 .th16-footer-v2__links li {
  margin-bottom: 16px;
}

#th16-footer-v2 .th16-footer-v2__links a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

#th16-footer-v2 .th16-footer-v2__links a:hover {
  color: #b5ff00 !important;
  transform: translateX(6px);
}

/* CTA */
#th16-footer-v2 .th16-footer-v2__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #111111 0%, #161616 100%);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #222222;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

#th16-footer-v2 .th16-footer-v2__cta h4 {
  color: #ffffff !important;
  margin: 0 0 10px;
  font-size: 1.75rem;
  font-weight: 700;
}

#th16-footer-v2 .th16-footer-v2__cta p {
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0;
  font-size: 1rem;
}

#th16-footer-v2 .th16-footer-v2__cta-buttons {
  display: flex;
  gap: 16px;
}

#th16-footer-v2 .btn-primary {
  background: #b5ff00 !important;
  padding: 14px 28px;
  color: #0a0a0a !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #b5ff00;
}

#th16-footer-v2 .btn-primary:hover {
  background: transparent !important;
  color: #b5ff00 !important;
  box-shadow: 0 0 15px rgba(181, 255, 0, 0.2);
}

#th16-footer-v2 .btn-outline {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 14px 28px;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#th16-footer-v2 .btn-outline:hover {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* BOTTOM */
#th16-footer-v2 .th16-footer-v2__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4) !important;
}

#th16-footer-v2 .th16-footer-v2__bottom div {
  color: rgba(255, 255, 255, 0.4) !important;
}

#th16-footer-v2 .th16-footer-v2__bottom a {
  color: #b5ff00 !important;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

#th16-footer-v2 .th16-footer-v2__bottom a:hover {
  color: #ffffff !important;
}

/* DIVIDER */
#th16-footer-v2 .th16-footer-v2__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 50px 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #th16-footer-v2 .th16-footer-v2__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  #th16-footer-v2 .th16-footer-v2__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  #th16-footer-v2 .th16-footer-v2__inner {
    padding: 40px 20px 20px;
  }

  #th16-footer-v2 .th16-footer-v2__top,
  #th16-footer-v2 .th16-footer-v2__main {
    grid-template-columns: 1fr;
  }
  
  #th16-footer-v2 .th16-footer-v2__main {
    margin: 40px 0;
    gap: 30px;
  }

  #th16-footer-v2 .th16-footer-v2__cta {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 30px 20px;
  }

  #th16-footer-v2 .th16-footer-v2__cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  #th16-footer-v2 .btn-primary,
  #th16-footer-v2 .btn-outline {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  #th16-footer-v2 .th16-footer-v2__bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
