html {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', serif;
    overflow-x: hidden;
}

.navbar {
    padding: 0px;
    z-index: 2 !important;
    .container-fluid {
        flex-wrap: nowrap;
    }

    #mainlogo {
        z-index: 1;
        padding: 0px;

        img {
            width: 50%;
            min-width: 330px;
            padding: 50px;
            background-color: transparent;
            margin-left: -20px;

            &.dark-logo {
                background-color: #1d2327;
            }
        }

    }

    .mainlogo {

        img {
            width: 50%;
            padding: 50px;
            margin-left: -20px;
        }
    }

}

.mainmenu {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
    z-index: 1;

    &.show, &.collapsing {
        position: absolute;
        background-color: #161b1e;
        box-shadow: #54a5c040 0px 7px 13px;
        top: 143px;
        width: 100%;
        left: 0;

        .navbar-nav {
            display: block;
        }
    }

    .nav-link {
        color: white;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: 2.5px;
        padding: 20px !important;
        border-bottom: 2px solid #54a5c000;
        min-width: 138px;
    }

    a:hover {
        color: #83bccf;
    }

    .active {
        color: #54A5C0 !important;
        border-bottom: 2px solid #54a5c0;
    }
}

.otherNav {

    .container-fluid {
        background-color: rgba(255, 0, 0, 0) !important;
        z-index: 1 !important;
    }
}

.bg-body-tertiary {
    background-color: rgba(0, 0, 0, 0) !important;
    height: 150px;
    z-index: 1;
}

.hero {
    background-image: url('../img/bg_hero.png');
    background-size: cover;
    position: relative;
    margin-top: -150px;

    .hero-inner {
        width: 100%;
        display: flex;
        justify-content: space-between;

        .socialmedia {
            text-transform: uppercase;
            color: white;
            font-weight: 200;
        }

        .hero-text {
            display: flex;
            flex-wrap: wrap;
            justify-content: end;
            align-items: center;
            align-content: center;
            align-self: center;
            /*padding: 150px;*/
            text-align: right;
            color: white;
            margin-right: 10%;
            /*z-index: 1;*/
            position: relative;

            h1 {
                color: #54A5C0;
                font-size: 65px;
                display: block;
                width: 100%;

                span {
                    font-family: "GRACETIANS DEMO Cutting", serif;
                    color: white;
                }
            }

            p {
                display: block;
                font-size: 20px;
                font-weight: 200;
                max-width: 700px;
            }
        }
    }
}

.vertical-column {
    left: 0;
    top: 0;
    height: 100vh;
    width: 100px;
    background-color: #1d2327;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.vertical-text {
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 200;
    color: #999999;
    margin-top: 50px;
    margin-bottom: 60px; /* Space for dotted line */
}

.dotted-line {
    flex-grow: 0.5;
    width: 2px;
    border-left: 2px dotted #999999;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1;

    svg {
        width: 15px;
        height: 15px;
    }

    a {
        color: #999999;
        font-size: 30px;
        text-decoration: none;
        transition: color 0.3s ease;
        z-index: 1;

        &:hover {
            color: #54A5C0; /* Bootstrap primary color */
        }
    }
}

