{% import '@marketplace/Neambo/Act3/css/variables.css' %}
body {
 margin: 0
}

body.nav-open {
    @media(max-width: 1200px) {
        overflow: hidden;
    }
}

.site-header {
    position: relative;
    padding: 0 40px;
    
    * {
      box-sizing: border-box;
    }
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 1;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.20);
    transition: height 0.3s ease-in-out;
}

.site-header.no-transition::before {
    transition: none;
}

.site-header.dropdown-open::before {
    @media(min-width: 1201px) {
        height: calc(var(--header-height, 113px) + var(--dropdown-height, 600px));
    }
}

.site-header .header-container {
    max-width: 1750px;
    justify-content: space-between;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 20px 0;
    position: relative;

    p, div, h2, h3, a, li {
        font-family: "Montserrat", sans-serif;;
    }
}

.site-header .header-logo {
    position: relative;
    z-index: 101;
}

.site-header .navigation-menu {
    display: flex;
    width: 100%;
    justify-content: center;

    @media(max-width: 1200px) {
        position: fixed;
        right: -100%;
        top: var(--header-height, 0);
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.90) 100%);
        backdrop-filter: blur(20px);
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    @media(max-width: 600px) {
        width: 100%;
        max-width: 100%;
        top: 0;
        background-color: white;
    }
}

.site-header .navigation-menu.mobile-open {
    @media(max-width: 1200px) {
        right: 0;
    }
}

.site-header .header-container nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.site-header .nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 10%;
    width: 100%;
    position: relative;
    z-index: 100;

    @media(max-width: 1200px) {
        flex-direction: column;
        gap: 30px;
        justify-content: flex-start;
        padding: 40px;
    }

    @media(max-width: 600px) {
        padding: 100px 40px 40px;
    }
}

.site-header .nav-list li a {
    text-decoration: none;
    color: #3A3A3A;
    font-weight: 700;
    font-size: 18px;
    line-height: normal;
    transition: color 0.3s ease;
    position: relative;
    z-index: 101;

    @media(max-width: 1200px) {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    svg {
        display: none;
        margin-left: 8px;
        width: 7px;
        height: 12px;

        @media(max-width: 1200px) {
            display: inline-block;
        }
    }
}

.site-header .nav-list li a.active {
    color: #CC132C;
}

.site-header .nav-list li.mobile-button-link {
    display: none;

    @media(max-width: 730px) {
        display: block;
    }

    a {
        background: linear-gradient(111.02deg, #CC132C 0%, #F28C28 100%);
        border-radius: 999px;
        padding: 15px 0;
        color: white;
        font-weight: 600;
        font-size: 18px;
        display: block;
        text-align: center;
        transition: .2s ease-in-out;

        @media(min-width: 1200px) {
            &:hover {
                transform: scale(1.05);
            }
        }

        &.blue-link {
            background: linear-gradient(90deg, #00467F 0%, #0075C4 100%);
        }

        svg {
            display: none;
        }
    }
}

.site-header .header-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1000;

    @media(max-width: 730px) {
        gap: 15px;

        a {
            display: none;
        }
    }
}

.site-header .header-buttons a.blue-gradient {
    background: linear-gradient(90deg, #00467F 0%, #0075C4 100%);
}

.site-header .header-buttons a {
    background: linear-gradient(111.02deg, #CC132C 0%, #F28C28 100%);
    border-radius: 999px;
    padding: 15px 30px;
    line-height: normal;
    color: white;
    transition: .2s ease-in-out;
    font-weight: 600;
    font-size: 18px;
    width: fit-content;
    white-space: nowrap;
    text-decoration: none;
}

.site-header .header-buttons a:hover {
    @media(min-width: 1200px) {
        transform: scale(1.07);
    }
}

.site-header .hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.site-header .hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: #3A3A3A;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.site-header .hamburger-menu:hover span {
    @media(min-width: 1200px) {
        background: #CC132C;
    }
}

.site-header .hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.site-header .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.site-header .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media(max-width: 1200px) {
    .site-header .hamburger-menu {
        display: flex;
    }
}

.site-header .navigation-menu .back-button {
    display: none;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 400;
    color: #3A3A3A;
    font-family: 'Montserrat', sans-serif;

    svg {
        width: 7px;
        height: 12px;
    }

    @media(max-width: 1200px) {
        display: flex;
        border-bottom: 1px solid rgba(58, 58, 58, 0.1);
    }

    @media(max-width: 600px) {
        padding: 50px 40px 20px;
    }
}

.site-header .navigation-menu .dropdown-services, .site-header .navigation-menu .dropdown-company {
    position: absolute;
    width: 100vw;
    top: calc(var(--header-height, 113px) - 50px);
    left: -160px;
    display: flex;
    justify-content: center;
    opacity: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    flex-direction: column;
    z-index: 50;
    height: 100vw;

    &.no-transition {
        transition: none;
    }

    @media(max-width: 1200px) {
        position: fixed;
        right: -100%;
        top: 0;
        left: auto;
        height: calc(100vh - var(--header-height, 113px));
        max-width: 400px;
        box-shadow: -4px 0 24px -1px rgba(0, 0, 0, 0.20);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        opacity: 1;
        max-height: 100% !important;
        overflow-y: auto;
        justify-content: flex-start;

        &::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.9) 100%);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            z-index: -1;
            width: 100%;
            height: calc(100% + var(--header-height, 113px));
            box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.20);
            top: calc(-1 * var(--header-height, 113px));
            background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.90) 100%);
        }
    }

    @media(max-width: 600px) {
        width: 100%;
        max-width: 100%;
        height: 100vh;

        &::before {
            background: white;
        }
    }
}

