.ct-carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ct-carousel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px 0;
}

.ct-carousel {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    will-change: transform;
}

.ct-bio {
    flex: 0 0 auto;
    margin: 0 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Align items in a column */
    align-items: center; /* Center items horizontally */
}

.ct-bio.active {
    opacity: 1;
    transform: scale(1.2);
    z-index: 2;
    pointer-events: none;
}

.ct-bio img {
    border-radius: 50%;
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    object-position: center;
    transition: width 0.3s ease, height 0.3s ease;
    display: block;
}

.ct-bio.active img {
    width: 120px;
    height: 120px;
}

.ct-prev, .ct-next {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.ct-prev {
    left: 10px;
}

.ct-next {
    right: 10px;
}

.ct-bio-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Align items in the center */
    margin-top: 20px; /* Add margin to create space between image and content */
}

.ct-bio-content.show {
    opacity: 1;
    transform: translateY(0);
}

.ct-bio-content .ct-description {
    font-size: 14px;
}

.ct-bio-content .ct-bio-name {
    font-size: 24px;
}