.aboutus {
    background-image: url('./../img/bg_1.png');
    background-size: cover;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
    align-items: center;
    padding: 150px;
    color: white;
    /*z-index: 1;*/

    .heading {
        font-family: "GRACETIANS DEMO Cutting", serif;
        color: white;
    }

    hr {
        width: 25%;
        color: white;
        margin-top: 25px;
        padding-bottom: 25px;
    }

    p {
        padding-bottom: 50px;
    }

    a {
        text-transform: uppercase;
        text-decoration: none;
        color: white;
        background-color: #54A5C0;
        padding: 25px 50px;
        border-radius: 5px;
        transition: all 0.3s;

        &:hover {
            background-color: #3a7f96;

            span {
                letter-spacing: 3px;
            }
        }
    }

    span {
        margin-left: 5px;
        transition: all 0.2s ease;
    }

    img {
        max-width: 500px;
        width: 100%;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    .par {
        padding-right: 10px;
    }
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: unset;
    background-image: url('./../img/bg_2.png');
    background-size: cover;
    position: relative;
    padding: 125px;
    padding-bottom: 195px;
    color: white;
    z-index: 0;

    .service-item {
        align-items: unset;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        background-color: #3B3B3B;
        color: white;
        transition: all 0.3s ease;
        width: 100%;
        padding: 50px;

        img {
            padding: 40px;
            transition: all 0.3s ease;
        }

        .col-md-4 {
            display: flex;
            justify-content: center;
            align-items: center;
            align-content: center;
        }

        .card-title {
            text-transform: uppercase;
            font-weight: 300;
            letter-spacing: 2.5px;
            font-size: 25px;

            span {
                font-weight: 300;
                color: #54A5C0;
            }
        }

        p {
            font-weight: 200;
        }

        &:hover {
            background-color: rgba(0, 0, 0, 0.411);
            scale: 1.05;
        }
    }

    a {
        text-transform: uppercase;
        text-decoration: none;
        color: white;
        background-color: #54A5C0;
        padding: 25px 50px;
        border-radius: 5px;
        transition: all 0.3s;

        &:hover {
            background-color: #3a7f96;

            span {
                letter-spacing: 3px;
            }
        }
    }

    span {
        transition: all 0.2s ease;
    }

}

.whatwedo {
    background-image: url('./../img/bg_1.png');
    background-size: cover;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: right;
    align-items: center;
    color: white;
    padding: 150px;

    .heading {
        font-family: "GRACETIANS DEMO Cutting", serif;
        color: white;
    }

    hr {
        width: 25%;
        color: white;
        margin-top: 25px;
        padding-bottom: 25px;
        margin-left: auto;
    }

    p {
        padding-bottom: 50px;
    }

    a {
        text-transform: uppercase;
        text-decoration: none;
        color: white;
        background-color: #54A5C0;
        padding: 25px 50px;
        border-radius: 5px;
        transition: all 0.3s;

        &:hover {
            background-color: #3a7f96;

            span {
                letter-spacing: 3px;
            }
        }
    }

    span {
        transition: all 0.2s ease;
    }

    img {
        max-width: 500px;
        width: 100%;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }
}

.animation {
    position: relative;
    margin-top: -230px;
    z-index: 1;

    a {
        text-transform: uppercase;
        text-decoration: none;
        color: white;
        background-color: #54A5C0;
        padding: 25px 50px;
        border-radius: 5px;
        transition: all 0.3s;
        z-index: 2 !important;

        &:hover {
            background-color: #3a7f96;

            span {
                letter-spacing: 3px;
            }
        }
    }

    span {
        transition: all 0.2s ease;
    }

    .mouse_scroll {
        display: block;
        margin: 0 auto;
        width: 24px;
        height: 100px;
        margin-top: 125px;

        .m_scroll_arrows {
            display: block;
            -ms-transform: rotate(45deg); /* IE 9 */
            -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
            transform: rotate(45deg);

            border-right: 2px solid white;
            border-bottom: 2px solid white;
            margin: 0 0 3px 4px;

            width: 16px;
            height: 16px;
        }

        .unu, .doi, .trei {
            -webkit-animation: mouse-scroll 1s infinite;
            -moz-animation: mouse-scroll 1s infinite;
            animation: mouse-scroll 1s infinite;

        }

        .unu {
            margin-top: 1px;
            -webkit-animation-delay: .1s;
            -moz-animation-delay: .1s;
            -webkit-animation-direction: alternate;

            animation-direction: alternate;
            animation-delay: alternate;
        }

        .doi {
            -webkit-animation-delay: .2s;
            -moz-animation-delay: .2s;
            -webkit-animation-direction: alternate;

            animation-delay: .2s;
            animation-direction: alternate;

            margin-top: -6px;
        }

        .trei {
            -webkit-animation-delay: .3s;
            -moz-animation-delay: .3s;
            -webkit-animation-direction: alternate;

            animation-delay: .3s;
            animation-direction: alternate;


            margin-top: -6px;
        }
    }

    .mouse {
        height: 42px;
        width: 24px;
        border-radius: 14px;
        transform: none;
        border: 2px solid white;
        top: 170px;
    }

    .wheel {
        display: block;
        margin: 5px auto;
        background: white;
        position: relative;
        height: 4px;
        width: 4px;
        border: 2px solid #fff;
        -webkit-border-radius: 8px;
        border-radius: 8px;
    }

    .wheel {
        -webkit-animation: mouse-wheel 0.6s linear infinite;
        -moz-animation: mouse-wheel 0.6s linear infinite;
        animation: mouse-wheel 0.6s linear infinite;
    }
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-image: url('./../img/footer_bg.png');
    background-size: cover;
    position: relative;
    color: white;
    box-shadow: 0px -10px 100px 0px #54A5C0;

    .footer-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 50px;

        .footer-item {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;

            h3 {
                font-family: "GRACETIANS DEMO Cutting", serif;
                color: white;
                width: 100%;
                display: block;
                /*padding-left: 75px;*/

                a {
                    color: white;
                    text-decoration: none;
                }

                span {
                    color: #54A5C0;
                }
            }

            p {
                font-family: "Poppins", serif;
                color: white;
                width: 100%;
                display: block;
                /*padding-left: 75px;*/

                a {
                    color: white;
                    text-decoration: none;

                    span {
                        transition: all 0.3s ease;
                    }

                    &:hover {

                        span {
                            padding-left: 15px;
                            color: white;
                        }
                    }
                }

                span {
                    color: #54A5C0;
                }

                img {
                    padding: 10px;
                }
            }
        }
    }
}

