/* Team Members Slider Styles */
.team-members-slider-wrapper {
    max-width: 1400px;
    margin: -80px auto 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.team-members-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.team-members-title-section {
    flex: 1;
    min-width: 300px;
}

.team-members-expertise {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e05d3d;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.team-members-expertise::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background-color: #e05d3d;
}

.team-members-heading {
    font-size: 48px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.team-members-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

.team-members-filters {
    display: flex;
    gap: 0;
    border: 2px solid #e05d3d;
    border-radius: 4px;
    overflow: hidden;
}

.filter-btn {
    padding: 8px 12px;
    background-color: transparent;
    border: none;
    color: #FFF;
	text-align: center;
	font-family: Poppins;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 25px; /* 178.571% */
	text-transform: capitalize;
    transition: all 0.3s ease;
    position: relative;
	cursor:pointer;
}

.filter-btn.active {
    background-color: #e05d3d;
    color: #ffffff;
}
.filter-btn:hover{
    background-image: linear-gradient(180deg, #737373 0%, #2D2E2F 100%);
    color: #ffffff;
}

.filter-btn:first-child.active {
    background-color: #e05d3d;
    color: #ffffff;
}

/* Splide Customization */
.team-members-splide {
    padding-bottom: 40px;
}

.team-member-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-member-name {
    color: #2D2E2F;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.team-member-position {
    color: #2D2E2F;
    font-family: Poppins;
    font-size: 13px;
    font-weight: 300;
    line-height: 22px;
    margin: 0;
}

.team-member-description {
    font-size: 14px;
    color: #2D2E2F;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* Splide Pagination */
.splide__pagination {
    bottom: 0 !important;
}

.splide__pagination__page {
    background-color: #ddd !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
	padding: 0px !important;
	background-image: none !important;
}

.splide__pagination__page.is-active {
    width: 20px !important;
	height: 8px !important;
	aspect-ratio: 5/2 !important;
	border-radius: 30px !important;
	background: #F16040 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-members-heading {
        font-size: 40px;
    }
    
    .splide__arrow--prev {
        left: -40px !important;
    }
    
    .splide__arrow--next {
        right: -40px !important;
    }
}

@media (max-width: 768px) {
    .team-members-header {
        flex-direction: column;
    }
    
    .team-members-title-section {
        min-width: 100%;
    }
    
    .team-members-heading {
        font-size: 32px;
    }
    
    .team-members-description {
        font-size: 14px;
    }
    
    .team-members-filters {
        width: 100%;
    }
    
    .filter-btn {
        flex: 1;
        text-align: center;
    }
    
    .splide__arrow--prev {
        left: 10px !important;
    }
    
    .splide__arrow--next {
        right: 10px !important;
    }
    
    .team-member-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .team-members-heading {
        font-size: 28px;
    }
    
    .team-members-expertise {
        font-size: 11px;
        padding-left: 30px;
    }
    
    .team-members-expertise::before {
        width: 20px;
    }
}

/* Hidden slides */
.team-member-slide[style*="display: none"] {
    display: none !important;
}