.site-header .navigation-menu .dropdown-services.open, .site-header .navigation-menu .dropdown-company.open {
    @media(max-width: 1200px) {
        right: 0;
        width: 400px;
        max-height: none;
    }

    @media(max-width: 600px) {
        width: 100%;
    }
}



.site-header .navigation-menu .dropdown-services-container, .site-header .navigation-menu .dropdown-company-container {
    max-width: 1830px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 80px 40px 80px;
    gap: 40px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    @media(max-width: 1200px) {
        flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        padding: 40px;
        overflow-y: auto;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .left-side {
        max-width: 384px;

        @media(max-width: 1430px) {
            display: none;
        }

        h2 {
            font-weight: 700;
            font-size: clamp(28px, 4vw, 32px);
            line-height: normal;
            margin-bottom: 20px;
            color: #3A3A3A;
            margin-bottom: 16px;
            margin-top: 0;
        }

        p {
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            color: #3A3A3A;
            margin-bottom: 16px;
        }

        .link-arrow {
            font-size: 18px;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
            color: #CC132C;
            display: flex;
            align-items: center;
            gap: 14px;

            svg {
                margin-top: 3px;
                height: 14px;
                width: 9px;
                display: block;
            }
        }

        .link-arrow-margin-bottom {
            margin-bottom: 44px;
        }

        .icon-text {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 18px;

            .checkmark {
                display: flex;
                align-items: center;
                gap: 14px;

                p {
                font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    color: #3A3A3A;
                    margin: 0;
                }
            }
        }

    }

    .middle {
        .mobile-dropdown-title {
            display: none;
            font-size: 22px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            margin: 0 0 25px 0;
            color: #3A3A3A;

            @media(max-width: 1200px) {
                display: block;
            }
        }

        .icons-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 50px;
            max-width: 800px;

            @media(max-width: 1630px) {
                gap: 25px;
            }

            @media(max-width: 1200px) {
                grid-template-columns: 1fr;
            }

            svg, img {
                display: block;
                width: 100%;
                height: 100%;
                @media(max-width: 1200px) {
                    display: none;
                }
            }
        }

        .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            justify-content: center;

            @media(max-width: 1200px) {
                flex-direction: row;
                gap: 20px;
                justify-content: flex-start;
            }

            p {
                margin: 0;
                text-align: center;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;

                @media(max-width: 1200px) {
                    font-size: 18px;
                    text-align: left;
                }
            }

            svg, img {
                max-width: 78px;
                aspect-ratio: 1/1;
            }
        }
    }

    .middle-company {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 820px;
        gap: 87px;

        @media(max-width: 1200px) {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .mobile-dropdown-title {
            display: none;
            font-size: 22px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            margin: 0;
            color: #3A3A3A;

            @media(max-width: 1200px) {
                display: block;
            }
        }

        img {
            max-width: 215px;
            aspect-ratio: 215/128;

            @media(max-width: 1200px) {
                display: none;
            }
        }

        p {
            margin: 0;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            color: #3A3A3A;

            @media(max-width: 1200px) {
                display: none;
            }
        }

        h3 {
            font-size: 22px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            color: #3A3A3A;
            margin: 16px 0;

            @media(max-width: 1200px) {
                font-size: 18px;
                font-weight: 400;
                margin: 0;
            }
        }
    }

    .right-side {
        .mobile-dropdown-title {
            display: none;
            font-size: 22px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            margin: 0 0 24px 0;
            color: #3A3A3A;

            @media(max-width: 1200px) {
                display: block;
            }
        }

        .header-title {
            font-size: 22px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            margin: 0;
            color: #3a3a3a;
        }

        .company, .solutions {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .line-indent {
            font-size: 18px;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;

            @media(max-width: 1200px) {
                font-weight: 400;
            }
        }

        .line-indent:before {
            content: '';
            display: flex;
            align-items: center;
            width: 16px;
            height: 2px;
            background-color: #0075C4;
            border-radius: 20px;

            @media(max-width: 1200px) {
                display: none;
            }
        }
    }
    
}