/*====================================================
SIDE MENU OVERLAY
====================================================*/

.side-menu-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.72);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 1998;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

}



/*====================================================
SIDE MENU
====================================================*/

.side-menu {

    position: fixed;

    top: 0;

    right: 0;

    width: 520px;

    max-width: 100%;

    height: 100vh;

    background: #07090a;

    color: #ffffff;

    z-index: 1999;

    overflow-y: auto;

    transform: translateX(100%);

    visibility: hidden;

    transition:
        transform 0.45s ease,
        visibility 0.45s ease;

    padding: 40px 42px 45px;

    box-sizing: border-box;

}



/*====================================================
OPEN MENU
====================================================*/

.side-menu.active {

    transform: translateX(0);

    visibility: visible;

}


.side-menu-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}



/*====================================================
PREVENT BODY SCROLL
====================================================*/

body.menu-open {

    overflow: hidden;

}



/*====================================================
MENU HEADER
====================================================*/

.side-menu-header {

    width: 100%;

    min-height: 115px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

}



/*====================================================
MENU LOGO
====================================================*/

.side-menu-logo {

    display: flex;

    align-items: flex-start;

    width: 160px;

}


.side-menu-logo img {

    width: 150px;

    height: auto;

    display: block;

}



/*====================================================
CLOSE BUTTON
====================================================*/

.side-menu-close {

    width: 48px;

    height: 48px;

    border: none;

    background: transparent;

    position: relative;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



/*====================================================
CLOSE LINES
====================================================*/

.side-menu-close span {

    position: absolute;

    width: 31px;

    height: 2px;

    background: #ffffff;

    display: block;

}


.side-menu-close span:first-child {

    transform: rotate(45deg);

}


.side-menu-close span:last-child {

    transform: rotate(-45deg);

}



/*====================================================
DIVIDER
====================================================*/

.side-menu-divider {

    width: 100%;

    height: 1px;

    background: rgba(255, 255, 255, 0.10);

    margin-bottom: 40px;

}



/*====================================================
MOBILE NAVIGATION
====================================================*/

/*
   Hidden on desktop.
   It will be enabled on mobile.
*/

.side-menu-navigation {

    display: none;

}



/*====================================================
ABOUT US
====================================================*/

.side-menu-about {

    width: 100%;

}


.side-menu-about h2 {

    margin: 0 0 25px;

    color: #ffffff;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;

}


.side-menu-about p {

    margin: 0;

    max-width: 100%;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.7;

    font-weight: 400;

}



/*====================================================
BUTTONS
====================================================*/

.side-menu-buttons {

    width: 100%;

    margin-top: 70px;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.side-menu-button {

    width: 100%;

    height: 50px;

    background: #4939e6;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease;

}


.side-menu-button:hover {

    background: #ffffff;

    color: #4939e6;

}



/*====================================================
DESKTOP
====================================================*/

@media (min-width: 769px) {

    .side-menu {

        width: 33.333vw;

        min-width: 480px;

        padding: 40px 42px 45px;

    }


    /*
    Only Contact Us button on desktop
    */

    .side-menu .get-touch-button {

        display: none;

    }


    .side-menu-buttons {

        margin-top: 70px;

    }

}



/*====================================================
TABLET
====================================================*/

@media (max-width: 1100px) and (min-width: 769px) {

    .side-menu {

        width: 42vw;

        min-width: 420px;

        padding: 35px 35px 40px;

    }


    .side-menu-about h2 {

        font-size: 34px;

    }


    .side-menu-about p {

        font-size: 16px;

    }

}



/*====================================================
MOBILE
====================================================*/

@media (max-width: 768px) {

    .side-menu {

        width: 100%;

        max-width: 100%;

        padding: 28px 25px 35px;

    }


    /*--------------------------------------------
    HEADER
    --------------------------------------------*/

    .side-menu-header {

        min-height: 72px;

        align-items: flex-start;

    }


    .side-menu-logo {

        width: 105px;

    }


    .side-menu-logo img {

        width: 100px;

    }


    .side-menu-close {

        width: 40px;

        height: 40px;

    }


    .side-menu-close span {

        width: 26px;

        height: 2px;

    }



    /*--------------------------------------------
    DIVIDER
    --------------------------------------------*/

    .side-menu-divider {

        margin-bottom: 25px;

    }



    /*--------------------------------------------
    MOBILE NAVIGATION
    --------------------------------------------*/

    .side-menu-navigation {

        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 0;

        margin-bottom: 32px;

    }


    .side-menu-link {

        position: relative;

        width: 100%;

        min-height: 42px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        color: #ffffff;

        text-decoration: none;

        font-size: 14px;

        line-height: 1.3;

        font-weight: 500;

        transition: color 0.25s ease;

    }


    .side-menu-link:hover {

        color: #4939e6;

    }


    .side-menu-link.active {

        color: #4939e6;

    }



    /*--------------------------------------------
    SERVICES ARROW
    --------------------------------------------*/

    .side-menu-services {

        justify-content: space-between;

    }


    .services-arrow {

        width: 22px;

        height: 22px;

        border: 1px solid rgba(255, 255, 255, 0.15);

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 18px;

        line-height: 1;

    }



    /*--------------------------------------------
    ABOUT
    --------------------------------------------*/

    .side-menu-about {

        width: 100%;

    }


    .side-menu-about h2 {

        margin-bottom: 15px;

        font-size: 19px;

        line-height: 1.3;

        font-weight: 700;

    }


    .side-menu-about p {

        font-size: 12px;

        line-height: 1.65;

        color: #ffffff;

    }



    /*--------------------------------------------
    BUTTONS
    --------------------------------------------*/

    .side-menu-buttons {

        margin-top: 40px;

        gap: 10px;

    }


    .side-menu-button {

        height: 45px;

        font-size: 12px;

    }


    /*
    Both buttons visible on mobile
    */

    .side-menu .get-touch-button {

        display: flex;

    }

}



/*====================================================
SMALL MOBILE
====================================================*/

@media (max-width: 480px) {

    .side-menu {

        padding: 25px 20px 30px;

    }


    .side-menu-header {

        min-height: 65px;

    }


    .side-menu-logo {

        width: 95px;

    }


    .side-menu-logo img {

        width: 90px;

    }


    .side-menu-divider {

        margin-bottom: 20px;

    }


    .side-menu-navigation {

        margin-bottom: 27px;

    }


    .side-menu-link {

        min-height: 38px;

        font-size: 13px;

    }


    .side-menu-about h2 {

        font-size: 18px;

        margin-bottom: 13px;

    }


    .side-menu-about p {

        font-size: 11.5px;

        line-height: 1.6;

    }


    .side-menu-buttons {

        margin-top: 32px;

    }


    .side-menu-button {

        height: 42px;

        font-size: 11.5px;

    }

}



/*====================================================
VERY SMALL MOBILE
====================================================*/

@media (max-width: 360px) {

    .side-menu {

        padding: 22px 16px 28px;

    }


    .side-menu-link {

        min-height: 36px;

        font-size: 12px;

    }


    .side-menu-about h2 {

        font-size: 17px;

    }


    .side-menu-about p {

        font-size: 11px;

    }


    .side-menu-buttons {

        margin-top: 28px;

    }

}