/*--------------------------------------------------------------
# Global Footer - Clean & Professional
--------------------------------------------------------------*/
.footer {
  background: #ffffff;
  font-size: 14px;
  padding: 70px 0 0;
  position: relative;
  margin-top: 0;
  color: #4a5568;
}

/* Footer Content */
.footer .footer-content {
  margin-bottom: 0;
}

.footer .footer-content .logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer .footer-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 0;
  max-width: 350px;
}

/* Footer Headings */
.footer h4 {
  color: #1a252f;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  font-family: var(--heading-font);
  letter-spacing: -0.3px;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, rgb(229, 84, 0), rgb(255, 107, 0));
  border-radius: 2px;
}

/* Footer Links */
.footer .footer-links {
  margin-bottom: 0;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 0;
  margin-bottom: 14px;
  display: block;
}

.footer .footer-links ul li:last-child {
  margin-bottom: 0;
}

.footer .footer-links ul a {
  color: #6b7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer .footer-links ul a:hover {
  color: rgb(229, 84, 0);
}

/* Footer Contact */
.footer .footer-contact {
  margin-bottom: 0;
}

.footer .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.footer .footer-contact .contact-item:last-child {
  margin-bottom: 0;
}

.footer .footer-contact .contact-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(229, 84, 0, 0.1), rgba(229, 84, 0, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  transition: background 0.3s ease;
  border: 1px solid rgba(229, 84, 0, 0.1);
}

.footer .footer-contact .contact-item:hover .contact-icon {
  background: linear-gradient(135deg, rgba(229, 84, 0, 0.15), rgba(229, 84, 0, 0.08));
}

.footer .footer-contact .contact-icon i {
  color: rgb(229, 84, 0);
  font-size: 18px;
}

.footer .footer-contact .contact-info p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.footer .footer-contact .contact-info a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .footer-contact .contact-info a:hover {
  color: rgb(229, 84, 0);
}

/* Social Links */
.footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.footer .social-links a {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(229, 84, 0, 0.1), rgba(229, 84, 0, 0.05));
  color: rgb(229, 84, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(229, 84, 0, 0.15);
}

.footer .social-links a:hover {
  background: linear-gradient(135deg, rgb(229, 84, 0), rgb(255, 107, 0));
  color: white;
  /* Removed box-shadow */
}

.footer .social-links a i {
  font-size: 18px;
}

/* Footer Bottom */
.footer .footer-bottom {
  margin-top: 20px;
  padding: 28px 0;
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}

/* Remove any space after footer */
.footer + * { margin-top: 0; }
body > footer, .footer { margin-bottom: 0; }

.footer .footer-bottom .copyright p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.footer .footer-bottom .copyright .sitename {
  color: rgb(229, 84, 0);
  font-weight: 700;
}

.footer .footer-bottom .footer-bottom-links {
  text-align: right;
  margin-bottom: 0;
}

