body {
    color: black;
}
.team-page-container {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}
.card-img-top {
    height: 220px; /* fixed height */
    object-fit: cover; /* crop nicely */
    object-position: top; /*  show top part */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.employee-card {
    transition: 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.employee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.designation-badge {
    background-color: #0074d9;
}

.team-page h2 {
    margin-top: 30px;
}
.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}
/* a {
    text-decoration: none !important;
} */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 576px) {
    .employee-card {
        text-align: center;
    }

    .designation-badge {
        display: inline-block;
    }
    .card-title {
        font-size: 15px;
    }

    .card-text {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-img-top {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: top;
    }
}
