/* Team Modal Styles */
.our-team-image {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.our-team-image:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Modal Content */
.team-modal-content {
  background-color: #ffffff;
  border-radius: 20px;
  border: none;
  overflow: hidden;
  position: relative;
}

.team-modal-content .modal-body {
  padding: 2rem;
}

.team-modal-content .modal-body img {
  width: 100%;
}

.team-modal-content .modal-body img.rounded {
  border-radius: 10px;
}

/* Close Button */
.team-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1055;
  background-color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.team-modal-close:hover {
  background-color: #f8f9fa;
  transform: scale(1.1);
}

.team-modal-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Member Name */
.team-member-name {
  font-size: 28px;
  font-weight: bold;
  color: #0e2841;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  text-align: left;
}

/* Member Bio */
.team-member-bio {
  font-size: 16px;
  font-weight: normal;
  color: #525252;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

/* LinkedIn Icon */
.linkedin-icon {
  width: 33px;
  height: 33px;
  border-radius: 0 !important;
  object-fit: contain;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .team-member-name {
    font-size: 22px;
    margin-top: 1rem;
  }
  
  .team-modal-content .modal-body {
    padding: 1.5rem;
  }
}

