:root {
  --footer-bg: #0F3E2F; /* same as your navbar background */
  --footer-text: #FFFFFF;
  --footer-link-hover: #26C7A0;
  --footer-border: rgba(255, 255, 255, 0.2);
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: sans-serif;
  font-size: 1rem;
  /* padding-top: 0.5rem; */
  display: flex;
  flex-direction: column;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; */
  align-items: center;
  flex-direction: row;
  max-width: 1350px;
  margin: 0 auto;
  /* padding: 0 1rem; */
  border-bottom: 1px solid var(--footer-border);
  flex-wrap: wrap;
  gap: 100px;
}

.footer-section {
  flex: 1 1 auto;
  margin-bottom: 1.5rem;
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  max-width: 200px;
}


.footer-logo-img {
  display: block;           /* eliminates inline spacing quirks */
  max-width: 100%;          /* never exceed container width */
  height: auto;             /* let browser preserve original ratio */
  object-fit: contain;      /* ensure the full image fits inside the block */
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Navigation Links */
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--footer-link-hover);
}

/* Contact Section */
.footer-contact h4 {
  margin-bottom: 0.6rem;
  font-weight: bold;
  color: #26C7A0;
  text-align: center;
}

.footer-contact p {
  margin: 0.7rem 0;
  color: grey;
}

.footer-contact a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--footer-link-hover);
}

.footer-socials {
  margin-top: 0.5rem;
  display: flex;
  gap: 1.5rem;
}

.footer-socials img {
  width: 25px;
  height: 25px;
  filter: invert(100%);
  transition: transform 0.3s;
  margin-top: 5px;
}

.footer-socials img:hover {
  transform: scale(1.1);
}

/* Bottom Copyright */
.footer-bottom {
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* — Responsive: stack sections vertically below 768px */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
