/* Footer Styles */
.wachsyn-footer {
  background-color: #6d5b7c;
  color: #f8f1ff;
  padding: 50px 0 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.footer-logo-section {
  flex: 1 0 100%;
  margin-bottom: 30px;
  position: relative;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.footer-tagline {
  margin: 10px 0 15px;
  font-size: 15px;
  opacity: 0.9;
  max-width: 300px;
}

.newsletter-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.newsletter-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-heading {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #a38bb9;
}

.toggle-mobile {
  display: none;
  font-size: 20px;
  margin-left: 10px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

.footer-nav li {
  margin-bottom: 12px;
  transform: translateX(0);
  transition: transform 0.3s;
}

.footer-nav li:hover {
  transform: translateX(5px);
}

.footer-nav li a {
  color: #e2d5f0;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  padding: 5px 0;
  font-size: 15px;
}

.footer-nav li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.social-links a {
  color: #f8f1ff;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  font-size: 16px;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Social platform colors */
.social-links a[aria-label="Facebook"]:hover { background: #3b5998; }
.social-links a[aria-label="Twitter"]:hover { background: #1da1f2; }
.social-links a[aria-label="LinkedIn"]:hover { background: #0077b5; }
.social-links a[aria-label="Instagram"]:hover { 
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links a[aria-label="YouTube"]:hover { background: #ff0000; }
.social-links a[aria-label="WhatsApp"]:hover { background: #25d366; }

/* Tooltips */
.social-links a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
  font-family: sans-serif;
}

.social-links a:hover::after {
  opacity: 1;
}

/* Contact Info */
.footer-contact {
  margin-top: 20px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact i {
  margin-right: 12px;
  color: #c9b3e6;
  min-width: 20px;
  text-align: center;
}

/* Newsletter Form */
.newsletter-form {
  position: absolute;
  bottom: 100%;
  left: 20px;
  right: 20px;
  background: #5a4a68;
  padding: 25px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}

.newsletter-form.show {
  transform: translateY(0);
  opacity: 1;
}

.newsletter-form h3 {
  margin: 0 0 15px;
  color: white;
  font-size: 18px;
}

.newsletter-form form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-form button[type="submit"] {
  background: #a38bb9;
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 500;
}

.newsletter-form button[type="submit"]:hover {
  background: #8a6fa8;
}

.close-newsletter {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-legal {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #d4c4e4;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: white;
  text-decoration: underline;
}

.back-to-top {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-column {
    flex: 1 0 45%;
  }
  
  .footer-heading {
    cursor: pointer;
  }
  
  .toggle-mobile {
    display: inline-block;
  }
  
  .footer-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .footer-nav.active {
    max-height: 500px;
  }

  .newsletter-form {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 576px) {
  .footer-column {
    flex: 1 0 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .newsletter-form form {
    flex-direction: column;
  }
  
  .newsletter-form button[type="submit"] {
    padding: 12px;
  }
}