/* ==========================================================
   footer.css
   Depends on: base.css (tokens, .wrap, .logo-box)
========================================================== */

.site-footer {
  background-color: var(--navy-dark);
  color: var(--text-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}



/* 3. Ensure footer doesn't shrink */
/* 3. Keep footer anchored at flex end */
footer,
.site-footer {
  flex-shrink: 0;
  margin-top: auto;            /* Safety net to force footer to bottom */
}




.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-logo-box { margin-bottom: 1.2rem; }

.brand-desc { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }

.badge-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-subtle);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
}

.col-title {
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text-white); }

.contact-item { margin-bottom: 0.8rem; }
.contact-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.contact-val { color: var(--text-white); font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.contact-val:hover { color: var(--accent-cyan); }

.btn-primary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--accent-cyan);
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}
.btn-primary:hover { background-color: var(--accent-cyan); color: var(--navy-darker); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.75rem;
}
.copyright-info p { margin: 0 0 0.25rem; }
.bottom-links { display: flex; align-items: center; gap: 1.5rem; }
.bottom-links a { color: var(--text-muted); text-decoration: none; }
.bottom-links a:hover { color: var(--text-white); }

.back-top-btn {
  background-color: var(--navy-darker);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
.back-top-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}




/* Footer dark background matching your image */
.site-footer {
    background-color: #121c2b;
    padding: 30px 20px;
    color: #ffffff;
    font-family: Figtree, sans-serif;
	font-size:16px;
}

/* Contact list layout */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Space between each item */
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between icon and text */
}

/* Bright blue icon styling */
.contact-list .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e88e5; /* Electric blue matching your image */
    flex-shrink: 0;
}

.contact-list .icon svg {
    width: 22px;
    height: 22px;
}

/* Text and link styling */
.contact-list .text {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.contact-list .text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list .text a:hover {
    color: #1e88e5;
}







/* Container for bottom-right column */
.bottom-links-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Right-aligned on desktop */
  gap: 0.75rem;
}

.footer-social-boxes {
  display: flex;
  gap: 0.5rem;
}

/* Base Desktop Styles for Social Boxes (Applies Everywhere) */
.social-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f8fafc; /* Crisp white box */
  color: #0284c7;            /* Blue icon color */
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.social-box svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Hover Accent */
.social-box:hover {
  background-color: #38bdf8; /* Cyan accent */
  color: #121a24;
  transform: translateY(-2px);
}

.bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    overflow: visible;
    gap: 1.25rem;
  }

  .bottom-links-wrapper {
    align-items: center; /* Forces center alignment on mobile */
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .footer-social-boxes {
    justify-content: center;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
}





