/* Contact Icons and Alignment Fix */

/* Fix for the mobile contact section layout */
@media (max-width: 767px) {
  /* Improve contact card styling */
  .contact-card {
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Fix contact card header */
  .contact-card-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
  }
  
  .title-bar-high {
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
  }
  
  /* Style contact card icon */
  .contact-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #002147;
    margin-top: 10px;
  }
  
  .contact-card-icon i {
    color: #ffffff;
    font-size: 24px;
  }
  
  /* Fix alignment of contact items */
  .contact-info-list {
    padding: 0;
    margin: 0 0 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
  }
  
  /* Style contact icon wrappers */
  .contact-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #002147;
    margin-right: 12px;
    flex-shrink: 0;
  }
  
  .contact-icon-wrapper i {
    color: #ffffff;
    font-size: 16px;
  }
  
  /* Fix text alignment */
  .contact-text {
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
  }
  
  /* Fix social media icons */
  .social-media-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
  }
  
  .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #002147;
    transition: all 0.3s ease;
  }
  
  .social-icon i {
    color: #ffffff;
    font-size: 16px;
  }
  
  /* Individual social icon colors */
  .social-icon.facebook {
    background-color: #3b5998;
  }
  
  .social-icon.twitter {
    background-color: #1da1f2;
  }
  
  .social-icon.linkedin {
    background-color: #0077b5;
  }
  
  .social-icon.instagram {
    background-color: #e1306c;
  }
  
  .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
}

/* Extra small devices adjustments */
@media (max-width: 480px) {
  .contact-icon-wrapper {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .contact-text {
    padding-top: 10px;
    font-size: 13px;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
  }
  
  .social-icon i {
    font-size: 14px;
  }
}