.carousel {
    height: 75vh;
    margin-top: -150px;

    img {
        height: 75vh;
    }

    .carousel-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
    }

}

.col-md-12 {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-image: url('./../img/bg_2.png');
    background-size: cover;
    position: relative;
    padding: 125px;
    color: white;
    z-index: 0;

    .heading {
        font-size: 30px;
        font-family: "GRACETIANS DEMO Cutting", serif;
        padding-top: 45px;

        span {
            color: #54A5C0;
        }
    }

    p {
        font-size: 20px;
        font-weight: 200;
    }
}

.team {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-image: url('./../img/bg_2.png');
    background-size: cover;
    position: relative;
    padding: 125px;
    color: white;
    z-index: 0;

    a {
        color: white;
        text-decoration: none;
    }


    .teamItem:hover {

        img {
            filter: grayscale(0%);
            scale: 1.1;
        }
    }

    img {
        filter: grayscale(100%);
        width: 60%;
        transition: all 0.3s ease;
    }

    .heading {
        font-size: 30px;
        font-family: "GRACETIANS DEMO Cutting", serif;
        padding-top: 45px;

        span {
            color: #54A5C0;
        }
    }

    p {
        font-size: 20px;
        font-weight: 200;
    }
}

/* About us carousel */
#carouselExampleSlidesOnly {
    filter: grayscale(100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;

    img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .carousel-inner {
        height: 100%;

        .carousel-item {
            height: 100%;
        }
    }

}

.custom-carousel-container {
    position: relative;
    width: 350px;
    height: 500px;
    overflow: hidden;
    margin: 0 auto;
    mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
    );
    -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
    );
}

.custom-carousel {
    display: flex;
    flex-direction: column;
    animation: custom-scroll 23s linear infinite;

    &:after {
        content: '';
        display: block;
        height: 0;
    }

    .custom-carousel-img {
        border-radius: 5px;
        margin: 5px;
        width: 350px;
        height: 250px;
        object-fit: cover;
        flex-shrink: 0;
        animation: custom-blur 23s linear infinite;

        &:nth-child(n+6) {
            display: none; /* Hide duplicates initially, animation creates seamless loop */
        }
    }
}

