.handshake-bg {
    z-index: -100;
    left: 5%;
    bottom: -5%;
    width: 35%;
    height: 110%;
}

.handshake-img {
    width: 75%;
}
.handshake-bg__sm {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 33%;
    width: 50%;
}

.card-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-card .main-img {
    width: 70%;
    margin-bottom: -2rem;
    z-index: 5;
}

.home-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 3rem 1rem 1rem 1rem;    
    border: 5px solid var(--purple-dark);
    width: 85%;
}

.home-card-content h3 {
    color: var(--purple-dark);
}

.home-card-content p {
    margin: 1rem 0;
}

.home-card-content button, .home-card-content a {
    text-align: center;
    align-items: center;
    width: 100%;
    font-size: 1.25rem;
    padding: 0.5rem;
}

.home-card-content .icon-arrow-next {
    max-width: 0.75rem;
    margin-left: 0.5rem;
}

.credo-content {
    margin-top: 3rem;
    font-size: 1rem;
    font-weight: bold;
}

.credo-first-column p, .credo-second-column p {
    padding: 3rem;
}

.credo-first-column :nth-child(odd) {
    background-color: var(--blue-light);
    color: var(--purple-dark);
}
.credo-first-column :nth-child(even) {
    background-color: var(--purple-dark);
    color: white;
}

.credo-second-column :nth-child(odd) {
    background-color: var(--pink-light);
    color: var(--purple-light);
}

@media screen and (min-width: 768px) {
    .homepage-solutions .hero {
        margin-bottom: 0;
        display: grid;
        grid-template: 
            ". i i i i" 
            ". i i i i"
            "h i i i i"
            "h . b b b";
    }
    .handshake-img {
        width: 100%;
    }

    .handshake-bg__sm {
        display: none;
    }
    .description.bg-handshake {    
        background-size: 25%;
        background-position: left 20% top 50%;
        background-image: url("../../img/cobham-solutions/handshake-img-bg.svg");
    }
}

@media screen and (min-width: 1200px) {

    .handshake-bg {
        z-index: -100;
        left: 10%;
        bottom: -5%;
        width: 35%;
        height: 110%;
    }

    .handshake-img {
        width: 100%;
    }

    .home-card-content {
        width: unset;
    }

    .card-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 1rem;
        grid-auto-rows: 1fr;
    }

    .card-container {
        max-width: 1200px;
    }

    .home-card .main-img {
        width: 90%;
        margin-bottom: -2rem;
        z-index: 5;
    }

    .credo-content {
        font-size: 1.75rem;
    }
}

@media screen and (min-width: 1500px) {
    
    .homepage-solutions .hero-img {
        max-width: 850px;
    }

    .description.bg-handshake {
        background: none;
    }

    .homepage-solutions .hero .hero-title {
        margin-right: -10rem;
        padding: 7rem 0.9rem;
    }
}

@media screen and (min-width: 1600px) {
    .homepage-solutions .hero {
        max-width: 1100px;
    }

    .handshake-img {
        width: auto;
    }
}