.background-div {
    background-size: cover;
    background-color: transparent; 
    background-repeat: no-repeat;  
    background-position: 50% 50%;
    position: relative;
    height: 513px;
    overflow: hidden;
}
.left-everything{
    text-align: left;
}
.center-everything {
    text-align: center;
}
.center-everything .intro{
    margin: 0 auto !important;
}
.header-content{
    margin: 120px auto 80px;
    max-width: 1404px;
    padding: 0 36px;
}
.title{
    margin-bottom: 30px;
    max-width: 900px;
}
.white-title{
    color: #FFFFFF;
}
.orange-title{
    color: #FF7722;
}
.intro{
    font: normal normal normal 16px/26px "Space Grotesk";
    color: #FFFFFF;
    max-width: 650px;
}
.header-intro{
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}
.case-study-image {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
}
.case-study-image img {
    max-width: 450px;
    height: auto;
    object-fit: contain;
    display: block;
}
.link-container {
    padding-top: 6px;
}
.button {
    font-size: 18px;
    border: 0;
    padding: 10px 35px;
    font-weight: 600;
    display: inline-block;
    color: #000022;
    border-radius: 2px;
    cursor: pointer;
}
.top-button {
    margin-right: 10px;
}
.powder-blue-button {
    background: rgb(118, 146, 255);
    background: linear-gradient(90deg, rgba(118, 146, 255, 1) 0%, rgba(83, 115, 240, 1) 100%);
    color: #000022;
}
.powder-blue-button:hover {
    background: linear-gradient(90deg, rgba(52, 89, 234, 1) 0%, rgba(52, 89, 234, 1) 100%);
}
.orange-button {
    background: rgb(255, 147, 54);
    background: linear-gradient(90deg, rgba(255, 147, 54, 1) 0%, rgba(255, 119, 34, 1) 100%);
    border: none;
}
.orange-button:hover {
    background: linear-gradient(90deg, rgba(235, 97, 11, 1) 0%, rgba(235, 97, 11, 1) 100%);
}
.dark-blue-button {
    background: #0D1742;
    border: none;
    color: #FFFFFF;
}

@media screen and (max-width: 1300px) and (min-width: 1025px) {
    .header-intro {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .intro {
        max-width: 100%;
    }
}

/* Tablet */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .background-div{
        height: 650px;
    }
    .header-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .intro {
        max-width: 100%;
    }
    .case-study-image img {
        max-width: 100%;
    }
}

/* Mobile */
@media screen and (max-width: 768px){
    .header-content {
        margin: 123px 0px 40px 0px;
        width: auto;
    }
    .title {
        font-size: 38px;
        line-height: 1.4;
        padding: 0;
        font: normal normal bold 38px/38px "Space Grotesk";
    }
    .header-intro p {
        font: normal normal normal 13px/22px "Space Grotesk";
    }
    .header-intro{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .intro {
        max-width: 100%;
    }
    .case-study-image{
        justify-content: center;
    }
    .button {
        padding: 10px;
        width: -webkit-fill-available;
        text-align: center;
        margin-right: 0;
    }
    .background-div {
        height: auto;
    }
    .top-button {
        margin-bottom: 10px;
    }
    .case-study-image img {
        max-width: 60%;
    }
}

/* Large desktop */
@media (min-width: 1301px) {
    .title {
        max-width: 1166px;
    }
    .header-intro {
        gap: 60px;
    }
}
@media (min-width: 2238px) and (max-width: 2351px) {
    .title {
        max-width: 1220px;
    }
}
@media (min-width: 2352px) {
    .title {
      max-width: 1400px;
    }
}