/* ====================================
   B2B ENTERPRISES - COMMON FOOTER CSS
   ====================================
   This file contains all footer-related styles
   for consistent footer display across all pages.
   Include this file in all pages.
   ==================================== */

/* Professional Footer Container */
.professional-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
  color: #ffffff;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

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

.footer-main {
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-section {
  height: 100%;
  padding: 0 1rem;
}

/* Footer Headings */
.footer-heading {
  color: #8c52ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Company Info Section */
.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-brand-name {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem 0;
  letter-spacing: -0.5px;
}

.footer-description {
  color: #b8c5d6;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-certifications {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cert-badge {
  background: rgba(140, 82, 255, 0.2);
  border: 1px solid rgba(140, 82, 255, 0.4);
  color: #8c52ff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #b8c5d6;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: #8c52ff;
}

.footer-links a:hover {
  color: #8c52ff;
  padding-left: 1.2rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Contact Section */
.footer-contact {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.2rem;
  min-width: 24px;
  margin-top: 0.2rem;
}

.contact-details {
  flex: 1;
}

.contact-label {
  display: block;
  color: #8c52ff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.contact-value {
  color: #b8c5d6;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.contact-value:hover {
  color: #ffffff;
}

/* Social Links */
.footer-social {
  margin-top: 2rem;
}

.social-heading {
  color: #8c52ff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.social-link:hover {
  background: #8c52ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(140, 82, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.align-items-center {
  align-items: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright {
  color: #b8c5d6;
  font-size: 0.9rem;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-note {
  color: #8c52ff;
  font-size: 0.85rem;
  font-style: italic;
}

.footer-links-bottom {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links-bottom a {
  color: #b8c5d6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
  color: #8c52ff;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Large Screens */
@media (max-width: 1200px) {
  .footer-main .row .col.xl2 {
    width: 20%;
  }
  .footer-main .row .col.xl3 {
    width: 30%;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .footer-main {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-links-bottom {
    justify-content: flex-start;
    margin-top: 1rem;
  }
  
  /* Adjust layout for tablets */
  .footer-main .row .col.l2,
  .footer-main .row .col.l3 {
    width: 50%;
  }
}

/* Mobile Phones */
@media (max-width: 600px) {
  .footer-main {
    padding: 2rem 0 1rem;
  }
  
  .footer-brand-name {
    font-size: 1.5rem;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
  }
  
  .footer-links-bottom {
    gap: 1rem;
  }
  
  /* Stack all columns on mobile */
  .footer-main .row .col {
    width: 100% !important;
  }
}
