.completed_projects_section {
    padding: 0px 0px 100px;
    background-color: rgb(255, 255, 255);
}

.completed_projects_head {
    max-width: 760px;
    margin: 0px auto 45px;
}

.completed_projects_head .eyebrow {
    display: inline-block;
    font-family: 'LeagueSpartan-SemiBold';
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgb(26, 92, 219);
    padding-bottom: 8px;
    border-bottom: 2px solid rgb(26, 92, 219);
    margin-bottom: 22px;
}

.completed_projects_head .title {
    font-family: 'LeagueSpartan-SemiBold';
    font-weight: 600;
    font-size: 64px;
    line-height: 1.1;
    color: rgb(15, 28, 63);
    margin: 0px 0px 22px;
}

.completed_projects_head .subtitle {
    font-family: 'LeagueSpartan-Regular';
    font-weight: 400;
    font-size: 19px;
    line-height: 1.6;
    color: rgb(90, 103, 133);
    margin: 0px;
}

.completed_projects_grid {
    gap: 24px;
    display: flex;
    flex-wrap: wrap;
}

.completed_project_card {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 350 / 250;
    min-height: 280px;
    padding: 20px;
    border-radius: 14px;
    overflow: hidden;
    background-color: rgb(27, 42, 75);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    flex-basis: calc(33.333333% - 16px);
}

.completed_project_card:before {
    content: '';
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    background: linear-gradient(180deg, rgba(10, 18, 40, 0) 30%, rgba(10, 18, 40, 0.55) 62%, rgba(10, 18, 40, 0.9) 100%);
}

.completed_project_card .card_content {
    position: relative;
    width: 100%;
    z-index: 2;
}

.completed_project_card .card_title {
    font-family: 'LeagueSpartan-SemiBold';
    font-weight: 600;
    font-size: 21px;
    line-height: 1.25;
    color: rgb(255, 255, 255);
    margin: 0px 0px 16px;
}

.completed_project_card .card_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin: 0px;
    gap: 10px 0;
}

.completed_project_card .card_meta li {
    display: flex;
    align-items: center;
    font-family: 'LeagueSpartan-Regular';
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
    padding: 0px 10px;
    align-items: self-end;
}

.completed_project_card .card_meta li:last-child{
    padding-right: 0;
}

.completed_project_card .card_meta li:first-child {
    padding-left: 0px;
}

.completed_project_card .card_meta li+li {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.completed_project_card .card_meta li svg {
    width: 17px;
    height: 17px;
    margin-right: 7px;
    flex-shrink: 0;
}

/*bottom cta panel*/
.completed_projects_cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 26px;
    padding: 32px 40px;
    border-radius: 16px;
    background-color: rgb(244, 247, 254);
}

.completed_projects_cta .cta_intro {
    display: flex;
    align-items: center;
    flex: 1 1 380px;
    min-width: 300px;
}

.completed_projects_cta .cta_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-right: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgb(228, 236, 253);
    color: rgb(26, 92, 219);
}

.completed_projects_cta .cta_icon svg {
    width: 36px;
    height: 36px;
}

.completed_projects_cta .cta_title {
    font-family: 'LeagueSpartan-SemiBold';
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: rgb(15, 28, 63);
    margin-bottom: 8px;
}

.completed_projects_cta .cta_text p {
    font-family: 'LeagueSpartan-Regular';
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: rgb(90, 103, 133);
    margin: 0px;
    max-width: 380px;
}

.completed_projects_cta .cta_button {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 18px 20px;
    border-radius: 10px;
    background-color: rgb(26, 92, 219);
    font-family: 'LeagueSpartan-Medium';
    font-weight: 500;
    font-size: 19px;
    line-height: 1;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: background-color .15s ease-in-out;
}

