/**
Theme Name: Mars
Author: Mehedi Hasan
Author URI: https://www.facebook.com/DevMehedii
Description: Mars Hearing Health.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mars
Template: astra
*/


.social {
  position: fixed;
  top: 30%;
  z-index: 10;
  width: 0px;
}

.social ul {
  list-style-type: none;
  padding: 0;
  transform: translatex(-305px);
}

.social ul li {
  display: block;
  margin: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  width: 300px;
  text-align: right;
  padding: 10px;
  border-radius: 0 30px 30px 0;
  transition: all 1s;
}

.social ul li:hover {
  transform: translatex(110px);
}

.social ul li.twitter:hover {
  background-color: #55acee;
}

.social ul li.facebook:hover {
  background-color: #3b5999;
}

.social ul li.google-plus:hover {
  background-color: #dd4b39;
}

.social ul li.instagram:hover {
  background-color: #e4405f;
}

.social ul li a {
  color: white;
  text-decoration: none;
}

.social ul li i {
  text-align: center;
  margin-left: 14px;
  color: black;
  background-color: white;
  padding: 10px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 15px;
  transform: rotate(0deg);
}

.social ul li:hover i {
  transform: rotate(360deg);
  transition: all 1s;
}


/* Footer styles */
  p {
    align-items: center;
    text-align: left;
  }
  
  p i {
    margin-right: 10px;
  }
.footerHeading {
    position: relative;
    font-size: 26px;
    font-weight: 600;
    line-height: 24px;
    color: #fff;
    text-align: left;
    margin-bottom: 20px;
  }
.footerHeading::after {
    content: "";
    position: absolute;
    left: 60px;
    bottom: -14px;
    transform: translateX(-50%);
    width: 116px;
    height: 5px;
    background-color: #b52526;
    border-radius: 50px 50px 0 0;
    box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
  }

/* Styles for the popup modal */
.team-member-modal {
    /* Other styles for the modal... */
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
}

.team-member-modal-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.team-member-modal-close {
    position: absolute;
    top: 0px;
    right: 10px;
    cursor: pointer;
	font-size: 30px;
}

/* Custom CSS for the team members grid */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
}

.team-member {
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px #cccccc;
    cursor: pointer;
}

.team-member img {
    width: 100%;
	height: 330px;
}

.team-member h3 {
    margin: 10px 0;
}

.team-member-designation {
    font-style: italic;
}
p.team-member-designation {
    margin-bottom: 10px;
    text-align: center;
}
p.modal-designation {
    margin-bottom: 1rem;
}
p.modal-designation::after {
    content: '';
    border-bottom: 5px solid #ff5a6e;
    display: block;
    width: 50px;
}

/* Responsive layout for tablets */
@media screen and (min-width: 768px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive layout for desktops */
@media screen and (min-width: 1200px) {
    .team-members-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}