body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  .profile-container {
    max-width: 600px;
    margin: 40px auto;
    /* background-color: #ffffff; */
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 0vh;
  }

  .menu-container {
    z-index: 10000;
    width: 100%;
    height: 6%;
    background: white;
    /* border-right: 1px solid #ddd; */
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    margin-right: 30px;

    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}
.menu-item i {
    color: #38b6ff;
}
.menu-item:hover {
    background: #38b6ff;
    color: white;
    cursor: pointer;
}
.menu-item:hover i {
    color: white;
}

.search-container {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;   
}



.contact-card {
    max-width: 700px;
    margin: 4rem auto;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  }
  
  .contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: #343a40;
  }
  
  .contact-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-divider {
    border-top: 2px solid #38b6ff;
    margin: 1.5rem 0;
    width: 60px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e9ecef;
  }
  
  .contact-section:last-child {
    border-bottom: none;
  }
  
  .contact-icon-lg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
  }
  
  .contact-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
  }
  
  .contact-link {
    color: #38b6ff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;

    scrollbar-width: auto; /* Firefox */
    -ms-overflow-style: auto; /* IE/Edge */
    overflow-x: auto; /* scroll only when needed */
    overflow-y: hidden; /* avoid vertical scroll */
  }
  
  .contact-link:hover {
    color: #1c8ed9;
    text-decoration: underline;
  }
  
  .contact-heading {
    margin-bottom: 0.25rem;
  }
  
  .contact-section small {
    font-size: 0.9rem;
  }
  
  .contact-text {
    width: 80%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

   /* At very small widths, keep icons only, center them, and keep spacing clean */
@media (max-width: 600px) {
  .menu-item {
    flex-direction: column;
    gap: 4px;
    font-size: 0; /* Hides text cleanly without layout shifts */
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    padding: 6px;
  }

  .menu-item i {
    font-size: 18px;
  }

  .menu-item::after,
  .menu-item span,
  .menu-item text {
    display: none !important;
  }
}