/* Icon centering fixes for mobile view */

/* Fix for value icons in About section */
@media screen and (max-width: 576px) {
  .value-icon {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 20px !important;
  }
  
  .value-icon i {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Ensure the spinning dashed border stays centered */
  .value-icon::after {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* Fix for reason icons in Why Choose Us section */
@media screen and (max-width: 576px) {
  .reason-icon {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 20px !important;
  }
  
  .reason-icon i {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Ensure the spinning dashed border stays centered */
  .reason-icon::after {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* Fix for other mobile icon layout issues */
@media screen and (max-width: 576px) {
  /* Override any conflicting styles from timeline-fix.css */
  .reason-icon {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin-bottom: 20px !important;
  }

  /* Extra alignment assistance for Font Awesome icons */
  .fas, .fa, .far, .fab {
    line-height: 1 !important;
    vertical-align: middle !important;
  }
} 