.tfs-container {
    width: 100%;
    position: relative;
    padding: 30px 40px 80px; /* Increased bottom padding for pagination space */
    box-sizing: border-box;
}

.tfs-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: visible;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.swiper-slide-active {
    opacity: 1;
    z-index: 10;
}

.swiper-slide-active .tfs-card {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateY(-10px);
}

.tfs-card {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.tfs-card::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 35%;
    height: 20px;
    background-color: inherit;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

.tfs-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: inherit;
    z-index: 2;
}

.tfs-card-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.tfs-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    border: 5px solid #f9f9f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.swiper-slide-active .tfs-image-wrapper {
    transform: scale(1.05);
    border-color: #fff;
}

.tfs-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tfs-name {
    margin: 10px 0 8px;
    font-size: 1.6rem;
    font-weight: 700;
}

.tfs-job {
    margin: 0;
    font-size: 1rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.tfs-button-prev,
.tfs-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    background: #fff;
}

.tfs-button-prev:hover,
.tfs-button-next:hover {
    background-color: #333;
    color: #fff !important;
    border-color: #333;
}

.tfs-button-prev {
    left: 0;
}

.tfs-button-next {
    right: 0;
}

.tfs-button-prev.swiper-button-disabled,
.tfs-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: auto;
    pointer-events: none;
}

/* Pagination Fix: Ensure it's absolutely positioned at the bottom of the CONTAINER, not swiper */
.tfs-container .swiper-pagination {
    position: absolute;
    bottom: 20px !important; /* Fixed distance from container bottom */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
    background: #ccc;
    opacity: 1;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    background-color: #333;
}
