/* Footer Style Reset to Match Home Page */
/* Remove all custom footer overrides and let the default modern footer styles apply */

/* Reset footer widgets to default styling */
.footer-widget {
  display: block !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 40px !important;
}
.footer-widget h5{
  text-transform: none !important;
}
.footer-widget .contact-card{
  margin-bottom: 16px !important;
}
.footer-widget .contact-card strong{
  font-size: 16px !important;
}
.footer-widget .contact-card p{
  font-size: 14px !important;
}
.footer-widget ul {
  list-style: disc !important;
}
/* Reset footer titles to default */
.footer-title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-size: 2rem !important;
  margin-bottom: 24px !important;
}
/* Ensure footer logo has 24px spacing below */
.modern-footer .footer-logo {
  margin-bottom: 30px !important;
}

/* Reset footer links to default */
.footer-links {
  display: block !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.footer-links li {
  text-align: left !important;
  width: 100% !important;
  list-style-type: none !important;
  padding-left: 0 !important;
}

.footer-links a {
  text-align: left !important;
  display: block !important;
  font-size: 1.5rem !important;
  padding: 0 !important;
  font-weight: normal !important;
}

/* Reset footer description to default */
.footer-description {
  text-align: left !important;
  width: 100% !important;
  font-size: inherit !important;
  margin-bottom: 2rem !important;
  padding: 0 !important;
}

/* Reset contact cards to default */
.contact-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding: 1rem !important;
}

.contact-icon {
  margin-right: 1rem !important;
  margin-bottom: 0 !important;
  width: 50px !important;
  height: 50px !important;
}

.contact-info {
  text-align: left !important;
  width: auto !important;
}

.contact-info strong {
  text-align: left !important;
  display: block !important;
  font-size: 1rem !important;
  margin-bottom: 0.25rem !important;
}

.contact-info p {
  text-align: left !important;
  margin: 0 !important;
  font-size: 0.9rem !important;
}

/* Reset footer social to default */
.footer-social {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: 100% !important;
}

.social-title {
  text-align: left !important;
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
}

.social-links {
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  gap: 1rem !important;
}

/* Reset footer stats to default */
.footer-stats,
.modern-footer .footer-stats {
  width: 100% !important;
  margin-bottom: 1.5rem !important;
}

.footer-stats .row,
.modern-footer .footer-stats .row {
  justify-content: flex-start !important;
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 0 !important;
}

.footer-stats .stat-item,
.modern-footer .footer-stats .stat-item {
  text-align: center !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 1rem !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  margin-bottom: 1rem !important;
}

.footer-stats .stat-item strong,
.modern-footer .footer-stats .stat-item strong {
  font-size: 1.5rem !important;
  color: #007bff !important;
  margin-bottom: 0.25rem !important;
  display: block !important;
}

.footer-stats .stat-item span,
.modern-footer .footer-stats .stat-item span {
  font-size: 1.5rem !important;
  color: #b0b0b0 !important;
}

/* Reset footer bottom to default */
.footer-bottom .row {
  justify-content: space-between !important;
  text-align: left !important;
  width: 100% !important;
}

.footer-copyright,
.footer-payment {
  text-align: left !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.footer-payment {
  text-align: right !important;
}

.footer-copyright p {
  font-size: 0.9rem !important;
  margin: 0 !important;
}

.payment-methods {
  justify-content: flex-end !important;
  width: auto !important;
  margin-top: 0 !important;
  gap: 0.75rem !important;
}

.payment-methods i {
  font-size: 1.5rem !important;
}

/* Keep desktop footer layout until 992px */
@media (min-width: 992px) {
  /* Ensure the outer footer row keeps 2 columns per line */
  .modern-footer .footer-main .row > div { float: left; }

  /* Adjust proportions for 2 columns per line */
  .modern-footer .footer-main .row > div:nth-child(1) {
     width: 33.33333% !important;
  }
  .modern-footer .footer-main .row > div:nth-child(2),
  .modern-footer .footer-main .row > div:nth-child(3){
   width: 16.66666% !important;
  }
  
  .modern-footer .footer-main .row > div:nth-child(4) {
    width: 33.333333% !important;
  }

  /* Avoid unintended stacking/gaps from utility margins */
  .modern-footer .footer-main .row > div.mb-4 {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Two columns layout on medium screens */
  .modern-footer .footer-main .row > div {
    float: left !important;
    width: 50% !important;
  }
  /* Ensure the second row starts cleanly */
  .modern-footer .footer-main .row > div:nth-child(3) {
    clear: left !important;
  }
  /* Restore vertical spacing between rows */
  .modern-footer .footer-main .row > div.mb-4 {
    margin-bottom: 1.5rem !important;
  }
}

/* Footer link lists: restore normal bullets inside modern footer */
.modern-footer .footer-links {
  list-style: disc !important;
  list-style-position: outside !important;
  padding-left: 1.25rem !important;
  margin-left: 0 !important;
}
.modern-footer .footer-links li {
  list-style-type: disc !important;
  display: list-item !important;
  padding-left: 0 !important;
}

/* Footer stats: compact, in-row squares with rounded corners */
.modern-footer .footer-stats .row {
  display: flex !important;
  flex-wrap: nowrap !important; /* keep both in one row */
  gap: 10px !important; /* space between the two boxes */
}
.modern-footer .footer-stats .row > [class*="col-"] {
  padding: 0 !important;
  width: calc((100% - 10px) / 2) !important; /* two columns accounting for 10px gap */
  flex: 0 0 calc((100% - 10px) / 2) !important;
}
.modern-footer .footer-stats .stat-item {
  width: 100% !important;
  aspect-ratio: auto !important; /* disable square sizing */
  height: 100px !important; /* fixed height */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  border-radius: 12px !important; /* rounded corners */
  background: rgba(255, 255, 255, 0.12) !important;
  margin: 0 !important; /* rely on gap instead */
  padding: 0 !important; /* keep square exact, use content centering */
  box-sizing: border-box !important;
}
.modern-footer .footer-stats .stat-item strong {
  font-size: 2.5rem !important; /* compact number */
}
.modern-footer .footer-stats .stat-item span {
  font-size: 1.5rem !important; /* compact label */
}

/* Mobile: center content when footer is single column */
@media (max-width: 767.98px) {
  /* Center company logo */
  .modern-footer .footer-logo {
    text-align: left !important; /* revert to left on mobile */
  }
  .modern-footer .footer-logo img {
    display: inline-block !important;
  }

  /* Center section titles */
  .modern-footer .footer-title,
  .modern-footer .social-title {
    text-align: center !important;
  }

  /* Center list items; remove bullets on mobile */
  .modern-footer .footer-links {
    text-align: center !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  .modern-footer .footer-links li {
    list-style-type: none !important; /* override desktop bullets */
  }
  .modern-footer .footer-links li a {
    text-align: center !important;
  }

  /* Center contents of contact information boxes */
  .modern-footer .contact-card {
    justify-content: center !important;
    flex-direction: column !important; /* stack icon/title/description */
    align-items: center !important; /* center horizontally */
    text-align: center !important;
  }
  .modern-footer strong{
    text-align:  center !important;
  }
  .modern-footer p{
    text-align:  center !important;
  }
  .modern-footer .contact-icon {
    margin-right: 0 !important;
    margin-bottom: 0.5rem !important; /* space under icon */
  }
  .modern-footer .contact-info {
    text-align: center !important;
  }

  /* Center social icons row */
  .modern-footer .footer-social {
    align-items: center !important;
  }
  .modern-footer .social-links {
    justify-content: center !important;
  }
}
.modern-footer .stat-item{
  font-size: 1.5rem !important;
}