﻿.home-opening {
    height: 85vh;
    min-height: 85vh;
    max-height: 85vh;
    position: relative;
}

    .home-opening .opening-text {
        position: absolute;
        width: 25%;
        top: 40%;
        left: 10%;
        color: var(--color-white);
    }

        .home-opening .opening-text p {
            letter-spacing: .5em;
            display: inline-block;
            border: 4px double rgba(255,255,255,.25);
            border-width: 4px 0;
            padding: 1.5em 0em;
            width: 100%;
        }

            .home-opening .opening-text p span {
                font: 700 24px "Oswald", sans-serif;
                letter-spacing: 0;
                padding: .25em 0 .325em;
                display: block;
                margin: 0 auto;
                text-shadow: 0 0 80px rgba(255,255,255,.5);
                background: var(--color-bright-white) repeat-y;
                -webkit-background-clip: text;
                background-clip: text;
                -webkit-text-fill-color: transparent;
                -webkit-animation: aitf 80s linear infinite;
                -webkit-transform: translate3d(0,0,0);
                -webkit-backface-visibility: hidden;
            }

/* Animate Background Image */

@-webkit-keyframes aitf {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.reference-projects {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    margin-top: 36px;
    justify-content: center;
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
    justify-content: center;
}

    .section-title h2 {
        font-size: 36px;
        border-bottom: 4px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(90deg, var(--color-rgba-white) 0%, var(--color-rgba-blue) 50%, var(--color-rgba-white) 100%);
    }

    .section-title p {
        width: 100%;
        text-align: center;
        font-weight: 600;
        margin-top: 18px;
    }

.reference-projects .reference-content {
    display: flex;
    flex-wrap: wrap;
    width: 75%;
    margin-top: 48px;
    gap: 30px;
}

    .reference-projects .reference-content .card {
        display: flex;
        flex-wrap: wrap;
        flex: 0 0 auto;
        width: calc(33.33333% - 20px);
        /*height: 400px;*/
        border: 0px solid;
        border-radius: 6px;
        background: var(--color-bright-white);
    }


        .reference-projects .reference-content .card .card-img {
            display: flex;
            width: 100%;
            height: 300px;
        }

            .reference-projects .reference-content .card .card-img img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .reference-projects .reference-content .card .card-content {
            width: 100%;
            padding: 24px 14px;
            border-radius: 6px;
        }

        .reference-projects .reference-content .card h4 {
            text-align: center;
        }

        .reference-projects .reference-content .card:hover {
            -webkit-box-shadow: 0px 10px 15px -3px rgba(14,59,140,0.5);
            -moz-box-shadow: 0px 10px 15px -3px rgba(14,59,140,0.5);
            box-shadow: 0px 10px 15px -3px rgba(14,59,140,0.5);
            transition: all .5s;
        }

.contact {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    margin-top: 150px;
    padding: 36px 8%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

    .contact::before {
        content: ' ';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-image: url(../images/ast-transport.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
        z-index: 1;
    }

.contact-content {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 30%;
    flex-direction: column;
    z-index: 5;
    color: var(--color-bright-white);
}

    .contact-content .icon::before {
        background-color: var(--color-bright-white);
    }

    .contact-content h4 {
        font-size: 36px;
        margin-bottom: 48px;
    }

    .contact-content ul {
        list-style: none;
    }

        .contact-content ul li {
            display: inline-flex;
            text-decoration: none;
            margin-top: 24px;
            align-items: center;
            line-height: 1.8;
        }

            .contact-content ul li:first-of-type {
                margin-top: 0;
            }

            .contact-content ul li span {
                margin-right: 24px;
            }

.contact-form {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 40%;
    z-index: 2;
    background: var(--color-bright-white);
    padding: 24px;
    height: auto;
    position: absolute;
    z-index: 9;
    right: 10%;
    align-content: space-evenly;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 10px 5px rgba(14,59,140,0.3);
    -moz-box-shadow: 0px 0px 10px 5px rgba(14,59,140,0.3);
    box-shadow: 0px 0px 10px 5px rgba(14,59,140,0.3);
}

    .contact-form .contact-inp {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
        margin-top: 24px;
    }

        .contact-form .contact-inp input {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 auto;
            width: 100%;
            height: 36px;
            padding: 0 14px;
        }

        .contact-form .contact-inp textarea {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 auto;
            width: 100%;
            height: 236px;
            padding: 14px 14px;
        }

        .contact-form .contact-inp input, .contact-form .contact-inp textarea {
            font-size: 16px;
            color: var(--color-blue);
            border: 0;
            border-bottom: 2px solid;
            border-image-slice: 1;
            border-image-source: linear-gradient(90deg, var(--color-rgba-blue) 50%, var(--color-rgba-white) 100%);
            transition: all 1s;
        }

            .contact-form .contact-inp input:focus, .contact-form .contact-inp textarea:focus {
                border-image-source: linear-gradient(90deg, var(--color-rgba-white) 0%, var(--color-rgba-blue) 50%, var(--color-rgba-white) 100%);
                transition: all 1s;
            }

    .contact-form .btn {
        display: flex;
        flex-wrap: wrap;
        height: 48px;
        width: 33%;
        align-content: center;
        justify-content: center;
        margin-top: 24px;
    }

.memberships {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    justify-content: center;
    margin-top: 50px;
    gap: 32px;
}

    .memberships .membership-logo {
        display: flex;
        flex-wrap: wrap;
        flex: 0 0 auto;
        width: 175px;
        max-height: 100px;
        background: rgb(14,59,140, .25);
        background: -moz-linear-gradient(0deg, rgba(14,59,140,.25));
        background: -webkit-linear-gradient(0deg, rgba(14,59,140,.25));
        background: linear-gradient(0deg, rgba(14,59,140,.25));
        align-items: center;
        margin-top: 24px;
        backdrop-filter: blur(4px);
    }

        .memberships .membership-logo a {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            padding: 0 24px;
            justify-content: center;
        }

            .memberships .membership-logo a img {
                width: 100px;
                height: auto;
                max-height: 100px;
                object-fit: contain;
            }

                .memberships .membership-logo a img.full {
                    width: 100%;
                    height: auto;
                }

/*#region MOBILE STYLES*/
@media (max-width: 767px) {
    .home-opening .opening-text {
        width: 75%;
        bottom: 5%;
        top: unset;
    }

    .reference-projects .section-title p {
        width: 95%;
    }

    .reference-projects .reference-content {
        width: 90%;
    }

    .reference-projects .reference-content {
        flex-wrap: wrap;
    }

        .reference-projects .reference-content .card {
            width: 100%;
            margin-bottom: 14px;
        }

            .reference-projects .reference-content .card:last-of-type {
                margin-bottom: none;
            }

    .contact-content {
        width: 90%;
    }

    .memberships .membership-logo {
        width: 80%;
        min-height: 120px;
    }
}
/*#endregion MOBILE STYLES*/
