/* Contact Us Specific Styling */
.contact-container {
    padding: 50px 20px;
    max-width: 800px;
    margin: 50px auto; /* Increased buffer from the header and footer */
    background-color: #3a3a3a; /* Chalkboard background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow */
    text-align: center; /* Center the heading */
  }
  
  /* Container for the Contact Details */
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .contact-icon {
    width: 60px;       /* Adjust as needed */
    height: 60px;      /* Adjust as needed */
    border-radius: 10px;
    object-fit: cover;
  }
  
  /* Contact Information Styling */
  .contact-details p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;  /* Remove default margin */
  }
  
  .contact-details a {
    color: #ff9800; /* Bright color for links */
    text-decoration: none;
  }
  
  .contact-details a:hover {
    text-decoration: underline;
  }
  
  /* Social Media Links Section */
  .social-media {
    text-align: center;
    margin-top: 40px;
  }
  
  /* Web Links Styling */
  .web-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
  }
  
  .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);
  }
  
  .link-icon {
    width: 50px; /* Adjust icon size as needed */
    height: auto;
  }
  
  /* 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;
  }
 
  @media (max-width: 480px) {
    h2 {
      font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .contact-details p,
    .contact-details a,
    .contact-details strong {
      font-size: clamp(0.8rem, 3vw, 1rem);
    }
  }
