.blocks-section {
    & .flexed {
        display: block;
        @media screen and (min-width: 1024px) {
            display: flex;
        }
    }
    & .section-photo {
        line-height: 0;
        & > img {
            width: 100%;
        }
    }
    & .section-text > *:last-child {
        margin-bottom: 0;
    }
}

.divider {
    height: 350px;
    position: relative;
    overflow: hidden;
}
.divider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.divider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
}

.text-section .container {
    max-width: 1100px;
    &:has(.gear-icons),
    &:has(.warehouse-icons) {
        max-width: 1400px;
    }
}

.icons-section {
    & .intro {
        max-width: 1100px;
        margin-inline: auto;
        text-wrap: pretty;
    }
    & .flexed {
        display: block;
        position: relative;
        @media screen and (min-width: 465px) {
            display: flex;
            justify-content: space-evenly;
        }
        @media screen and (min-width: 1230px) {
            justify-content: space-between;
        }

        &:after {
            content: '';
            display: block;
            flex: 1;
            position: absolute;
            z-index: 1;
            left: 50%;
            top: 50%;
            height: 100%;
            transform: translate(-50%, -50%);
            width: 3px;
            background: var(--yellow);
            @media screen and (min-width: 465px){
                background: transparent;
            }
            @media screen and (min-width: 760px){
                width: 50%;
                transform: translate(-50%, -50%);
                height: 50%;
                border-top: 3px solid var(--yellow);
                border-bottom: 3px solid var(--yellow);
                background: transparent;
            }
            @media screen and (min-width: 1230px) {
                width: 90%;
                height: 3px;
                borer: 0;
                background: var(--yellow);
            }
        }
    }
    & .icon-block {
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1;
        background-color: #03082D;
        flex-direction: column;
        z-index: 10;
        position: relative;
        max-width: 250px;
        margin: 20px auto;
        @media screen and (min-width: 465px){
            max-width: unset;
            margin: unset;
        }
        & .icon {
            font-size: 2.75rem;
        }
        & .icon-title {
            font-size: 1.625rem;
            font-weight: 400;
            line-height: 1.25;
            padding: 0 20px;
            margin-bottom: 20px;
            text-wrap: balance;
        }
        &.flex-18 {
            flex-basis: 45%;
            margin-bottom: 1.5rem;
            @media screen and (min-width: 760px){
                flex-basis: 28%;
            }
            @media screen and (min-width: 1230px){
                flex-basis: 18%;
            }
        }
    }
}

.services-section {
    & .flexed {
        display: block;
        @media screen and (min-width: 1024px) {
            display: flex;
            /*row-gap: 2em;*/
        }
    }
    & .service-block {
        position: relative;
        margin-bottom: 2em;
        @media screen and (min-width: 500px){
            aspect-ratio: 575 / 380;
            overflow: hidden;
        }
        @media screen and (min-width: 1024px){
            margin-bottom: 1.5em;
        }
        & a {
            height: 100%;
            text-decoration: none;
            @media screen and (min-width: 500px){
                display: flex;
                justify-content: flex-end;
                flex-direction: column;
                align-items: flex-end;
                &:after {
                    content: '';
                    position: absolute;
                    bottom:0;
                    left:0;
                    height: 100%;
                    width: 100%;
                    background: linear-gradient(180deg, rgba(3, 8, 45, 0.00) 45%, rgba(3, 8, 45, 0.8) 85%);
                    z-index: 10;
                    transition: all ease 0.3s;
                }
                &:hover,
                &:focus {
                    &:after {
                        background: linear-gradient(180deg, rgba(3, 8, 45, 0.00) 25%, rgba(3, 8, 45, 0.8) 65%);
                    }
                    & .service-content {
                        padding-bottom: 40px;
                    }
                }
            }
            &:focus-visible {
                & .service-content{
                    outline: 1px dashed #FFF;
                    outline-offset:-2px;
                }
            }
            &:hover,
            &:focus {
                & .service-link {
                    background: var(--light-blue);
                    border: 1px solid #FFF;
                    & i {
                        color: #FFF;
                    }
                }
            }
        }
        & .service-image {
            @media screen and (min-width: 500px) {
                position: absolute;
                top:0;
                left:0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }
            & img {
                object-fit: cover;
                object-position: center;
                block-size: 100%;
                inline-size: 100%;
            }
        }
        & .service-content {
            background: var(--black);
            @media screen and (min-width: 500px) {
                background: transparent;
            }
            position: relative;
            z-index: 20;
            padding: 25px;
            transition: all ease 0.3s;
        }
        & .service-title {
            padding-right: 50px;
            @media screen and (min-width: 500px){
                padding-right: 0;
            }
            & h3 {
                font-size: clamp(1.5rem, .7407vw + 1.3519rem, 2rem);
            }
        }
        & .service-description {
            @media screen and (min-width: 500px){
                padding-right: 85px;
            }
            & p {
                margin-bottom: 0;
                font-size: 1.125rem;
            }
        }
        & .service-link {
            background: var(--yellow);
            aspect-ratio: 1;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 37px;
            height: 37px;
            position: absolute;
            top: 20px;
            right: 20px;
            @media screen and (min-width: 500px){
                top: auto;
                bottom: 25px;
            }
            & i {
                color: var(--black);
            }
        }
    }
}

