/* Footer Professional Styles */
.footer-professional {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-professional::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #52c41a, transparent);
}

/* Footer Brand Section */
.footer-brand {
  margin-bottom: 30px;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 15px;
}

.company-name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.company-tagline {
  font-size: 14px;
  color: #52c41a;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #b0bec5;
  margin-bottom: 0;
}

/* Footer Headings */
.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #52c41a, #389e0d);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0bec5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #52c41a;
  padding-left: 8px;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background-color: #52c41a;
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 4px;
}

/* Newsletter Section */
.newsletter-text {
  font-size: 14px;
  color: #b0bec5;
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter-form {
  margin-top: 15px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px 0 0 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: #b0bec5;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #52c41a;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(82, 196, 26, 0.25);
  color: #ffffff;
}

.newsletter-btn {
  background: linear-gradient(135deg, #52c41a, #389e0d);
  border: none;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 0 6px 6px 0;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #389e0d, #237804);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  margin-top: 40px;
}

.copyright-text {
  font-size: 14px;
  color: #b0bec5;
  margin: 0;
  font-weight: 400;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #b0bec5;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: linear-gradient(135deg, #52c41a, #389e0d);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
  border-color: transparent;
}

/* Social Icon Images - Fix for SVG styling */
.social-icon-img {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

/* Fix for LinkedIn SVG */
.social-link[title="LinkedIn"] .social-icon-img {
  filter: brightness(0) invert(0.7); /* Make it lighter gray */
}

.social-link[title="LinkedIn"]:hover .social-icon-img {
  filter: brightness(0) invert(1); /* Make it white on hover */
  transform: scale(1.1);
}

/* Fix for Instagram SVG - force white color */
.social-link[title="Instagram"] .social-icon-img {
  filter: brightness(0) invert(0.7); /* Make it lighter gray */
}

.social-link[title="Instagram"]:hover .social-icon-img {
  filter: brightness(0) invert(1); /* Make it white on hover */
  transform: scale(1.1);
}

/* Fix for Facebook SVG */
.social-link[title="Facebook"] .social-icon-img {
  filter: brightness(0) invert(0.7); /* Make it lighter gray */
}

.social-link[title="Facebook"]:hover .social-icon-img {
  filter: brightness(0) invert(1); /* Make it white on hover */
  transform: scale(1.1);
}

/* Fix for Twitter/X SVG */
.social-link[title="Twitter"] .social-icon-img,
.social-link[title="X"] .social-icon-img {
  filter: brightness(0) invert(0.7); /* Make it lighter gray */
}

.social-link[title="Twitter"]:hover .social-icon-img,
.social-link[title="X"]:hover .social-icon-img {
  filter: brightness(0) invert(1); /* Make it white on hover */
  transform: scale(1.1);
}

/* Legacy footer icon class - for backward compatibility */
.facebook-icon {
  width: 24px;
  height: 24px;
  margin: 0 8px;
  transition: all 0.3s ease;
  filter: brightness(0) invert(0.7);
  cursor: pointer;
}

.facebook-icon:hover {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-professional {
    padding: 40px 0 0;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 20px;
  }
  
  .copyright-text {
    text-align: center;
  }
  
  .newsletter-input {
    border-radius: 6px;
    margin-bottom: 10px;
  }
  
  .newsletter-btn {
    border-radius: 6px;
    width: 100%;
  }
}

/* Additional fixes for specific footer templates */
.footer-brand .facebook-icon {
  width: 20px;
  height: 20px;
}

/* Simple income footer styles */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #b0bec5;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: linear-gradient(135deg, #52c41a, #389e0d);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
  border-color: transparent;
}