.case-study-section {
    padding: 0 0 50px 0;
}

/* Header */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #003366;
}

.section-header p {
    font-size: 18px;
    color: #3d4c5d;
}

/* Grid */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Cards */
.case-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-box img {
    width: 100%;
    height: 100%;
}

.first-box-case-study {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-card h3 a {
    font-size: 20px;
    color: #003366;
    margin-bottom: 10px;
    text-decoration: none;
    margin-bottom: 10px;
    display:block;
}

.case-card p {
    font-size: 16px;
    line-height: 22px;
    color: #38506b;
    margin-bottom: 20px;
}

/* Image card */
.image-card {
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
}

.image-box {
    width: 100%;
    height: 100%;
    /*background: #6f8aa4;*/
}

/* CTA */
.cta-btn {
    align-self: flex-start;
    /*color: #20A68D;*/
    color: #008000;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

/* Read more */
.case-study-section a.read_more {
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    line-height: 24px;
    color: #3C4243;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
}

.case-study-section a.read_more img {
    vertical-align: middle;
    width: 15px;
}

/* Tablet */
@media (max-width: 1024px) {
    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-card {
        grid-row: span 1;
        grid-column: span 2;
        /*height: 250px;*/
        height: auto;
    }
    .image-box {
        width: 100%;
        height: 100%;
        background: #6f8aa4;
        max-height: 330px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .case-study-grid {
        grid-template-columns: 1fr;
        display: block;
    }

    .image-card {
        height: auto;
    }

    .first-box-case-study {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .case-card {
        margin-bottom: 24px;
    }
}
