/* Team section */

.team-section h2 {
	color: #000;
	font-weight: 700;
  text-align: left;
}

.team-section {
	position: relative;
}

.team-section .container {
	padding: 3rem 2rem 3rem;
}

.team-section {
	position: relative;
}

.team-section .slick-dots {
    position: relative;
    top: 40%;
    right: auto;
    left: auto;
    bottom: -20px;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-right: 5%;
    width: 100%;
    border-radius: 20px;
    list-style: none;
    gap: 15px;
}

.team-section .slick-dots li {
	width: 20px;
	height: 20px;
	position: relative;
}

.team-section .slick-dots li button {
	width: 100%;
	height: 100%;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 0;
	line-height: 0;
	position: relative;
	cursor: pointer;
}

.team-section .slick-dots li.slick-active button {
	border: 2px solid #f57c00;
	border-radius: 50%;
	padding: 10px;
}

.team-section .slick-dots li button:before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: #f57c00;
	border-radius: 50%;
	opacity: 0.8;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.3s ease;
}

.team-section .slick-dots li.slick-active button:before {
	width: 16px;
	height: 16px;
	opacity: 1;
}

.teammate-img img {
	width: 170px;
	height: 170px;
	border-radius: 90px;
}

.teammate-img {
	text-align: center;
	justify-items: center;
    margin-bottom: 0;
    padding-top: 2rem;
	padding-bottom: 2rem;
    border-left: 0.05px solid rgba(110, 110, 110, 0.2);
    border-right: 0.05px solid rgba(110, 110, 110, 0.2);
    border-bottom: 0.05px solid rgba(110, 110, 110, 0.2);
}
.teammate-img:nth-child(4n + 1) {
    border-left: none;
  }
  
  .teammate-img:nth-child(4n) {  
    border-right: none;
  }
.teammate-img h6 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
}

.teammate-img p {
	font-size: 16px;
	font-weight: 300;
	color: #000;
}

.more-btn {
	border: 1px solid #ffffff;
	color: #ffffff;
  background-color: #ed6809;
	height: 22px;
	border-radius: 50px;
	padding: 5px 10px;
	text-decoration: none;
}
.more-btn:hover{
  background-color: #fff;
  border: 1px solid #ed6809;
  color: #ed6809;
}

.btn-outline {
  border: 1px solid #ed6809;
  color: #ed6809;
  background-color: #fff;
  font-size: 16px;
  border-radius: 40px;
  font-weight: 700;
  padding: 0.5rem 1rem;
}
.btn-outline:hover {
  color: #fff;
  background-color: #ed6809;
}

#teamModal .modal-body{
    padding: 2rem;
}

.teamdeatils{
    overflow-y: scroll;
    height: 250px;
}
#teamModal .btn-close{
    background-color: black;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.5rem 0.5rem;
    border: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    --bs-btn-close-opacity: 1;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

#teamModal h6{
    font-size: 20px;
    font-weight: 700;
    color: #ed6809;
}

#teamModal .teamdeatils h6 {
    font-size: 20px;
    font-weight: 700;
    color: #ed6809;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 20px; 
  }
  

  #teamModal .teamdeatils h6::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;         
    width: 300px;        
    height: 2px;         
    background-color: #818181;
    opacity: 0.5;
    border-radius: 4px;
    z-index: 1;
  }
  
 
  #teamModal .teamdeatils h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;        
    width: 70px;         
    height: 6px;         
    background-color: #ed6809;
    border-radius: 4px;
    z-index: 2;
  }
  
#teamModal p {
    font-size: 16px;
    font-weight: 300;
    color: #000;
}
.modalImage{
    height: 170px;
    width: 170px;
    border-radius: 50%;
    border: 1px solid #ed6809;
    margin-bottom: 1rem;
}
.t-title{
    font-family: "Inter-Medium";
    min-width: 150px;
}
.t-description{
    font-family: "Inter-Light";
    padding-left: 15px;
    word-break: break-word;
}
.teamdeatils::-webkit-scrollbar {
    height: 2px;
    width: 4px;
  }
  
.teamdeatils::-webkit-scrollbar-thumb {
    background-color: #f57c00;
    border-radius: 4px;
  }
  
.teamdeatils::-webkit-scrollbar-thumb:hover {
    background-color: #f57c00;
  }
  
.teamdeatils::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 4px;
  }


/* Team section */


@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
    .team-section h2{
        margin-bottom: 0;
    }
    .teammate-img{
        border: none;
        width: 50%;
    }
	.team-section h2 {
		padding: 0;
	}
}

@media (min-width: 768px) and (max-width: 992px) and (orientation: landscape) {
    .team-section h2{
        margin-bottom: 0;
    }
    .teammate-img{
        border: none;
        width: 50%;
    }
	.team-section h2 {
		padding: 0;
	}
}

@media (max-width: 767px) and (orientation: portrait) {
	.team-section h2{
		margin-bottom: 0;
	}
	.teammate-img{
		border: none;
	}
	.team-section h2 {
    text-align: center;
		padding: 0;
	}

}