/* Educators Carousel Wrapper */
.cec-carousel-wrapper {
    width: 100%;
    position: relative;
    padding: 10px 0 30px 0;
    box-sizing: border-box;
}

.cec-swiper {
    width: 100%;
    padding-bottom: 45px !important; /* Space for pagination */
    overflow: hidden !important;
}

/* Individual Card Styling */
.cec-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Image Wrapper */
.cec-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
 
}

.cec-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cec-card:hover .cec-image-box img {
    transform: scale(1.03);
}

/* Name Title */
.cec-name {
    font-size: 22px;
    font-weight: 700;
    color: #2b3026;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Job Title / Role */
.cec-role {
    font-size: 15px;
    font-weight: 600;
    color: #6a7462;
    margin-bottom: 14px;
    line-height: 1.4;
}

/* Bio Text */
.cec-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #52584d;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

.cec-bio p {
    margin: 0 0 10px 0;
}

.cec-bio p:last-child {
    margin-bottom: 0;
}

/* Button Wrapper */
.cec-button-wrapper {
    margin-top: auto;
    padding-top: 10px;
}

.cec-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #2b3026;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.cec-button:hover {
    color: #6a7462;
}

.cec-button-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.cec-button:hover .cec-button-icon {
    transform: translateX(4px);
}

/* Pagination Dots */
.cec-pagination .swiper-pagination-bullet {
    background: #c2c8bc;
    opacity: 0.7;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.cec-pagination .swiper-pagination-bullet-active {
    background: #6a7462;
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

.cec-no-educators {
    text-align: center;
    padding: 20px;
    color: #888;
    font-style: italic;
}
