.case-study-category-wrapper {
    padding: 100px 0px;
}

.case-study-cards-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.case-study-card {
    flex: 0 0 calc(33.33% - 20px);
    border-radius: 20px;
    position: relative;
}

.case-study-card-text {
    position: absolute;
    bottom: -10%;
    color: white;
    padding: 20px 50px;
    width: 100%;
    box-sizing: border-box;
    transition: all 1s ease;
    height: auto !important;
}

.case-study-card-img img {
    border-radius: 20px;
    box-sizing: border-box;
    transition: all 1s ease;
    height: 100%;
    width: 100%;
}

.case-study-card-text p {
    font-size: 20px;
}

.case-study-card-text a {
    opacity: 0;
    transition: all 1s ease;
}

.case-study-card-img {
    height: 100%;
    width: 100%;
    position: relative;
}

.case-study-card-img::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: black;
    opacity: 0.5;
    border-radius: 20px;
}

.case-study-card:hover .case-study-card-img img {
    border: 5px solid var(--primary-color1);
    box-sizing: border-box;
    transition: all 1s ease;
}

.case-study-card:hover .case-study-card-text {
    bottom: 0;
}

.case-study-card:hover .case-study-card-text a {
    opacity: 1;
    transition: all 1s ease;
}

.case-study-card div {
    height: 100%;
    width: 100%;
}