/* Profile Picture & Overlay Heading */
.profile-pic {
    position: relative;
  }
  
  .profile-pic img {
    border-radius: 25%;
    width: 100%;
    max-width: 1500px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border: 8px solid #595959;
  }
  
  .hero-heading {
    position: absolute;
    top: 25%;  /* Moved up from the center */
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
    font-size: clamp(1rem, 4vw, 3rem);
    text-align: center;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 1.0);  /* Fully dark shadow */
  }
 
  /* Web Links */
  .web-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
  }
  
  .custom-link {
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: transform 0.3s, filter 0.3s;
  }
  
  .custom-link:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
  }
  
  /* Tooltip Styling */
  .tooltip {
    visibility: hidden;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    z-index: 1000;
  }
  
  .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
  }
  
  .custom-link:hover .tooltip {
    visibility: visible;
    opacity: 1;
  }
  
  /* Responsive Scaling for Custom Links */
  @media (max-width: 768px) {
    .custom-link {
      transform: scale(0.75);
    }
  }
  
  @media (max-width: 480px) {
    .custom-link {
      transform: scale(0.5);
    }
  }
  
