.team-logo {
    width: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.card-link {
    text-decoration: none;
    color: while;
}

.card-background-wrapper {
    position: relative;
    height: 200px; 
    overflow: hidden;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    background-size: 30px;
    opacity: 0.6; 
    z-index: 0;
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 45px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;
}

.btn-cta {
    background-color: #B725CB;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 8px 16px;
    height: 38px; 
    line-height: 1.5;
    border-radius: 0 .25rem .25rem 0;
}

.input-group .form-control {
    height: 38px; 
    border-top-right-radius: 0; 
    border-bottom-right-radius: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-right: none;
}

.input-group .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #B725CB;
}

@media (max-width: 576px) {
    .team-logo {
        width: 30%;
    }
    .card-background-wrapper {
        height: 150px; 
    }
    .text-truncate {
        font-size: 1rem;
    }
    .card-content p {
        font-size: 0.87rem;
    }
}
@media (max-width: 575px) {
    .team-logo {
        width: 20%;
    }
    .card-content {
        top: -35px;
    }
}
@media (max-width: 375px) {
    .card-content {
        top: -20px;
    }
}
@media (max-width: 425px) {
    .card-content {
        top: -25px;
    }
}
@media (max-width: 320px) {
    .card-content {
        top: -15px;
    }
}
@media (min-width: 1440px) {
    .card-content {
        top: -25px;
    }
}
@media (min-width: 2560px) {
    .card-content {
        top: -5px;
    }
    .team-logo {
        width: 30%;
    }
}