/* Corporate Footer Design */

/* Main Footer */
.site-footer {
  background-color: var(--background-dark);
  color: var(--text-on-dark);
  margin-top: 0;
}

.footer-main {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
}

/* Company Info */
.footer-company {
  max-width: 350px;
}

.footer-logo {
  margin-bottom: var(--spacing-lg);
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.company-desc {
  color: var(--text-on-dark-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  font-size: var(--font-size-sm);
}

.footer-certifications {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.cert-badge {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%) brightness(2);
}

.cert-badge:hover {
  opacity: 1;
}

/* Footer Menus */
.footer-menu h4,
.footer-contact h4 {
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 1px;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: 15px;
}

.footer-menu h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: var(--text-on-dark-muted);
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-menu a:hover {
  color: var(--white);
  padding-left: 10px;
}

.footer-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-menu a:hover::before {
  width: 5px;
}

/* Contact Info */
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  flex-shrink: 0;
  font-size: 16px;
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-on-dark-muted);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin: 0;
}

.contact-item a {
  color: var(--text-on-dark-muted);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-on-dark-muted);
  font-size: var(--font-size-sm);
  margin: 0;
}

.footer-bottom-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom-menu a {
  color: var(--text-on-dark-muted);
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
}

.footer-bottom-menu a:hover {
  color: var(--white);
}

.footer-bottom-menu span {
  color: rgba(255, 255, 255, 0.2);
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Footer Bottom Social Links */
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright p {
  color: var(--text-on-dark-muted);
  font-size: var(--font-size-sm);
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links span {
  color: var(--text-on-dark-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.5px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  
  .footer-company {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-certifications {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .footer-main {
    padding: 60px 0 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-company {
    grid-column: 1 / -1;
  }
  
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 50px 0 30px;
    background: linear-gradient(to bottom, var(--background-dark) 0%, #1a1a1a 100%);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }
  
  .footer-company {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-logo {
    margin-bottom: 15px;
  }
  
  .footer-logo img {
    height: 45px;
  }
  
  .footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .footer-certifications {
    justify-content: flex-start;
    gap: 15px;
  }
  
  .cert-badge {
    height: 35px;
  }
  
  .footer-menu h4,
  .footer-contact h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .footer-menu h4::after,
  .footer-contact h4::after {
    display: none;
  }
  
  .footer-menu a {
    font-size: 14px;
    padding: 8px 0;
    display: block;
  }
  
  .footer-menu a::before {
    display: none;
  }
  
  .contact-item {
    justify-content: flex-start;
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .contact-item i {
    font-size: 16px;
    min-width: 25px;
  }
  
  .footer-bottom {
    padding: 20px 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-copyright {
    font-size: 12px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .social-links {
    margin-top: 0;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 40px 0 30px;
  }
  
  .footer-logo img {
    height: 50px;
  }
  
  .cert-badge {
    height: 40px;
  }
  
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

/* Remove old widget styles */
.footer-top,
.footer-widgets,
.footer-widget,
.about-widget,
.links-widget,
.services-widget,
.contact-widget,
.widget-title,
.footer-links,
.contact-info,
.footer-newsletter,
.newsletter-form,
.footer-bottom-inner,
.footer-bottom-links {
  /* Reset any old styles */
}