.custom-h-carousel-container {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    margin: 0;
    margin-top: -150px;
    padding: 0;
}

.custom-h-carousel {
    display: flex;
    flex-direction: row;
    animation: custom-h-scroll 40s linear infinite;

    &:after {
        content: '';
        display: block;
        width: 0;
    }

    .custom-h-carousel-item {
        position: relative;
        width: 20vw;
        height: 65vh;
        flex-shrink: 0;

        &:nth-child(n+11) {
            display: none; /* Hide duplicates initially, animation creates seamless loop */
        }

        img {
            filter: grayscale(100%);
            transition: all 0.3s ease;
        }

        .custom-h-carousel-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .custom-h-carousel-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            font-size: 2vw;
            text-align: center;
            padding: 10px;
            box-sizing: border-box;
            transition: all 0.3s ease;

            &:hover {
                background: #54a5c04f;
            }
        }

    }
}

.gallery {
    margin-top: -150px;
    --n: 1; /* number of rows*/
    --m: 5; /* number of columns */
    --g: 0px; /* control the gap */
    --f: .8; /* control the scale factor */

    display: grid;
    gap: var(--g);
    width: 100vw;
    height: 75vh;
    grid-template-columns: repeat(var(--m), auto);

    img {
        width: 0;
        height: 0;
        min-height: 100%;
        min-width: 100%;
        object-fit: cover;
        cursor: pointer;
        filter: grayscale(100%) brightness(0.8) contrast(0.9) brightness(0.5);
        transition: 0.75s ease-in-out;

        &:hover {
            filter: grayscale(0);
            width: calc(100vh * var(--f) / var(--n));
            height: calc(100vw * var(--f) / var(--m));
        }
    }
}

