/* Mobile Contact Section Fixes */

/* General contact responsive styles */
@media (max-width: 767px) {
  /* Fix contact item alignment for mobile */
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .contact-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 50%;
    background: linear-gradient(145deg, #002147, #003a7a);
    color: white;
  }

  .contact-text {
    flex: 1;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    padding-top: 10px;
  }

  /* Ensure proper spacing between contact items */
  .contact-us-info2 ul {
    padding-left: 0;
    margin-bottom: 20px;
  }

  /* Make sure contact card takes full width on mobile */
  .contact-card {
    width: 100%;
    margin-bottom: 30px;
    padding: 20px 15px;
  }

  /* Adjust social media icons spacing for mobile */
  .social-media-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .social-icon {
    margin: 0 10px 10px 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .social-icon:hover {
    background-color: #002147;
    color: white;
  }

  /* Ensure contact information is properly spaced */
  .contact-us-info2 {
    padding: 15px 5px;
  }

  /* Fix map card for mobile */
  .map-card {
    width: 100%;
    height: 400px;
    margin-top: 20px;
  }
  
  /* Fix the header alignment */
  .contact-card-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .contact-card-icon {
    margin-top: 10px;
  }
  
  /* Fix contact heading for mobile */
  .contact-heading-area {
    text-align: center;
    margin-bottom: 30px;
  }
  
  /* Better spacing for contact section on mobile */
  .contact-row {
    margin-top: 20px;
  }
}

/* Fix for extra small screens */
@media (max-width: 480px) {
  .contact-text {
    font-size: 13px;
  }
  
  .map-card {
    height: 350px;
  }
  
  .contact-item {
    margin-bottom: 15px;
  }
  
  .contact-icon-wrapper {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
}
