.case-section {
    padding: 0;
    color: white;
    display: flex;
    justify-content: center;
    background: none;
}

.case-container {
    width: 90%;
    max-width: 1300px;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 30px 30px;
}

.case-header {
    text-align: center;
    margin-bottom: 50px;
}

.case-header h1 {
    font-size: 3rem;
    font-weight: 100;
    margin-top: 32px;
}

.case-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 15px auto 0;
}

.case-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.014);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.case-card img {
    width: auto;
    max-width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.case-card h5 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.case-card a {
    color: #1b74ff;
    font-weight: 500;
    text-decoration: none;
}

.funding-bar:hover{
    transform: translateY(-5px);
    box-shadow: 0 1px 10px #00f2ff, inset 0 1px 0 #00f2ff; 
}

.funding-bar{
    margin-right: 100px;;
}

.case-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .case-card img {
        height: 220px;
    }

    .case-header h1 {
        font-size: 28px;
    }

    .case-header p{
        font-size: 17px;
    }
    .funding-bar{
        margin: 0 auto;
    }
}