.magnacon-gallery-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;

    .magnacon-column {
        flex: 1;
        overflow: hidden;

        .magnacon-images {
            display: flex;
            flex-direction: column;

            .magnacon-gallery-item {
                margin-bottom: 15px;
                margin-right: 15px;

                img {
                    padding: 5px;
                    width: 100%;
                    height: 200px;
                    object-fit: cover;
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    transition: all 0.3s ease;
                    border-radius: 8px;
                    cursor: pointer;
                }

                &:hover {
                    img {
                        transform: scale(1.05);
                    }
                }
            }

        }
    }

    /* Fade effect at top and bottom */

    &:before,
    &:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 50px;
        z-index: 1;
    }

    &:before {
        top: 0;
        background: linear-gradient(to bottom, #22292E, transparent);
        filter: blur(50%);
    }

    &:after {
        bottom: 0;
        background: linear-gradient(to top, #272F35, transparent);
        filter: blur(50%);
    }

    &:hover .magnacon-images {
        animation-play-state: paused;
    }

    .magnacon-column-1 .magnacon-images {
        animation: scroll-down 22s linear infinite;
    }

    .magnacon-column-2 .magnacon-images {
        animation: scroll-down 17s linear infinite;
    }

    .magnacon-column-3 .magnacon-images {
        animation: scroll-down 27s linear infinite;
    }
}

.btn-close {
    position: absolute;
    top: 30px;
    right: 30px;
}

.magnacon-lightbox-modal .modal-content {
    background-color: #000;
    overflow: hidden;

    .modal-body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80vh;
        padding: 0;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.masonry-gallery {
    column-count: 1;
    column-gap: 12px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 10px;

    .masonry-gallery-item {
        break-inside: avoid;
        margin-bottom: 12px;
        cursor: pointer;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
        transition: transform 0.2s;

        &:hover {
            transform: scale(1.02);
        }

        img {
            width: 100%;
            display: block;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
        }
    }
}

.servicePage {
    background-image: url('./../img/bg_1.png');
    background-size: cover;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 150px 150px 20px 150px;
    color: white;
    z-index: 1;

    .heading {
        font-family: "GRACETIANS DEMO Cutting", serif;
        color: white;

        span {
            color: #54A5C0;
        }
    }

    hr {
        width: 25%;
        color: white;
        margin-top: 25px;
        padding-bottom: 25px;
    }

    .intro {
        padding-bottom: 120px;
    }
}

.serviceOffering {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding: 100px 50px 0px 50px;
    text-align: center;
    color: white;

    .service-img-cont {
        position: relative;
        display: block;
        height: 100%;
        min-height: 400px;
        max-height: 600px;

        img {
            padding: 50px;
            margin-top: -15%;
            margin-left: -25%;
            /* height: 100%; */
            top: 0;
            left: 0;
            max-width: 140%;
            position: absolute;
            filter: drop-shadow(1px 1px 30px #12181c);
        }

    }

    .headingService {
        font-family: "GRACETIANS DEMO Cutting", serif;
        color: white;
        text-align: left;
        padding-left: 50px;
        font-size: 30px;

        span {
            color: #54A5C0;
        }
    }

    .col-4 {
        text-align: left;
    }

    .descriptionService {
        text-align: left;
        padding: 0px 50px;
    }
}

.servicePage1 {
    background-image: url('./../img/bg_hero.png');
    background-size: cover;
    position: relative;
    /*margin-top: -150px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 150px;
    color: white;
    z-index: 1;

    .headingService {
        padding-left: 0;
    }

    .descriptionService {
        padding-left: 0;
    }

    .service-img-cont {
        img {
            margin-top: -25%;
            margin-left: -20%;
            max-width: 145%;
        }
    }
}

.servicePage2 {
    background-image: url('./../img/11.png');
    background-size: cover;
    position: relative;
    /*margin-top: -150px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 150px;
    color: white;
    z-index: 1;
    .headingService {
        padding-left: 0;
    }
    .descriptionService {
        text-align: left;
        padding: 0px 50px 0px 0px;
    }

    .service-img-cont {
        img {
            margin-top: -25%;
            margin-left: -20%;
            max-width: 140%;
        }
    }
}

.servicePage3 {
    background-image: url('./../img/bg_1.png');
    background-size: cover;
    position: relative;
    /*margin-top: -150px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 150px;
    color: white;
    z-index: 1;

    .service-img-cont {
        img {
            margin-top: -20%;
            margin-left: -15%;
            max-width: 140%;
        }
    }
}

.contactPage {
    background-image: url('./../img/bg_1.png');
    background-size: cover;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 150px 150px;
    color: white;

    p {
        text-align: left !important;
    }

    .submit {
        background-color: #3a7f96;
        color: white;
        padding: 20px 50px;
        border: none;
        border-radius: 5px;
        transition: all 0.3s ease;
        margin-left: auto;
        margin-right: auto;
    }

    .submit:hover {
        background-color: #54A5C0;
        color: rgb(194, 194, 194);
    }

    input, textarea {
        margin: 10px;
        padding: 20px;
        background-color: #20272c;
        color: white;
        border: none;
        border-bottom: 1px solid #3a7f9600;
        border-radius: 0px;
        transition: all 0.3s ease;
    }

    input::placeholder, textarea::placeholder {
        color: rgb(95, 95, 95);
    }


    input:focus, textarea:focus {
        outline: none;
        border: none;
        box-shadow: none;
        border-bottom: 1px solid #3a7f96;
        background-color: #272F35;
        color: white;
        padding-left: 30px;
    }

    .contactHeading {
        font-family: "GRACETIANS DEMO Cutting", serif;
        color: white;
        text-align: center !important;
        font-size: 30px;
    }
}

.contactHero {
    background-image: url('./../img/bg_hero.png');
    background-size: cover;
    position: relative;
    margin-top: -150px;

    .socialmedia {
        text-transform: uppercase;
        color: white;
        font-weight: 200;
    }

    .hero-text {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        align-self: center;
        padding: 300px 30px 200px 30px;
        text-align: center;
        color: white;
        position: relative;

        h1 {
            color: #54A5C0;
            font-size: 65px;
            width: 800px;

            span {
                font-family: "GRACETIANS DEMO Cutting", serif;
                color: white;
            }
        }
    }
}

::-webkit-scrollbar {
    width: 12px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #888
}

::-webkit-scrollbar-thumb:hover {
    background: #555
}


@keyframes custom-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes custom-blur {
    0%, 20% {
        filter: blur(0px); /* Clear in the center */
    }
    30%, 70% {
        filter: blur(0px); /* Clear in the center */
    }
    80%, 100% {
        filter: blur(4px); /* Blur as images exit */
    }
}

@keyframes custom-h-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Animations */
@keyframes scroll-down {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@-webkit-keyframes mouse-wheel {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
    }
}

@-moz-keyframes mouse-wheel {
    0% {
        top: 1px;
    }
    25% {
        top: 2px;
    }
    50% {
        top: 3px;
    }
    75% {
        top: 2px;
    }
    100% {
        top: 1px;
    }
}

@-o-keyframes mouse-wheel {

    0% {
        top: 1px;
    }
    25% {
        top: 2px;
    }
    50% {
        top: 3px;
    }
    75% {
        top: 2px;
    }
    100% {
        top: 1px;
    }
}

@keyframes mouse-wheel {

    0% {
        top: 1px;
    }
    25% {
        top: 2px;
    }
    50% {
        top: 3px;
    }
    75% {
        top: 2px;
    }
    100% {
        top: 1px;
    }
}

@-webkit-keyframes mouse-scroll {

    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes mouse-scroll {

    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes mouse-scroll {

    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes mouse-scroll {

    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}


@media (max-width: 576px) {
    .vertical-column {
        width: 50px;
        padding: 10px 5px;
    }

    .vertical-text {
        font-size: 14px;
        margin-bottom: 100px;
    }

    .social-icons a {
        font-size: 20px;
    }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .magnacon-gallery-item img {
        height: 150px;
    }
}

@media (max-width: 575.98px) {
    .magnacon-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .magnacon-gallery-container {
        flex-direction: column;
    }
}

@media (min-width: 576px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (min-width: 900px) {
    .masonry-gallery {
        column-count: 3;
    }
}

@media (max-width: 1200px) {
    .navbar {
        #mainlogo {
            img {
                min-width: 230px;
                width: 40%;
            }
        }

        .container-fluid {
            background-color: #1d2327;
            position: relative;
        }

        .navbar-toggler {
            filter: invert(1);
            margin-right: 30px;
        }
    }

    .hero {
        .hero-inner {
            flex-wrap: wrap-reverse;

            .socialmedia {
                width: 100%;

                .vertical-column {
                    width: 100%;
                    height: unset;
                    flex-direction: row;
                    justify-content: center;
                    padding-bottom: 130px;

                    .vertical-text {
                        transform: unset;
                        flex-direction: row;
                        margin: 0;
                        padding: 30px 10px;
                    }

                    .dotted-line {
                        flex-grow: 0.5;
                        width: auto;
                        margin-left: 10px;
                        margin-right: 10px;
                        border-bottom: 2px dotted #999999;
                        height: 2px;
                    }

                    .social-icons {
                        flex-direction: row;

                        a {
                            padding: 15px;
                        }

                        svg {
                            height: 30px;
                            width: 30px;
                        }
                    }
                }
            }

            .hero-text {
                padding: 240px 40px 60px 40px;
                margin-right: 0px;
                text-align: center;
                justify-content: center;

                h1 {
                    margin-right: 0px;
                }

                p {
                    text-align: center;
                }
            }
        }
    }

    .serviceOffering {
        padding: 50px 50px 0px 50px;
    }
    .aboutus {
        padding: 40px;

        .custom-carousel-container {
            margin: 50px auto;
        }
    }

    .services {
        padding: 50px 20px;
        align-items: unset;
        overflow: hidden;

        .service-item {
            align-items: unset;

            .card {
                img {
                    max-width: 150px;
                    padding: 0 10px 0 0;
                }
            }
        }
    }

    .whatwedo {
        padding: 50px 20px 110px 20px;
    }

    .team {
        padding: 20px;

        .teamItem {
            padding: 50px 10px;
        }
    }

    .servicePage, .contactPage {
        padding: 60px 50px;
    }
    .servicePage1, .servicePage2, .servicePage3 {
        padding: 60px 100px;
    }
    .servicePage1 {
        .service-img-cont {
            img {
                margin-top: -15%;
                margin-left: -12%;
                max-width: 135%;
            }
        }
    }
    .servicePage3 {
        .service-img-cont {
            img {
                margin-top: -10%;
                margin-left: -20%;
                max-width: 130%;
            }
        }
    }
    .servicePage2 {
        .service-img-cont {
            img {
                margin-top: -10%;
                margin-left: -7%;
                max-width: 130%;
            }
        }
    }
}

@media (max-width: 992px) {

    #carouselExampleSlidesOnly {
        height: 50vh;
    }
    .gallery {
        height: 50vh;
    }

    .serviceOffering {
        padding: 50px 50px 0px 50px;
    }

    .aboutus {
        padding: 20px;

        .heading, p {
            text-align: center;
        }

        a {
            display: flex;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }
    }

    hr {
        margin-left: auto;
        margin-right: auto;
    }

    .services {
        padding: 50px 20px 110px 20px;

        .heading, p {
            text-align: left;
        }

        a {
            display: flex;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }

        .service-item {

            .card {
                padding: 15px;

                img {
                    padding: 0 10px 0 20px;
                }
            }
        }
    }

    .whatwedo {
        padding: 80px 20px;

        .heading, p {
            text-align: center;
        }

        a {
            display: flex;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }

        img {
            margin-bottom: 50px;
        }
    }

    footer {
        .footer-inner {
            padding: 30px 10px;
        }
    }

    .contactHero {
        .hero-text {
            padding: 200px 30px 50px 30px;
        }
    }

    .serviceOffering {
        padding: 0;
        .headingService, .descriptionService {
            padding-left: 0;
            padding-right: 0;
        }
        .service-img-cont {
            position: absolute;
            opacity: 0.1;
            z-index: -1;
            img {
                max-width: 50%;
                margin-top: 5%;
            }
        }
    }

    .servicePage1 {
        padding: 50px 50px 50px 50px;
        .service-img-cont {
            display: none;
        }
    }
    .servicePage3 {
        padding: 90px 50px 90px 50px;
        .service-img-cont {
            position: absolute;
        }
    }
    .servicePage2 {
        padding: 50px 50px 50px 50px;
        .service-img-cont {
            display: none;
        }
    }
}

@media (max-width: 768px) {
    .hero {
        .vertical-text {
            display: none;
        }
    }

    .contactHero, .hero {
        .hero-text {
            padding: 200px 40px 40px 40px !important;

            h1 {
                font-size: 2.2em !important;
                margin-bottom: 25px;
            }
        }
    }

    footer {
        .footer-inner {
            .footer-item {
                padding-bottom: 20px;

                h3, p {
                    text-align: center;
                }
            }
        }
    }

    .serviceOffering {
        .service-img-cont {
            img {
                max-width: 100%;
                margin-top: -1%;
                margin-left: -29%;
            }
        }
    }
    .servicePage3 {
        .service-img-cont {
            img {
                max-width: 100%;
                margin-top: -8%;
                margin-left: -29%;
            }
        }
    }
}