.completed_projects_cta .cta_button:hover,
.completed_projects_cta .cta_button:focus {
    background-color: rgb(20, 71, 178);
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.completed_projects_cta .cta_button svg {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    transition: transform .3s ease-out;
}

.completed_projects_cta .cta_button:hover svg {
    transform: translateX(4px);
}

.completed_projects_cta .cta_features {
    display: flex;
    flex: 1 1 545px;
    gap: 20px;
}

.completed_projects_cta .feature {
    display: flex;
    align-items: flex-start;
    flex: 1 1 0;
}

.completed_projects_cta .feature_icon {
    color: rgb(26, 92, 219);
    margin-right: 12px;
    flex-shrink: 0;
}

.completed_projects_cta .feature_icon svg {
    width: 40px;
    height: 40px;
    display: block;
}

.completed_projects_cta .feature_title {
    font-family: 'LeagueSpartan-SemiBold';
    font-weight: 600;
    font-size: 17px;
    line-height: 1.2;
    color: rgb(15, 28, 63);
    margin-bottom: 5px;
}

.completed_projects_cta .feature_text p {
    font-family: 'LeagueSpartan-Regular';
    font-weight: 400;
    font-size: 15px;
    line-height: 1.45;
    color: rgb(90, 103, 133);
    margin: 0px;
}

@media (max-width: 1350px) {
    .completed_projects_head .title {
        font-size: 52px;
    }

    .completed_projects_cta {
        padding: 30px;
    }
}

@media (max-width: 1199px) {
    .completed_projects_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .completed_projects_cta .cta_features {
        flex: 1 1 100%;
        border-top: 1px solid rgb(224, 232, 250);
        padding-top: 26px;
    }

    .completed_project_card .card_meta li:last-child{
        border: none;
        flex-basis: 100%;
        padding-left: 0;
    }
}

@media (max-width: 950px){
    .completed_project_card{
        flex-basis: calc(50% - 12px);
    }

    .completed_project_card .card_meta li:last-child{
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        flex-basis: unset;
        padding-left: 10px;
    }
}

@media (max-width: 991px) {
    .completed_projects_section {
        padding: 0px 0px 80px;
    }

    .completed_projects_head .title {
        font-size: 42px;
    }

    .completed_projects_head .subtitle {
        font-size: 17px;
    }

    .completed_projects_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px){
    .completed_project_card .card_meta li:last-child{
        border: none;
        flex-basis: 100%;
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .completed_projects_cta {
        gap: 24px;
        padding: 26px 22px;
    }

    .completed_projects_cta .cta_intro {
        flex: 1 1 100%;
        min-width: 0px;
        align-items: start;
    }

    .completed_projects_cta .cta_button {
        width: 100%;
        justify-content: center;
    }

    .completed_projects_cta .cta_features {
        flex-wrap: wrap;
        gap: 20px;
    }

    .completed_projects_cta .feature {
        flex: 1 1 100%;
    }

    .completed_projects_grid{
        gap: 15px;
    }
}

@media (max-width: 600px) and (min-width: 450px){
    .completed_project_card .card_meta li{
        border: none;
        flex-basis: 100%;
        padding-left: 0;
    }

    .completed_project_card .card_meta li+li{
        border: none;
    }
}

@media (max-width: 575px) {
    .completed_projects_section {
        padding: 0px 0px 65px;
    }

    .completed_projects_head {
        margin-bottom: 32px;
    }

    .completed_projects_head .title {
        font-size: 34px;
    }

    .completed_projects_grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .completed_project_card {
        padding: 22px;
    }

    .completed_projects_cta .cta_icon {
        width: 58px;
        height: 58px;
        margin-right: 16px;
    }

    .completed_projects_cta .cta_icon svg {
        width: 30px;
        height: 30px;
    }

    .completed_projects_cta .cta_title {
        font-size: 21px;
    }
}

@media (max-width: 450px){
    .completed_project_card{
        flex-basis: 100%;
    }

    .completed_project_card .card_meta li:last-child{
        border: none;
        flex-basis: 100%;
        padding-left: 0;
    }
}

/*card "view full" trigger*/
.completed_project_card {
    transition: transform .25s ease-out, box-shadow .25s ease-out;
}

.completed_project_card:hover{
    transform: translateY(-4px);
    box-shadow: 0px 18px 34px rgba(10, 18, 40, 0.18);
}

.completed_project_card .card_open {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 3;
    width: 100%;
    padding: 0px;
    margin: 0px;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.completed_project_card .card_open_label {
    position: absolute;
    right: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.92);
    font-family: 'LeagueSpartan-Medium';
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: rgb(15, 28, 63);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .2s ease-in-out, transform .2s ease-out;
}

.completed_project_card .card_open_label svg {
    width: 16px;
    height: 16px;
    margin-right: 7px;
}

.completed_project_card:hover .card_open_label,
.completed_project_card .card_open:focus-visible .card_open_label {
    opacity: 1;
    transform: translateY(0px);
}

.completed_project_card .card_open:focus-visible {
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: -4px;
}

/*"view full" project modal*/
body.completed_project_modal_open {
    overflow: hidden;
}

.completed_project_modal {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.completed_project_modal.is-open {
    display: flex;
}

.completed_project_modal .modal_overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(10, 18, 40, 0.75);
    cursor: pointer;
}

.completed_project_modal .modal_dialog {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 960px;
    max-height: calc(100vh - 60px);
    border-radius: 16px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 30px 70px rgba(10, 18, 40, 0.35);
    animation: completed_project_modal_in .25s ease-out;
    flex-direction: column;
}

@keyframes completed_project_modal_in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.completed_project_modal .modal_close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: rgb(15, 28, 63);
    cursor: pointer;
    transition: background-color .15s ease-in-out;
    appearance: none;
}

.completed_project_modal .modal_close:hover {
    background-color: rgb(255, 255, 255);
}

.completed_project_modal .modal_close svg {
    width: 22px;
    height: 22px;
}

.completed_project_modal .modal_media {
    flex: 1 1 55%;
    min-width: 0px;
    background-color: rgb(27, 42, 75);
    position: relative;
}

.completed_project_modal .modal_image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.completed_project_modal .modal_thumbs {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    background-color: rgb(15, 28, 63);
}

.completed_project_modal .modal_thumb {
    flex: 0 0 auto;
    width: 78px;
    height: 58px;
    padding: 0px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: rgb(27, 42, 75);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: .65;
    transition: opacity .15s ease-in-out, border-color .15s ease-in-out;
}

.completed_project_modal .modal_thumb:hover,
.completed_project_modal .modal_thumb.active {
    opacity: 1;
    border-color: rgb(26, 92, 219);
}

.completed_project_modal .modal_body {
    flex: 1 1 45%;
    min-width: 0px;
    padding: 40px;
    overflow-y: auto;
}

.completed_project_modal .modal_counter {
    font-family: 'LeagueSpartan-Medium';
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    color: rgb(26, 92, 219);
    margin-bottom: 12px;
}

.completed_project_modal .modal_title {
    font-family: 'LeagueSpartan-SemiBold';
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: rgb(15, 28, 63);
    margin: 0px 0px 20px;
    padding-right: 40px;
}

.completed_project_modal .modal_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0px;
    margin: 0px 0px 24px;
}

