/* ==========================================================================
   ENGR. VICTOR ASOGWA — EXECUTIVE FOOTER CSS
   ========================================================================== */

.site-footer {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #061530 0%, #030a17 50%, #01040a 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  color: var(--text-secondary);
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  margin-top: 4rem;
  z-index: 10;
}

/* Technical Blueprint & Glow Atmosphere */
.footer-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.footer-blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.footer-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(400px, 60vw, 900px);
  height: 250px;
  background: radial-gradient(ellipse at top, rgba(0, 180, 216, 0.18) 0%, rgba(37, 117, 252, 0.05) 50%, transparent 80%);
  filter: blur(50px);
}

/* ==========================================================================
   1. PRE-FOOTER EXECUTIVE CTA STRIP
   ========================================================================== */
.footer-cta-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.8rem 3.2rem;
  background: linear-gradient(135deg, rgba(8, 22, 50, 0.85) 0%, rgba(3, 10, 24, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 180, 216, 0.1);
  margin-bottom: 4.5rem;
}

.footer-cta-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-cta-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-cta-heading {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.text-gold-gradient {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-cta-subtext {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-top: 0.2rem;
}

.footer-cta-action {
  flex-shrink: 0;
}

.footer-btn-glow {
  padding: 0.95rem 2rem;
  font-size: 0.82rem;
  box-shadow: 0 4px 20px rgba(223, 183, 67, 0.35);
}

/* ==========================================================================
   2. HIGH-TECH SEPARATOR
   ========================================================================== */
.footer-separator {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  opacity: 0.85;
}

.footer-separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), transparent);
}

.footer-separator-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 17, 38, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.25);
}

/* ==========================================================================
   3. 4-COLUMN FOOTER GRID
   ========================================================================== */
.footer-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(150px, 0.8fr) minmax(210px, 1.1fr) minmax(220px, 1.1fr);
  gap: clamp(2rem, 3.5vw, 4.5rem);
  margin-bottom: 4.5rem;
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 380px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(6, 17, 38, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none !important;
  transition: all var(--transition-normal);
}

.footer-social-btn:hover {
  background: rgba(10, 26, 58, 0.95);
  border-color: var(--accent-blue-light);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.25);
}

/* Column Headings */
.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--accent-gold);
  opacity: 0.6;
}

/* Link Lists (No bullets, No default underlines) */
.footer-link-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-link-list a,
.footer-link-list a:visited {
  color: #94a3b8;
  text-decoration: none !important;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.footer-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.footer-link-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-link-list a:hover .footer-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Connect List */
.footer-connect-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-connect-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.footer-connect-item a,
.footer-connect-item a:visited {
  color: #94a3b8;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.footer-connect-item a:hover {
  color: var(--accent-blue-light);
}

.footer-connect-icon {
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   4. LARGE DECORATIVE BACKGROUND TYPOGRAPHY
   ========================================================================== */
.footer-bg-typography {
  position: absolute;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.footer-bg-typography span {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12.5vw, 11rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.1) 0%, rgba(223, 183, 67, 0.03) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* ==========================================================================
   5. BOTTOM COPYRIGHT BAR & BACK TO TOP
   ========================================================================== */
.footer-bottom-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  font-size: 0.78rem;
  color: #64748b;
  gap: 1.5rem;
}

.footer-copy-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-copy-primary {
  color: #94a3b8;
  font-weight: 600;
}

.footer-copy-secondary {
  color: #64748b;
  font-size: 0.72rem;
}

/* Back to Top Control */
.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  background: rgba(6, 17, 38, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 30px;
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
}

.back-to-top-btn svg {
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

.back-to-top-btn:hover {
  background: rgba(10, 26, 58, 0.95);
  border-color: var(--accent-blue-light);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.25);
}

.back-to-top-btn:hover svg {
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.2rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    margin-top: 3rem;
  }

  .footer-cta-strip {
    padding: 1.8rem 1.4rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    gap: 1.5rem;
  }

  .footer-cta-heading {
    font-size: 1.6rem;
  }

  .footer-cta-action {
    width: 100%;
  }

  .footer-cta-action .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .back-to-top-btn {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .footer-bg-typography span {
    font-size: 17vw;
  }
}
