/* Team Member Hover Card - 5aef0733 */

.tmhc-5aef0733-card {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    cursor: pointer;
}

/* Background Image */
.tmhc-5aef0733-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    z-index: 1;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-image,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-image {
    transform: scale(1.08);
}

/* Default Dark Gradient Overlay */
.tmhc-5aef0733-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-gradient,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-gradient {
    opacity: 0;
}

/* Hover Blue Overlay */
.tmhc-5aef0733-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1f49b6;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-overlay,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-overlay {
    opacity: 0.9;
}

/* Content Container */
.tmhc-5aef0733-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 4;
    box-sizing: border-box;
}

.tmhc-5aef0733-content-inner {
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-content-inner,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-content-inner {
    transform: translateY(-10px);
}

/* Name */
.tmhc-5aef0733-name {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 0 0 4px 0;
    line-height: 1.3;
    transition: padding 0.4s ease, transform 0.4s ease;
}

/* Designation */
.tmhc-5aef0733-designation {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    padding: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease, padding 0.4s ease;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-designation,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-designation {
    color: rgba(255, 255, 255, 0.85);
}

/* Hover Content (Description + Social) */
.tmhc-5aef0733-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-hover-content,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-hover-content {
    max-height: 300px;
    opacity: 1;
}

/* Description */
.tmhc-5aef0733-description {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0 0 20px 0;
    line-height: 1.65;
    transform: translateY(15px);
    transition: transform 0.4s ease 0.05s, opacity 0.4s ease 0.05s, padding 0.4s ease;
    opacity: 0;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-description,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-description {
    transform: translateY(0);
    opacity: 1;
}

/* Social Icons Container */
.tmhc-5aef0733-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.tmhc-5aef0733-card:hover .tmhc-5aef0733-social,
.tmhc-5aef0733-card.tmhc-5aef0733-touch-active .tmhc-5aef0733-social {
    transform: translateY(0);
    opacity: 1;
}

/* Social Link Buttons */
.tmhc-5aef0733-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #1f49b6;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.tmhc-5aef0733-social-link:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Icon wrapper */
.tmhc-5aef0733-social-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tmhc-5aef0733-social-icon-wrap i {
    font-size: inherit;
    color: inherit;
    line-height: 1;
}

.tmhc-5aef0733-social-icon-wrap svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .tmhc-5aef0733-card {
        height: 420px;
    }
    .tmhc-5aef0733-name {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .tmhc-5aef0733-card {
        height: 380px;
    }
    .tmhc-5aef0733-name {
        font-size: 20px;
    }
    .tmhc-5aef0733-description {
        font-size: 13px;
    }
    .tmhc-5aef0733-content {
        padding: 20px;
    }
}
