/* Hibrid Footer Styles — Dark Digital Theme */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* =========================
   FOOTER WRAPPER
   ========================= */
.hibrid-footer-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================
   MAIN FOOTER
   ========================= */
.hf-main {
  background: #0d0d0d;
  border-top: 1px solid #1e1e1e;
  width: 100%;
}

.hf-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

/* =========================
   BRAND COLUMN
   ========================= */
.hf-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hf-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
}

.hf-brand-logo {
  display: block;
  max-height: 32px;
  width: auto;
}

.hf-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;

  font-family: "Quantico", sans-serif;
  text-transform: uppercase;
}

.hf-brand-dot {
  color: #00ee00;
}

.hf-brand-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: #888;
  margin: 10px 0;
  max-width: 280px;
}

.hf-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hf-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2a2a2a;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.hf-social-icon svg {
  width: 15px;
  height: 15px;
  fill: #888;
  transition: fill 0.2s ease;
}

.hf-social-icon .fa-brands {
  font-size: 15px;
  line-height: 1;
  color: #888;
  transition: color 0.2s ease;
}

.hf-social-icon:hover {
  background: rgba(0, 238, 0, 0.1);
  border-color: #00ee00;
}

.hf-social-icon:hover svg {
  fill: #00ee00;
}

.hf-social-icon:hover .fa-brands {
  color: #00ee00;
}

/* =========================
   LINK COLUMNS
   ========================= */
.hf-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hf-col-title {
  font-size: 11px;
  font-weight: 700;

  color: #ffffff;
  text-transform: uppercase;
  font-family: "Quantico", sans-serif;
  margin-bottom: 20px;
}

.hf-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hf-link-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-link-list li a:hover {
  color: #ffffff;
  text-decoration: none;
}

.hf-link-arrow {
  color: #00ee00;
  font-size: 10px;
  flex-shrink: 0;
}

/* =========================
   CONTACT COLUMN
   ========================= */
.hf-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

.hf-contact-item a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-contact-item a:hover {
  color: #ffffff;
}

.hf-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #555;
  margin-top: 2px;
}

.hf-contact-icon.hf-contact-icon--fa {
  width: auto;
  height: auto;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* IFCN button */
.hf-ifcn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;

  color: #888;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Quantico", sans-serif;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
  width: fit-content;
}

.hf-ifcn-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #00ee00;
}

.hf-ifcn-btn:hover {
  border-color: #00ee00;
  color: #ffffff;
  text-decoration: none;
}

/* =========================
   BOTTOM BAR
   ========================= */
.hf-bottom {
  background: #080808;
  border-top: 1px solid #1a1a1a;
  width: 100%;
}

.hf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  gap: 16px;
}

.hf-copyright {
  font-size: 11px;
  color: #555;

}

.hf-copyright-right {
  text-align: right;
}

.hf-bottom-links {
  display: flex;
  gap: 20px;
}

.hf-bottom-links a {
  font-size: 11px;
  color: #555;
  text-decoration: none;

  transition: color 0.2s ease;
}

.hf-bottom-links a:hover {
  color: #aaa;
}

/* =========================
   SCROLL UP BUTTON
   ========================= */
.scroll-up-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-up-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-up-btn:hover {
  color: #00ee00;
  border-color: #00ee00;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .hf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hf-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 16px 32px;
  }
  .hf-brand-col {
    grid-column: 1 / -1;
  }
  .hf-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 14px 16px;
  }
  .hf-copyright-right {
    text-align: center;
  }
  .hf-bottom-links {
    gap: 16px;
  }
}

@media (max-width: 400px) {
  .hf-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ACCESSIBILITY
   ========================= */
.hf-social-icon:focus,
.hf-link-list li a:focus,
.hf-contact-item a:focus,
.hf-ifcn-btn:focus {
  outline: 2px solid #00ee00;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
