.section-header {
    background-image:
        linear-gradient(to bottom, rgba(47, 54, 116, 0.65), rgba(197, 208, 255, 0.2)),
        url('/static/images/studies_development/banner_bg.png');
    /* Background image for the header */
    background-size: cover;
    background-position: center;
    padding: 500px 20px 40px;
    color: white;
    position: relative;
    text-align: center;
}



.section-header h1 {
    position: absolute;
    bottom: 0px;
    /* distance from bottom of header */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #004747;
    padding: 30px 190px;
    font-size: 80px;
    font-weight: 400;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin: 0;
}


.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.card {
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    border: white;
}

.card:hover {
    transform: translateY(-5px);
    color: #005E60;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
    display: block;
    color: #ffff;
}

.card img {
    width: 100%;
    height: auto;
}

/* .card a {
    text-decoration: none;
    margin: 0.75rem 0;
    font-weight: 700;
    color: #000000;
    font-size: 25px;
    padding: 0 55px
}

.card a:hover {
    text-decoration: none;
    margin: 0.75rem 0;
    font-weight: 700;
    color: #005E60;
    font-size: 25px;
    padding: 0 55px
} */

.card-title {
    margin: 0.75rem 0;
    font-weight: 700;
    color: #000000;
    font-size: 25px;
    padding: 0 55px;
}

.card-title:hover {
    margin: 0.75rem 0;
    font-weight: 700;
    color: #005E60;
    font-size: 25px;
    padding: 0 55px;
}

@media (max-width: 512px) {

 .section-header {
    padding: 110px 9px 10px;
 }
 .section-header h1 {
    padding: 0px 70px;
    font-size: 24px;
 }
}