@font-face {
    font-family: Gillory-Regular;
    src: url('../fonts/gilroy/Gilroy-Regular.ttf') format('truetype');
    /* font-style: normal; */
}

.case-studies-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.case-studies-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.case-study-card {
    flex: 0 0 110%;
    border-radius: 20px;
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .case-study-card {
        flex: 0 0 calc(33.33% - 20px);
    }
}

.case-study-image {
    width: 100%;
    height: 270px;
    overflow: hidden;
    position: relative;
    top: 4%;
    padding: 1rem;
    margin-top: 0rem;
    border-radius: 20px;
    /* background: rgba(164, 164, 164, 1); */
    background: radial-gradient(50% 50% at 50% 50%, #A4A4A4 0%, #EAEAEA 100%);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.case-study-image img {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    object-fit: cover;
}

.case-study-text{
    background-color: #E9E9E9;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.3rem;
    font-weight: bold;
    color: #1B1B1B;
    width: 100%;
    text-align: center;
}

.case-study-text p{
    background: linear-gradient(90deg, #7D2EED 0%, #1D114A 100%);
    -webkit-background-clip: text;
    text-transform: uppercase;
    -webkit-text-fill-color: transparent;
}

.case-study-content {
    padding: 20px;
}

.case-study-content h3 {
    font-size: 18px;
    margin-bottom: -15px;
    color: white;
}

.case-study-content ul {
    /* list-style: none; */
    padding-left: 20px;
}

.case-study-content li {
    font-family: Gillory-Regular, sans-serif;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 1);
}

.case-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 20px);
    left: 18px;
    display: flex;
    justify-content: space-between;
}

.case-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-nav-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.case-nav-btn i {
    color: #1B1B1B;
    font-size: 16px;
}