/* =====================================================
   FOOTER RESPONSIVE STYLES
   ===================================================== */

/* Desktop Footer - Left aligned */
footer .col-lg-3,
footer .col-md-6 {
  text-align: left !important;
}

footer .d-flex.gap-3,
footer .d-flex.gap-4 {
  justify-content: flex-start !important;
}

/* Footer columns proper spacing */
footer .row.g-5 {
  row-gap: 3rem !important;
}

/* Footer bottom alignment */
footer .pt-4.border-top {
  text-align: left !important;
}

footer .pt-4.border-top > div:first-child {
  text-align: left !important;
}

footer .pt-4.border-top > div:last-child {
  text-align: left !important;
}

/* Social Icon Styling - Premium Minimal Look */
.footer-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important; 
    height: 40px !important;
    background: transparent !important;
    color: #94a3b8 !important; /* Premium Slate/Gray matches tagline */
    border: none !important;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.footer-social-link i, 
.footer-social-link svg {
    margin: auto !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    stroke: #94a3b8 !important; /* Hardcode grey color for icons */
    stroke-width: 1.8 !important;
    fill: none !important;
    transition: inherit !important;
}

.footer-social-link:hover {
    transform: translateY(-3px) !important;
    color: #f37021 !important;
}

.footer-social-link:hover i,
.footer-social-link:hover svg {
    stroke: #f37021 !important; /* Brand Orange on hover */
}


/* Mobile Footer Responsive */
@media (max-width: 767px) {
  /* All footer columns left-aligned on mobile */
  footer .col-lg-3,
  footer .col-md-6 {
    text-align: left !important;
  }
  
  /* Brand column */
  footer .col-lg-3:first-child a {
    justify-content: flex-start !important;
  }
  
  /* Social icons left-aligned */
  footer .d-flex.gap-3 {
    justify-content: flex-start !important;
  }
  
  /* List items left-aligned */
  footer ul.list-unstyled {
    align-items: flex-start !important;
  }
  
  /* Footer bottom section */
  footer .pt-4.border-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1rem !important;
  }
  
  footer .pt-4.border-top > div {
    text-align: left !important;
  }
  
  /* Links in footer bottom */
  footer .pt-4.border-top .d-flex.gap-4 {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
  }
  /* Footer row spacing reduce */
  footer .row.g-5,
  footer .row.gy-4 {
    row-gap: 1.5rem !important; /* Reduced from 3rem or 4 */
  }

  .footer-accordion-item:last-child {
    border-bottom: none !important;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  footer .col-md-6 {
    text-align: left !important;
  }
  
  footer .col-md-6 a,
  footer .col-md-6 .d-flex {
    justify-content: flex-start !important;
  }
}

/* Reach Us Icon Box Centering - Fix for non-centered icons */
footer .rounded-3.bg-secondary,
footer .group-hover-orange-bg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

footer .rounded-3.bg-secondary i,
footer .rounded-3.bg-secondary svg {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Force Desktop Left Alignment */
footer { text-align: left !important; }
footer .col-lg-3, footer .col-md-6, footer .text-center { text-align: left !important; justify-content: flex-start !important; align-items: flex-start !important; }
footer ul { align-items: flex-start !important; }
footer .justify-content-center { justify-content: flex-start !important; }
