/*** Header contact-info ***/
.social {
  padding: 2px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: rgba(194, 194, 211, 0.74);
  overflow: hidden;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative; /* Add position relative */
}

.social-icon {
  font-family: 'Nunito', sans-serif;
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 5px 10px;
  border-radius: 2px;
  margin-right: 5px; /* Adjust margin between icons */
  z-index: 1; /* Add higher z-index value */
}

.social-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border: 2px solid rgba(51, 27, 155, 0.68);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  opacity: 0; /* Add opacity 0 to hide the box initially */
}

.social-icon:hover::after {
  width: calc(100% - 4px); /* Expand the width to cover the icon and padding */
  height: calc(100% - 4px); /* Expand the height to cover the icon and padding */
  opacity: 1; /* Set opacity to 1 on hover to show the box */
}
.contact-info {
  font-family: 'Nunito', sans-serif;
     text-decoration: none;
 
}

.mail-symbol,
.phone-symbol {
  margin-right: 5px; /* Add margin to create space between the symbol and text */
}

.mail-id,
.mobile-number {
  margin-left: 5px; /* Add margin to create space between the symbol and text */
}

.mobile-number {
   font-size: 16px;
  font-weight: 400;
   text-decoration: none;
  margin-top: 10px;
  margin-left: 20px; /* Add left margin for email ID */
  margin-right: 20px; /* Add right margin for email ID */
}

.mail-id:hover,
.mobile-number:hover {
  position: relative;
}

.mail-id::after,
.mobile-number::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: rgba(51, 27, 155, 0.68);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mail-id:hover::after,
.mobile-number:hover::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .social {
    align-items: center;
    text-align: center;
  }
  .social-icons,
  .social-icon {
    font-size: 15px; /* Reduce the size of icons in responsive mode */
    padding: 3px 3px;
  }

  .contact-info,
  .mobile-number {
    font-size: 15px;
    margin-left: 0; /* Remove left margin for email ID in responsive mode */
    margin-right: 0; /* Remove right margin for email ID in responsive mode */
    margin-top: 0; /* Adjust top margin for mobile number in responsive mode */
  }

  .mail-id,
  .mobile-number,
  .mail-symbol,
  .phone-symbol {
    display: block; /* Make mail ID and mobile number stack in responsive mode */
    margin-top: 0; /* Remove top margin for mail ID and mobile number in responsive mode */
  }
}
