/* Footer styles */
footer {
  background-color: var(--color-gray-700);
  color: var(--color-white);
  padding: var(--space-5) 0 var(--space-3);
  display:none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-4);
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-4);
}

/* Contact info */
.contact-info {
  flex: 0 0 80%;
  min-width: 600px;
}

.contact-info h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-1);
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 1.5px;
}

.contact-info address {
  font-style: normal;
  line-height: 1.6;
  white-space: normal; /* Allow normal text wrapping in the address */
}

.contact-info address p {
  margin-bottom: var(--space-1);
  color: var(--color-gray-300);
}

.contact-info a {
  color: var(--color-gray-300);
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--color-primary);
}

/* Footer links and logos */
.footer-links {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  min-width: 280px;
}

.links-column {
  min-width: 140px;
}

.links-column h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-1);
}

.links-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 1.5px;
}

.links-column ul {
  list-style-type: none;
  padding: 0;
}

.links-column li {
  margin-bottom: var(--space-1);
}

.links-column a {
  color: var(--color-gray-300);
  transition: color 0.2s ease;
}

.links-column a:hover {
  color: var(--color-primary);
}

/* Footer logos */
.footer-logos {
  flex: 0 0 20%;
  display: flex;
  gap: var(--space-4);
  flex-direction: column;
  align-items: flex-end;
}

.footer-logo {
  display: block;
  width: 120px; /* Fixed width for logos */
  height: auto;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--color-gray-700);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Copyright */
.copyright {
  text-align: center;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-gray-800);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-3) var(--space-4) 0;
}

.copyright p {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin-bottom: 0;
}