.projects-section {
    & .service-filters {
        margin-bottom: 2em;
        &.flexed-centered {
            gap: 15px;
        }
        & .active {
            background: var(--black);
        }
    }
    & .flexed {
        display: block;
        @media screen and (min-width: 920px){
            display: flex;
        }
    }
    & .project-block {
        position: relative;
        & a {
            display: block;
            text-decoration: none;
        }
        & .project-image {
            line-height: 0;
            aspect-ratio: 4/3;
            & img {
                object-fit: cover;
                object-position: center;
                block-size: 100%;
                inline-size: 100%;
            }
        }
        & .project-title {
            padding: 20px;
            transition: all ease 0.5s;
            padding-right: 50px;
            background: var(--dark-blue);
            @media screen and (min-width: 400px){
                position: absolute;
                left:0;
                bottom:0;
                width: 100%;
                background: rgba(0, 0, 0, 0.75);
            }
            & h3 {
                margin-bottom: 0;
                line-height: 1.25;
                font-size: 1.75rem;
            }
            & p  {
                margin-bottom: 0;
                font-size: 1.125rem;
            }
            & .project-icon {
                position: absolute;
                right: 20px;
                bottom: 20px;
                background: var(--yellow);
                border: 1px solid var(--yellow);
                overflow: hidden;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                aspect-ratio: 1;
                transition: all ease 0.5s;
                width: 25px;
                height: 25px;
                @media screen and (min-width: 400px){
                    width: 37px;
                    height: 37px;
                }
                & i {
                    font-size: 1rem;
                    @media screen and (min-width: 400px){
                        font-size: 1.375rem;
                    }
                    color: var(--black);
                }
            }
        }
        & a:hover,
        & a:focus {
            & .project-title {
                background: rgba(24, 71, 159, 0.75);
            }

        }
    }
    & .project-list {
        & .project-list-item {
            margin-bottom: 15px;
            & strong {
                display: block;
                line-height: 1.125;
            }
            & span {
                font-size: 0.875rem;
                line-height: 1.125;
            }
        }
    }
}

