/**
 * Footer Styles
 * Global site footer
 */

/* ===== Footer ===== */
#footer {
  padding: 64px 0;
  background: #0b1d32;
  color: #fff;
  border-top: none;
}

#footer a {
  color: #fff;
  text-decoration: none;
}

#footer a:not(.btn):not(.btn--light) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

#footer a:not(.btn):not(.btn--light):hover {
  color: #cfe0ff;
  border-bottom-color: #cfe0ff;
}

/* ===== Footer Grid ===== */
#footer .grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 840px) {
  #footer .grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer Columns ===== */
#footer .foot-col strong {
  color: #fff;
  font-size: 1.125rem;
}

#footer .foot-subhead {
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  font-size: 0.85rem;
  color: #cfe0ff;
}

/* ===== Contact List ===== */
#footer .contact-list,
#footer .office {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  line-height: 1.9;
}

#footer .contact-list li {
  margin: 4px 0;
}

#footer .office {
  font-style: normal;
  color: #eaf2ff;
}

#footer .office-line {
  display: block;
}

/* Force white color for office address */
#footer .office,
#footer .office *,
#footer .office-line {
  color: #fff !important;
}

/* ===== Footer Navigation ===== */
#footer nav ul,
#footer .legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

/* ===== Copyright ===== */
#footer .copyright {
  color: #fff;
  margin-top: 12px;
}

/* ===== Social Media Links ===== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Mobile Landscape: Force consistent footer text sizes */
@media (max-width: 1024px) and (orientation: landscape) {
  #footer .foot-col strong {
    font-size: 1rem !important; /* Same size as other footer text */
  }
  
  #footer .contact-list,
  #footer .contact-list li,
  #footer .contact-list a,
  #footer .office,
  #footer .office-line,
  #footer .copyright,
  #footer .legal span {
    font-size: 1rem !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
}

/* Mobile landscape (smaller screens) */
@media (max-width: 900px) and (orientation: landscape) {
  #footer .foot-col strong {
    font-size: 0.95rem !important;
  }
  
  #footer .contact-list,
  #footer .contact-list li,
  #footer .contact-list a,
  #footer .office,
  #footer .office-line,
  #footer .copyright,
  #footer .legal span {
    font-size: 0.95rem !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
}