/* ============================================================
   FOOTER — footer.css
   Light theme with dot-grid background
============================================================ */

#site-footer {
  background-color: #ffffff;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #111827;
  border-top: none;
}

.footer-main {
  padding: 5rem 0 3rem;
}

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

/* ── Column 1: Brand ── */
.footer-brand {}

.footer-logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-tagline {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 270px;
}

.footer-iso {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.footer-iso svg {
  width: 14px;
  height: 14px;
  stroke: #269dcc;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ── Column headings ── */
.footer-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #111827;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  border-bottom: none;
}

/* ── Quick Links ── */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #111827;
}

/* ── Contact Us ── */
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}

.footer-contact-icon svg {
  width: 15px;
  height: 15px;
  stroke: #269dcc;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
  padding-top: 0.35rem;
}

.footer-contact-label {
  display: none;
}

.footer-contact-text a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-text a:hover {
  color: #269dcc;
}

/* ── Follow Us: circle icons ── */
.footer-social-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer-social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-circle:hover {
  border-color: #269dcc;
  color: #269dcc;
  box-shadow: 0 4px 14px rgba(38, 157, 204, 0.22);
}

.footer-social-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* ── Theme Toggle Switch ── */
.footer-theme-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-theme-icon {
  width: 17px;
  height: 17px;
  stroke: #9ca3af;
  flex-shrink: 0;
}

.footer-switch {
  width: 46px;
  height: 26px;
  border-radius: 100px;
  background: #374151;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
  flex-shrink: 0;
  display: block;
}

.switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.25s ease;
  display: block;
  pointer-events: none;
}

/* Prevent nav.css .theme-toggle:hover (rgba white) from wiping the switch colour */
.footer-switch:hover {
  background: #4b5563;
}

[data-theme="dark"] .footer-switch {
  background: #269dcc;
}

[data-theme="dark"] .footer-switch:hover {
  background: #1f8ab4;
}

[data-theme="dark"] .switch-thumb {
  transform: translateX(20px);
}

[data-theme="dark"] .footer-theme-icon {
  stroke: #8898aa;
}

/* ── Bottom bar ── */

.footer-bottom {
  background: transparent;
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  text-align: left;
}

.footer-bottom p,
.footer-bottom span {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #374151;
}

.footer-policies {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
}