.completed_project_modal .modal_meta li {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: rgb(244, 247, 254);
    font-family: 'LeagueSpartan-Medium';
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    color: rgb(15, 28, 63);
}

.completed_project_modal .modal_meta li svg {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    flex-shrink: 0;
    color: rgb(26, 92, 219);
}

.completed_project_modal .modal_description {
    font-family: 'LeagueSpartan-Regular';
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: rgb(90, 103, 133);
    margin-bottom: 28px;
}

.completed_project_modal .modal_description p:last-child {
    margin-bottom: 0px;
}

.completed_project_modal .modal_cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 26px;
    border-radius: 10px;
    background-color: rgb(26, 92, 219);
    font-family: 'LeagueSpartan-Medium';
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: background-color .15s ease-in-out;
}

.completed_project_modal .modal_cta:hover,
.completed_project_modal .modal_cta:focus {
    background-color: rgb(20, 71, 178);
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.completed_project_modal .modal_cta svg {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    transition: transform .3s ease-out;
}

.completed_project_modal .modal_cta:hover svg {
    transform: translateX(4px);
}

.completed_project_modal .modal_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: rgb(15, 28, 63);
    cursor: pointer;
    transition: background-color .15s ease-in-out;
    outline: none;
}

.completed_project_modal .modal_nav:hover {
    background-color: rgb(255, 255, 255);
}

.completed_project_modal .modal_nav svg {
    width: 24px;
    height: 24px;
}

.completed_project_modal .modal_prev {
    left: 15px;
}

.completed_project_modal .modal_next {
    left: auto;
    right: 15px;
}

@media (max-width: 991px) {
    .completed_project_modal {
        padding: 0px;
    }

    .completed_project_modal .modal_dialog {
        flex-direction: column;
        flex-wrap: nowrap;
        max-width: 100%;
        max-height: 100vh;
        height: 100%;
        border-radius: 0px;
        overflow-y: auto;
    }

    .completed_project_modal .modal_media,
    .completed_project_modal .modal_body {
        flex: 0 0 auto;
    }

    .completed_project_modal .modal_body {
        padding: 26px 22px 40px;
        overflow: visible;
    }

    .completed_project_modal .modal_title {
        font-size: 24px;
    }

    .completed_project_modal .modal_description {
        font-size: 16px;
    }

    .completed_project_modal .modal_prev,
    .completed_project_modal .modal_next {
        top: 50%;
        transform: none;
    }

    .completed_project_modal .modal_cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .completed_project_card .card_open_label {
        display: none;
    }

    .completed_project_modal .modal_thumb {
        width: 66px;
        height: 50px;
    }
}
