.tc-wrapper-21e12dff {
	width: 100%;
	overflow: hidden;
	padding: 20px 0;
    position: relative;
}

.tc-carousel-container-21e12dff {
	width: 100%;
    padding-bottom: 40px; /* Space for dots */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tc-card-21e12dff {
	/* height: 500px; - Controlled by elementor now */
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tc-card-21e12dff.expanded-21e12dff {
	/* width: 600px !important; Controlled by elementor settings */
    max-width: 90vw;
}

.tc-card-inner-21e12dff {
	display: flex;
	width: 100%;
	height: 100%;
}

.tc-card-front-21e12dff {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 30px;
	z-index: 1;
    flex-shrink: 0;
}

.expanded-21e12dff .tc-card-front-21e12dff {
    width: 300px;
}

.tc-card-overlay-21e12dff {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 70%;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
	z-index: -1;
}

.tc-card-content-21e12dff {
	color: #fff;
}

.tc-name-21e12dff {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 5px 0;
	color: inherit;
}

.tc-role-21e12dff {
	font-size: 14px;
	margin: 0 0 20px 0;
	opacity: 0.9;
	color: inherit;
}

.tc-bio-btn-21e12dff {
	background: transparent;
	border: none;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 6px 12px;
    border-radius: 20px;
	font-weight: 600;
	font-size: 16px;
	transition: opacity 0.3s ease;
}

.tc-bio-btn-21e12dff:hover {
	opacity: 0.8;
}

.tc-bio-icon-21e12dff {
	background: #fff;
	color: #000;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tc-card-bio-21e12dff {
	width: 0;
	opacity: 0;
	height: 100%;
	background-color: #1a1e29; /* Default dark bg */
	color: #fff;
	overflow: hidden;
	transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
	position: relative;
}

.tc-card-21e12dff.expanded-21e12dff .tc-card-bio-21e12dff {
	width: calc(100% - 300px);
	opacity: 1;
}

.tc-card-bio-content-21e12dff {
	padding: 40px 30px;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
    position: relative;
}

.tc-close-btn-21e12dff {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255,255,255,0.1);
	border: none;
	color: #fff;
	width: 36px;
	height: 36px;
    border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.3s, background-color 0.3s;
    z-index: 2;
    padding: 0;
}

.tc-close-btn-21e12dff svg {
    width: 24px;
    height: 24px;
}

.tc-close-btn-21e12dff:hover {
	opacity: 0.7;
}

.tc-bio-scroll-21e12dff {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-right: 10px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.tc-bio-scroll-21e12dff::-webkit-scrollbar {
	width: 6px;
}

.tc-bio-scroll-21e12dff::-webkit-scrollbar-thumb {
	background-color: rgba(255,255,255,0.3);
	border-radius: 10px;
}

.tc-bio-text-21e12dff {
	font-size: 15px;
	line-height: 1.6;
	color: #ccc;
    /* Ensure padding doesn't cut off text */
    padding-bottom: 10px; 
}

.tc-linkedin-btn-21e12dff {
	color: inherit;
	transition: opacity 0.3s ease;
	display: inline-block;
	margin-top: auto;
}

.tc-linkedin-btn-21e12dff:hover {
	opacity: 0.8;
}

/* Swiper Navigation Styles */
.tc-swiper-button-prev-21e12dff, 
.tc-swiper-button-next-21e12dff {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tc-swiper-button-prev-21e12dff {
    left: 10px;
}

.tc-swiper-button-next-21e12dff {
    right: 10px;
}

.tc-swiper-button-prev-21e12dff:after, 
.tc-swiper-button-next-21e12dff:after {
    font-family: 'swiper-icons';
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.tc-swiper-button-prev-21e12dff:after {
    content: 'prev';
}

.tc-swiper-button-next-21e12dff:after {
    content: 'next';
}

.tc-swiper-pagination-21e12dff {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

@media (max-width: 768px) {
    .tc-card-inner-21e12dff {
        flex-direction: column;
    }
    
    .expanded-21e12dff .tc-card-front-21e12dff {
        width: 100%;
        height: 50%;
    }
    
    .tc-card-21e12dff.expanded-21e12dff .tc-card-bio-21e12dff {
        width: 100%;
        height: 50%;
    }
}