.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    margin: 180px auto 0;
}

.grid_panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 60px) / 4);
    min-height: 330px;
    background-color: var(--dark-orange);
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
}

.panel_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

.first_panel,
.panels_rhs {
    width: calc(50% - 10px);
}

.first_panel {
    border: 3px solid var(--black);
}

.first_panel h2 {
    margin-top: -15px;
    margin-bottom: 20px;
}

.second_panel {
    margin-bottom: 20px;
    padding: 0;
    background-color: var(--black);
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.first_panel_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    z-index: 0;
}

.first_panel_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.third_panel,
.fourth_panel {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.third_panel {
    background-color: var(--sage);
    color: var(--black);
}

.fourth_panel {
    background-color: var(--black);
    color: var(--white);
}

.fourth_panel h2,
.fourth_panel h3 {
    color: var(--white);
}

.third_panel h2,
.fourth_panel h2 {
    margin-top: -15px;
    margin-bottom: 0;
    font-size: 100px;
}

.grid_panel .square_icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background-color: var(--sage);
    color: var(--black);
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0px 5px 0px #00000026;
}

.second_panel .square_icon {
    background-color: var(--dark-orange);
    color: var(--black);
}
    
.grid_panel h3 {
    margin: 15px 0 10px 0;
}

.grid_panel p {
    margin: 5px 0 0 0;
}

.grid_panel a {
    color: var(--white);
}

.grid_panel .button {
    margin: 35px 0 20px;
    background-color: var(--black);
}

/* .grid .contact_info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
} */

.grid .contact_info .contact_col {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact_col:first-of-type {
    margin-bottom: 10px;
}

.grid .contact_info .contact_col a {
    margin-top: 5px;
}

.grid .contact_info .contact_col i {
    width: 30px;
}

.grid .contact_info .contact_col .fa-map-marker-alt {
    margin-left: 2px;
    margin-right: -2px;
}

@media (max-width: 1250px) {
    .panels_rhs,
    .first_panel {
        width: 100%;
    }

    .second_panel {
        margin-top: 20px;
    }

    .contact_info {
        display: flex;
        align-items: flex-start;
    }
}

@media (max-width: 750px) {
    .grid {
        flex-direction: column;
    }

    .first_panel {
        min-height: 500px;
    }

    .grid_panel,
    .panel_wrapper,
    .panel_wrapper .grid_panel {
        width: 100%;
        margin-bottom: 20px;
    }

    .panel_wrapper {
        margin-bottom: 0;
        flex-direction: column;
    }

    .fourth_panel .sub_panel {
        width: 100%;
    }

    .second_panel_wrapper {
        flex-direction: column;
    }

    .second_panel_wrapper .grid_panel {
        width: 100%;
    }

    .second_panel {
        margin-top: 0;
    }

    .contact_info {
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    .grid_panel .button,
    .grid .contact_info .contact_col {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .grid {
        margin-top: 100px;
    }
}