.projects-slider-section {
    & .intro {
        & .flexed {
            display: block;
            @media screen and (min-width: 960px){
                display: flex;
            }
        }
        & .flex-60 {
            text-align: center;
            @media screen and (min-width: 960px){
                text-align: left;
                & > *:last-child {
                    margin-bottom: 0;
                }
            }
            & h2 {
                text-wrap: balance;
            }
            & p {
                text-wrap: pretty;
                font-size: 1.1875rem;
            }
        }
        & .text-align-right {
            text-align: center;
            @media screen and (min-width: 960) {
                text-align: right;
            }
        }
    }
    & .projects-slider {
        @media screen and (min-width: 767px){
            padding: 0 0 0 30px;
        }
        @media screen and (min-width: 1100px){
            &:after {
                content: '';
                height: 100%;
                right: 0;
                top: 0;
                position: absolute;
                background: linear-gradient(to left, var(--black) 10%, rgba(0, 0, 0, 0.00) 100%);
                z-index: 100;
                width: 15%;
                @media screen and (min-width: 1460px){
                    width: 25%;
                }
            }
        }
        & .slick-list {
            margin-bottom: 75px;
        }
        & .slick-track {
            display: flex !important;
        }
        & .slick-slide {
            height: inherit !important;
        }
        & .slick-slide > div {
            padding: 0 20px;
        }
        & .project-slide {
            & a {
                display: block;
                height: inherit;
                text-decoration: none;
                position: relative;
                & .project-image {
                    aspect-ratio: 347/500;
                    overflow: hidden;
                    & img {
                        object-fit: cover;
                        object-position: center;
                        block-size: 100%;
                        inline-size: 100%;
                    }
                }
                & .project-title {
                    position: absolute;
                    left:0;
                    width: 100%;
                    padding: 30px 20px;
                    background: var(--dark-blue);
                    transition: all ease 0.5s;
                    padding-right: 50px;
                    & .project-icon {
                        position: absolute;
                        right: 20px;
                        bottom: 30px;
                        background: var(--yellow);
                        border: 1px solid var(--yellow);
                        overflow: hidden;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 37px;
                        height: 37px;
                        aspect-ratio: 1;
                        transition: all ease 0.5s;
                        & i {
                            color: var(--black);
                        }
                    }
                }
                & h3 {
                    margin-bottom: 0;
                    font-size: 1.75rem;
                    font-weight: 400;
                    line-height: 1.25;
                }
                & .location {
                    font-size: 0.875rem;
                    font-weight: 600;
                    margin-bottom: 0;
                }
                &:hover,
                &:focus {
                    & .project-title {
                        background: rgba(24, 71, 159, 0.75);
                    }
                }
                &:focus-visible {
                    outline: 2px dashed var(--yellow);
                    outline-offset: -2px;
                }
            }
        }
        & .slick-slide:nth-of-type(odd){
            & a {
                & .project-title {
                    bottom:0;
                }
            }
        }
        & .slick-slide:nth-of-type(even){
            & a {
                & .project-title {
                    top:0;
                }
            }
        }
    }
    &.black-bg {
        & .projects-slider {
            & .project-slide {
                & .project-title {
                    background: var(--black);
                }
            }
        }
    }
}

.gallery-section {
    & .gallery-wrapper.flexed {
        gap: 10px;
        padding-bottom: 1.5em;
        @media screen and (min-width: 600px){
            gap: 20px;
        }
    }
    & .gallery-image-item {
        &.flex-30 {
            flex-basis: calc(50% - 20px);
            @media screen and (min-width: 600px){
                flex-basis: calc(33% - 20px);
            }
        }
        & a {
            display: block;
            aspect-ratio: 1;
            overflow: hidden;
            position: relative;
            line-height: 0;
            & img {
                object-fit: cover;
                object-position: center;
                block-size: 100%;
                inline-size: 100%;
                transition: all ease 0.5s;
            }
            & span.magnifying-glass {
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                width: 100%;
                height: 100%;
                background: rgba(8,9,100,0.6);
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 3rem;
                color: var(--yellow);
                transition: all ease 0.5s;
                opacity: 0;
                line-height: 1;
            }
            &:hover,
            &:focus {
                & img {
                    filter: grayscale(100%);
                }
                & span.magnifying-glass {
                    opacity: 1;
                }
            }
        }
    }
}

.accordion-section .container {
    max-width: 1100px;
}
.accordion-section .accordion-item {
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
    border-bottom: 1px solid #FFF;
    & details summary::-webkit-details-marker {
      display:none;
    }
    & summary.accordion-title {
        position: relative;
        display: block;
        cursor: pointer;
    }
    & summary.accordion-title h3 {
        font-size: clamp(1.25rem, .3704vw + 1.1759rem, 1.5rem);
        margin-bottom: 0;
        padding-right: 45px;
    }
    & summary.accordion-title:after {
        content: '\f107';
        font-family: 'Font Awesome 6 Pro';
        position: absolute;
        right: 0;
        top: 0;
        line-height: 1;
        font-size: 1.25rem;
        background-color: var(--accent-color);
        color: #FFF;
        aspect-ratio: 1;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    & details[open] summary.accordion-title:after {
        content: '\f106';
    }
    & details.accordion .accordion-content {
        padding: 2em 0 0.5em 0;
        @media screen and (min-width: 900px) {
            padding-right: 55px;
        }
    }
}

.slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
    transition: all ease 0.3s;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: #FFF;
    border: 0;
    outline: none;
    transition: all ease 0.3s;
    background: #FFF;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:focus-visible:before {
    outline: 3px dashed var(--yellow);
}
.slick-dots li button:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '';
    text-align: center;
    color: #FFF;
    border-radius: 50%;
    border:1px solid #FFF;
    background: #FFF;
    transition: all ease 0.3s;
}
.slick-dots li.slick-active {
    width: 70px;
}
.slick-dots li.slick-active button:before {
    width: 70px;
    border-radius: 50px;
}