/* Contact Section Bottom Margin/Padding Fix */

/* Add proper bottom margin to contact section */
.contact.section {
  padding-bottom: 0 !important;
  margin-bottom: 40px !important;
}

/* Ensure contact grid doesn't add extra spacing */
.contact .contact-grid {
  margin-bottom: 0 !important;
}

/* Adjust container spacing if needed */
.contact .container {
  padding-bottom: 0 !important;
}

/* Remove shadows from contact form and map */
.contact .contact-form,
.contact .php-email-form {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.contact .contact-map,
.contact .contact-map iframe,
.contact iframe {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

/* Remove shadow from info items if any */
.contact .info-item,
.contact .contact-info {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

/* Mobile optimization - slightly less margin on smaller screens */
@media (max-width: 991px) {
  .contact.section {
    padding-bottom: 0 !important;
    margin-bottom: 32px !important;
  }
}

@media (max-width: 768px) {
  .contact.section {
    padding-bottom: 0 !important;
    margin-bottom: 24px !important;
  }
}
