/* ============================================
   GLOBAL ICT TECHNOLOGIES — footer.css
   Footer styles
   ============================================ */

footer {
  background: var(--navy-dark);
  color: var(--white);
}

.footer-top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* Brand column */
.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo-text { display: flex; flex-direction: column; gap: 2px; }

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.footer-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  max-width: 300px;
}

.footer-contact-quick { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-contact-quick a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--trans-fast);
}

.footer-contact-quick a i {
  font-size: 1rem;
  color: var(--brand-green);
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-quick a:hover { color: var(--white); }

/* Footer columns */
.footer-col {}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid transparent;
  border-image: var(--grad) 1;
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; list-style: none; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--brand-green);
  transition: width 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-links a:hover::before { width: 10px; }

/* Footer bottom */
.footer-bottom {
  padding: 1.75rem 0;
}

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

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-copyright a {
  color: rgba(255,255,255,0.5);
  transition: var(--trans-fast);
}

.footer-copyright a:hover { color: var(--white); }

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  transition: var(--trans-fast);
}

.footer-bottom-links a:hover { color: var(--white); }

/* Gradient top border */
.footer-grad-border {
  height: 3px;
  background: var(--grad);
}

/* Partner logos in footer */
.footer-partners {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-partners-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}

.footer-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-partner-logo img {
  max-height: 28px;
  max-width: 90px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  transition: var(--trans-fast);
}

.footer-partner-logo:hover img { opacity: 0.6; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--trans);
  border: none;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand-desc { max-width: 100%; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
  .footer-top { padding: 3rem 0 2rem; }
  .footer-partners-row { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .footer-partner-logo img { max-height: 22px; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-title { font-size: 0.75rem; }
  .footer-links a { font-size: 0.85rem; }
  .footer-copyright { font-size: 0.75rem; }
}
