/* ═══════════════════════════════════════════════
   Site Footer — footer.css
   ═══════════════════════════════════════════════ */

/* ── Top accent bar ── */
.footer-accent-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, #1D7CC7, #5dd8ff, #1D7CC7, transparent);
  background-size: 200% 100%;
  animation: accentSlide 3s linear infinite;
}

@keyframes accentSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ── Main footer body ── */
.site-footer {
  background: #04101f;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(29,124,199,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 90% 20%, rgba(93,216,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-main {
  padding: 72px 0 56px;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
}

/* ── Column titles ── */
.footer-col__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #1D7CC7, #5dd8ff);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.footer-col:hover .footer-col__title::after { width: 52px; }

/* ── Col 1: Brand ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 20px;
  transition: opacity 0.2s ease;
}
.footer-logo:hover { opacity: 0.82; }

.footer-logo__img {
  height: 148px;
  width: auto;
  object-fit: contain;
  display: block; 
  transition: filter 0.2s ease;
}
.footer-logo:hover .footer-logo__img {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(93,216,255,0.5));
}

.footer-about {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ── Social icons ── */
.footer-socials { display: flex; gap: 8px; }

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  border: 1px solid rgba(29,124,199,0.2);
  transition: background 0.25s ease, color 0.25s ease,
              transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.25s ease;
}

.footer-social:hover {
  background: rgba(29,124,199,0.2);
  color: #5dd8ff;
  border-color: rgba(93,216,255,0.45);
  transform: translateY(-4px);
}

/* ── Quick links & Services ── */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.footer-links li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 1.5px;
  background: #1D7CC7;
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease;
}

.footer-links li a:hover {
  color: #5dd8ff;
  gap: 12px;
}

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

/* ── Contact list ── */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  transition: color 0.2s;
}

.footer-contact-list li:hover { color: rgba(255,255,255,0.65); }

.footer-contact-list li a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list li a:hover { color: #5dd8ff; }

.footer-contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: rgba(29,124,199,0.12);
  border-radius: 5px;
  border: 1px solid rgba(29,124,199,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5dd8ff;
  margin-top: 1px;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.footer-contact-list li:hover .footer-contact-icon {
  background: rgba(29,124,199,0.22);
  transform: scale(1.1);
}

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid rgba(29,124,199,0.15);
  padding: 20px 0;
  position: relative;
}

.footer-bottom__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-copy span {
  color: #5dd8ff;
  font-weight: 700;
}

.footer-bottom__links { display: flex; gap: 24px; }

.footer-bottom__links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom__links a:hover { color: #5dd8ff; }

/* ── Scroll-in animation ── */
.footer-col {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-col.in-view { opacity: 1; transform: translateY(0); }
.footer-col:nth-child(1) { transition-delay: 0s; }
.footer-col:nth-child(2) { transition-delay: 0.1s; }
.footer-col:nth-child(3) { transition-delay: 0.2s; }
.footer-col:nth-child(4) { transition-delay: 0.3s; }

.footer-bottom {
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}

.footer-bottom.in-view { opacity: 1; }

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

@media (max-width: 600px) {
  .footer-main { padding: 52px 0 40px; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 20px; gap: 32px; }
  .footer-col--brand { grid-column: auto; }
  .footer-bottom__inner { flex-direction: column; text-align: center; padding: 0 20px; }
  .footer-bottom__links { justify-content: center; }
}
