/* Footer Styles for Achieve B&NES Theme */

/* Custom Footer Styles */
.custom-footer {
  background: rgba(0, 0, 0, .8);
  color: #fff;
  padding: 2rem 0 0 0;
  font-size: 1rem;
  border-top: solid 5px #18723c;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-achieve-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.footer-banes-logo {
  max-width: 120px;
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-social-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-social a {
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.2s;
}

.footer-social a:last-child {
  margin-right: 0;
}

.footer-social a:hover svg rect {
  fill: #bbf7d0;
}

.footer-social svg {
  vertical-align: middle;
}

.footer-contact {
  font-size: 0.95rem;
  color: #fff;
  text-align: right;
}

.footer-bottom {
  border-top: 1px solid #fff2;
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: #bbf7d0;
}

/* Footer Responsive Styles */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-social-contact {
    align-items: center;
    text-align: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 2000;
  display: none;
  background: #218649;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, background 0.2s;
  opacity: 0.9;
  padding: 0;
}

.back-to-top svg {
  display: block;
  margin: auto;
}

.back-to-top:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.back-to-top.show {
  display: flex;
}

@media (max-width: 700px) {
  .back-to-top {
    right: 12px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
} 