.footer .footer-bottom .footer-bottom-links a {
  color: #6b7280;
  font-size: 14px;
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer .footer-bottom .footer-bottom-links a:first-child {
  margin-left: 0;
}

.footer .footer-bottom .footer-bottom-links a:hover {
  color: rgb(229, 84, 0);
}

.footer .footer-bottom .credits {
  text-align: right;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px;
}

.footer .footer-bottom .credits a {
  color: rgb(229, 84, 0);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer .footer-bottom .credits a:hover {
  color: rgb(255, 107, 0);
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer {
    padding: 50px 0 0;
  }
  
  /* Make all 3 columns side by side on tablet */
  .footer .row.gy-5 {
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer .col-lg-4:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .footer .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 40px;
    padding: 0 15px;
  }
  
  .footer .col-lg-4:last-child {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-bottom: 40px;
    padding: 0 15px;
  }
  
  .footer .footer-bottom .copyright p {
    text-align: center;
    margin-bottom: 16px;
  }
  
  .footer .footer-bottom .footer-bottom-links {
    text-align: center;
    margin-bottom: 12px;
  }
  
  .footer .footer-bottom .credits {
    text-align: center;
  }
  
  .footer .footer-bottom .footer-bottom-links a {
    margin: 0 12px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 0 0;
  }

  .footer .container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .footer .footer-content {
    text-align: center;
    margin-bottom: 25px;
    padding: 0;
  }
  
  .footer .footer-content .logo {
    display: block;
    text-align: center;
    margin-bottom: 12px;
  }
  
  .footer-logo-img {
    margin: 0 auto;
  }
  
  .footer .footer-content p {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  
  .footer .social-links {
    justify-content: center;
    margin-top: 15px;
  }

  /* Company and Solutions side by side on mobile */
  .footer .col-lg-4:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 25px;
    padding: 0 25px;
  }
  
  .footer .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 25px;
    padding: 0 25px;
  }
  
  /* Get in Touch full width below */
  .footer .col-lg-4:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 35px;
    padding: 0 25px;
    margin-left: 0;
  }
  
  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 0;
  }
  
  .footer h4 {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 30px;
  }
  
  .footer h4::after {
    width: 35px;
    height: 2px;
    left: 30px;
    transform: none;
    bottom: -10px;
  }
  
  .footer .footer-links ul {
    text-align: left;
    padding-left: 30px;
  }
  
  .footer .footer-links ul li {
    margin-bottom: 7px;
  }
  
  .footer .footer-links ul a {
    font-size: 14px;
    justify-content: flex-start;
  }
  
  /* Get in Touch aligned with Solutions column */
  .footer .footer-contact h4 {
    text-align: left;
    padding-left: 30px;
  }
  
  .footer .footer-contact h4::after {
    left: 30px;
    transform: none;
  }
  
  .footer .footer-contact .contact-item {
    margin-bottom: 14px;
    justify-content: flex-start;
    padding-left: 30px;
  }
  
  .footer .footer-contact .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .footer .footer-contact .contact-icon {
    width: 42px;
    height: 42px;
    margin-right: 14px;
  }
  
  .footer .footer-contact .contact-icon i {
    font-size: 17px;
  }
  
  .footer .footer-contact .contact-info p,
  .footer .footer-contact .contact-info a {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .footer .footer-bottom {
    margin-top: 25px;
    padding: 24px 0;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 18px 0 0;
  }
  
  .footer .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .footer .footer-content {
    margin-bottom: 18px;
    padding: 0;
  }
  
  .footer .footer-content .logo {
    margin-bottom: 10px;
  }
  
  .footer .footer-content p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .footer .social-links {
    margin-top: 14px;
    gap: 10px;
  }
  
  /* Keep Company and Solutions side by side on small mobile */
  .footer .col-lg-4:first-child {
    margin-bottom: 18px;
    padding: 0 25px;
  }
  
  .footer .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 18px;
    padding: 0 25px;
  }
  
  /* Get in Touch full width */
  .footer .col-lg-4:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 0 25px;
  }
  
  .footer h4 {
    font-size: 16px;
    margin-bottom: 16px;
    text-align: left;
    padding-left: 30px;
  }
  
  .footer h4::after {
    left: 30px;
    transform: none;
    width: 30px;
    bottom: -8px;
  }
  
  .footer .footer-links ul {
    text-align: left;
    padding-left: 30px;
  }
  
  .footer .footer-links ul a {
    justify-content: flex-start;
    font-size: 13px;
  }
  
  .footer .footer-links ul li {
    margin-bottom: 5px;
  }
  
  /* Get in Touch aligned with Solutions column */
  .footer .footer-contact h4 {
    text-align: left;
    padding-left: 30px;
  }
  
  .footer .footer-contact h4::after {
    left: 30px;
    transform: none;
  }
  
  .footer .footer-contact .contact-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding-left: 30px;
  }
  
  .footer .footer-contact .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .footer .footer-contact .contact-icon {
    margin-right: 12px;
    margin-bottom: 0;
    width: 38px;
    height: 38px;
  }
  
  .footer .footer-contact .contact-icon i {
    font-size: 15px;
  }
  
  .footer .footer-contact .contact-info p,
  .footer .footer-contact .contact-info a {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .footer .footer-bottom {
    margin-top: 18px;
    padding: 20px 0;
  }
  
  .footer .footer-bottom .copyright p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .footer .footer-bottom .footer-bottom-links {
    margin-bottom: 10px;
  }
  
  .footer .footer-bottom .footer-bottom-links a {
    display: inline-block;
    margin: 0 8px;
    font-size: 13px;
  }
  
  .footer .footer-bottom .credits {
    font-size: 12px;
    margin-top: 10px;
  }
  
  .footer .social-links a {
    width: 38px;
    height: 38px;
  }
  
  .footer .social-links a i {
    font-size: 15px;
  }
  
  .footer-logo-img {
    height: 45px;
  }
}
