/* Modern Footer Styles */
.site-footer {
  background: linear-gradient(135deg, #1a2a3a 0%, #0d1a26 100%);
  color: #ffffff;
  padding: 2rem 0 0;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  margin-top: 70px !important;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1;
  min-width: 180px;
  padding: 0 0.5rem;
}

.company-info img {
  height: 60px;
  margin-bottom: 1rem;
  margin-top: 8px;
}

.company-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #ffa700;
  margin-top: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffa700;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #ffa700;
  transform: translateY(-3px);
}

.app-download {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.app-btn:hover {
  background: rgba(248, 120, 0, 0.651);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-details li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.contact-details i {
  color: #ffa700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.business-registration {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #ffa700;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffa700;
  color: #1a1a2e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #ffa700;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer-col {
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .footer-row {
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-col {
    flex: 0 0 calc(50% - 1rem);
    text-align: center;
  }
  
  /* Center align all content in footer columns */
  .footer-col .company-info,
  .footer-col .contact-info,
  .footer-col .app-download,
  .footer-col .footer-links,
  .footer-col .contact-details {
    text-align: center;
  }
  
  /* Center the company logo */
  .company-info img {
    display: block;
    margin: 0 auto 1rem auto;
  }
  
  /* Center the footer heading underline */
  .footer-heading::after {
    margin: 0.5rem auto 0 auto;
  }
  
  /* Center social links */
  .social-links {
    justify-content: center;
  }
  
  /* Center app download buttons */
  .app-download {
    align-items: center;
  }
  
  /* Center contact details */
  .contact-details li {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-col {
    flex: 0 0 100%;
    text-align: center;
  }
  
  /* Ensure everything is centered on mobile */
  .footer-row {
    text-align: center;
  }
  
  .footer-col * {
    text-align: center;
  }
  
  /* Center the company description */
  .company-description {
    text-align: center;
  }
  
  /* Center footer links */
  .footer-links {
    text-align: center;
  }
  
  /* Center contact details on mobile */
  .contact-details {
    text-align: center;
  }
  
  .contact-details li {
    justify-content: center;
    text-align: center;
  }
  
  /* Center app buttons */
  .app-download {
    align-items: center;
  }
  
  .app-btn {
    justify-content: center;
    max-width: 400px !important;
    margin: 0 auto;
  }
  
  /* Center footer bottom content */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright,
  .business-registration {
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
  
  /* Adjust back to top button position */
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}