:root {
    --first-font: "Baloo 2", sans-serif;
    --second-font: "Atma", system-ui;
    --light-color: #F6F6F5;
    --title-color: #FEF7EE;
}

body {
    font-family: var(--first-font);
    background: #FEF7EE;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
}

header {
    position: absolute;
    top: 50px;
    z-index: 99;
    left: 0;
    right: 0;

    .head-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;

        nav {

            a {
                font-weight: 400;
                font-size: 20px;
                color: #fff;
                transition: all .3s ease;
            }

            a.active,
            a:hover {
                color: #EE761C;
            }

            a {
                margin: 0 15px;
            }
        }

        .search {
            display: flex;
            align-items: center;

            .langs {
                font-family: var(--second-font);
                font-weight: 400;
                font-size: 20px;
                margin-left: 30px;
                color: #fff;

                a {
                    padding: 0 15px;
                    position: relative;
                }

                a:first-of-type {
                    color: #EE761C;
                }

                a:first-of-type::after {
                    content: '';
                    position: absolute;
                    right: 0;
                    height: 15px;
                    width: 2px;
                    top: 50%;
                    transform: translate(0, -50%);
                    background: #fff;
                }
            }
        }

        .logo {

            img {
                height: 50px;
            }
        }
    }

}

.header-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    z-index: 2;
}

.main-slider {

    .m-slide {
        min-height: 100vh;
        position: relative;

        video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #0000005c;
        }

        .content {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 200px;

            .title {
                font-weight: 700;
                font-size: 48px;
                color: var(--light-color);
                font-family: var(--second-font);
            }

            .desc {
                font-weight: 400;
                font-size: 20px;
                color: var(--light-color);
                margin-top: 30px;
            }

            .slide-btn {
                color: #fff;
                font-weight: 800;
                font-size: 18px;
                background: linear-gradient(180deg, #005BBB 0%, #005BBB 50%, #0855A0 50%, #0855A0 100%);
                box-shadow: 0px 4px 0px 0px #0A3461;
                display: inline-block;
                padding: 15px 30px;
                border-radius: 30px;
                margin-top: 30px;
                transition: all .3s ease;

                img {
                    margin-left: 15px;
                    transition: all .5s ease;
                }
            }

            .slide-btn:hover {
                transform: translate(0, 4px);
                box-shadow: 0px 0px 0px 0px #0A3461;
            }
        }
    }
}

.wave-sep {
    margin-top: -2%;
    position: relative;
}

.wave-sep-2 {
    position: relative;
    transform: rotateX(180deg);
}

.wave-sep-white {
    position: relative;
    transform: rotateX(180deg);
    margin-bottom: -2%;
}

.home-about {
    background-color: #DF5F16;
    background-image: url(../img/h-about-bg.png);
    background-repeat: no-repeat;
    padding: 100px 0;
    background-size: contain;
    background-position: center center;

    .mini-title {
        font-family: var(--second-font);
        font-weight: 500;
        font-size: 24px;
        color: var(--title-color);
    }

    .title {
        font-family: var(--second-font);
        font-weight: 700;
        font-size: 56px;
        color: var(--title-color);
        margin-bottom: 30px;
    }

    .desc {
        color: #FFFFFFBF;
        font-weight: 500;
        font-size: 18px;
        text-align: justify;
    }
}

.detail-btn {
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    background: linear-gradient(180deg, #005BBB 0%, #005BBB 50%, #0855A0 50%, #0855A0 100%);
    box-shadow: 0px 4px 0px 0px #0A3461;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    margin-top: 30px;
    transition: all .3s ease;

    img {
        margin-left: 15px;
        transition: all .5s ease;
    }
}

.detail-btn:hover {
    transform: translate(0, 4px);
    box-shadow: 0px 0px 0px 0px #0A3461;
}

.home-counter {
    padding: 100px 0;

    .box {
        display: flex;
        align-items: center;
        width: fit-content;
        margin: auto;

        .info {

            span {
                display: block;
                margin-left: 15px;
            }

            span:first-of-type {
                font-family: var(--second-font);
                font-weight: 700;
                font-size: 40px;
                color: #E05F16;
                line-height: 30px;
            }

            span:last-of-type {
                font-family: var(--first-font);
                font-weight: 700;
                font-size: 20px;
                color: #E05F16;
            }
        }
    }
}

.home-factory {
    padding: 150px 0 0 0;
    background-color: #f0af07;
    background-image: url(../img/factory-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    .title {
        font-family: var(--second-font);
        font-weight: 700;
        font-size: 56px;
        color: #40170A;
        margin-bottom: 50px;
    }

    .factory-nav {
        margin-top: 100px;

        a {
            display: flex;
            align-items: center;
            color: #FAD8AE;
            font-family: Atma;
            font-weight: 600;
            font-size: 24px;
            border-left: 8px solid #FAC415;
            padding: 15px;
            cursor: pointer;
            transition: all .3s ease;

            svg {
                margin-right: 15px;
            }
        }

        a:hover,
        a.active {
            background: linear-gradient(270deg, rgba(224, 95, 22, 0) 0%, rgba(224, 95, 22, 0.4) 40.47%);
            color: #fff;
            border-left: 8px solid #E05F16;

            path {
                fill: #FEF7EE;
            }
        }
    }

    .info-box {
        margin-top: 100px;

        .i-title {
            font-family: var(--second-font);
            font-weight: 700;
            font-size: 48px;
            color: #943918;
            position: relative;
            line-height: 48px;
            margin-bottom: 15px;
        }


        .i-mini-title {
            font-weight: 700;
            font-size: 24px;
            color: #943918;
            margin-bottom: 30px;
            line-height: 24px;
        }

        .desc {
            font-weight: 500;
            font-size: 18px;
            color: #943918;
        }
    }

    .factory-content {
        visibility: hidden;
        opacity: 0;
        display: none;
        transition: all .5s ease;
    }

    .factory-content.active {
        visibility: visible;
        opacity: 1;
        display: block;
    }
}

.product-sep {
    margin-top: -2%;
}

.home-products {
    padding: 100px 0 150px 0;
    background: linear-gradient(180deg, #FAD8AE 3.89%, #FDEED7 98.72%);
    position: relative;

    .title {
        font-family: var(--second-font);
        font-weight: 700;
        font-size: 56px;
        color: #40170A;
    }

    .p-tabs {
        margin-top: 50px;
        display: flex;
        justify-content: center;

        a {
            background: #EF771D;
            color: #FFFFFFBF;
            margin: 0 7.5px;
            padding: 15px 30px;
            border-top-right-radius: 20px;
            border-top-left-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 4px solid #EF771D;
            border-left: 4px solid #EF771D;
            border-right: 4px solid #EF771D;
            font-weight: 600;
            font-size: 18px;
            position: relative;
            z-index: 2;
            margin-bottom: -4px;

            svg {
                margin-right: 10px;

                path {
                    fill: #FFFFFFBF;
                }
            }
        }

        a.active {
            background: #FEF7EE;
            color: #EF771D;

            svg path {
                fill: #EFAF08;
            }
        }
    }

    .p-content {
        border: 4px solid #EF771D;
        background: #FEF7EE;
        box-shadow: 0px 12px 0px 0px #E05F16;
        padding: 100px;
        border-radius: 50px;
        display: none;
        position: relative;
        overflow: hidden;

        .gram {
            font-weight: 400;
            font-size: 20px;
            color: #40170A;
            position: relative;
            z-index: 2;
        }

        .p-name {
            color: #E05F16;
            font-weight: 700;
            font-size: 32px;
            margin-bottom: 15px;
            position: relative;
            z-index: 2;
        }

        .p-desc {
            font-weight: 500;
            font-size: 14px;
            color: #8B8985;
            position: relative;
            z-index: 2;

        }

        .detail-btn {
            background: linear-gradient(180deg, #EE761C 0%, #EE761C 50%, #E05F16 50%, #E05F16 100%);
            box-shadow: 0px 4px 0px 0px #B94815;
            position: relative;
            z-index: 2;
        }

        .detail-btn:hover {
            transform: translate(0, 4px);
            box-shadow: none;
        }

        .p-big-img {
            position: relative;
            z-index: 2;
        }

        .p-bg {
            position: absolute;
            top: 0;
            left: -120px;
            height: 100%;
        }
    }

    .p-content.active {
        display: block;
    }

    .cloud-1 {
        position: absolute;
        top: 0;
        right: 35%;
    }

    .cloud-2 {
        position: absolute;
        top: 10%;
        right: 20%;
    }
}

.foot-sep {
    margin-top: -2%;
    position: relative;
}

footer {
    background: #E05F16;
    padding: 50px 0;

    label {
        font-weight: 500;
        font-size: 18px;
        color: #FFFFFFBF;
    }

    .input-wrap {
        background: #FFFFFF26;
        border-radius: 50px;
        padding: 10px 10px 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #FFFFFF1A;
        margin-top: 15px;

        input {
            background: transparent;
            border: 0;
            font-weight: 500;
            font-size: 16px;
            color: #fff;
            width: 80%;

            &:focus {
                outline: 0;
                box-shadow: none;
            }
        }

        input::placeholder {
            color: #FFFFFF80;
        }

        button {
            border: 0;
            background: #fff;
            border-radius: 20px;
            padding: 10px 20px;
        }
    }

    .foot-nav {
        margin-top: 100px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 500;
        font-size: 20px;
        color: #fff;
        padding-bottom: 50px;
        border-bottom: 2px solid #FFFFFF1A;
    }

    .copyright {
        font-weight: 500;
        font-size: 15px;
        color: #fff;
    }
}

.page-header {
    background-image: url('../img/bread-bg.svg');
    background-color: #E05F16;
    padding: 200px 0 100px 0;
    background-size: cover;

    .title {
        font-family: var(--second-font);
        font-weight: 700;
        font-size: 56px;
        color: #fff;
    }
}

.wave-sep-bread {
    margin-top: -2%;
}

.inner-content {
    padding: 100px 0;

    b {
        font-family: var(--first-font);
        font-weight: 700;
        font-size: 20px;
        margin-bottom: 15px;
        display: block;
    }

    ul {
        list-style: inside;
    }
}

.page-navigation {
    border-left: 4px solid #FDEED7;
    position: sticky;
    top: 30px;
    left: 0;

    a {
        display: block;
        padding: 24px;
        font-family: var(--second-font);
        font-weight: 600;
        font-size: 18px;
        color: #8B8985;
        margin-left: -4px;
        border-left: 4px solid #FDEED7;

        &.active,
        &:hover {
            color: #E05F16;
            border-left: 4px solid #E05F16;
            background: linear-gradient(270deg, rgba(224, 95, 22, 0) 0%, rgba(224, 95, 22, 0.2) 65.39%);
        }
    }
}

.certificates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    .box {
        background: #FEF7EE;
        box-shadow: 0px 4px 0px 0px #E05F16;
        border-radius: 24px;
        padding: 16px 24px;
        text-align: center;
        border: 2px solid #F29645;
        display: flex;
        flex-direction: column;
        justify-content: center;

        .title {
            font-weight: 600;
            font-size: 20px;
            color: #000;
            line-height: 20px;
        }

        a {
            font-weight: 800;
            font-size: 18px;
            color: #E05F16;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 15px;

            img {
                width: 20px;
            }

            span {
                margin-left: 5px;
            }
        }
    }
}

.contact {
    .map {
        border: 2px solid #F29645;
        box-shadow: 0px 4px 0px 0px #E05F16;
        border-radius: 24px;
        overflow: hidden;

        iframe {
            margin-bottom: -10px;
        }
    }

    .contact-box {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;

        .box {
            background: #FEF7EE;
            border: 2px solid #F29645;
            box-shadow: 0px 4px 0px 0px #E05F16;
            border-radius: 24px;
            padding: 24px 17px;
            text-align: center;

            a {
                display: block;
                font-weight: 600;
                font-size: 20px;
                margin-top: 24px;
                margin-bottom: 0;
            }
        }

        &:last-of-type {
            grid-template-columns: repeat(2, 1fr);
            margin-top: 30px;

            .box {
                display: flex;
                text-align: left;
                align-items: center;

                a {
                    margin-top: 0;
                    margin-left: 30px;
                }
            }
        }
    }
}

.hr {

    .first-info {
        background: #FFFBF7;
        border: 2px solid #F29645;
        border-radius: 24px;
        box-shadow: 0px 4px 0px 0px #E05F16;
        padding: 24px 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        span {
            font-weight: 600;
            font-size: 18px;
        }
    }

    .alert {
        background: #FDEED7;
        border-radius: 60px;
        padding: 8px 16px;
        margin-top: 30px;
        display: flex;
        align-items: center;

        span {
            font-weight: 400;
            font-size: 16px;
            color: #E05F16;
            margin-left: 15px;
        }
    }

    label {
        display: block;
        font-weight: 400;
        font-size: 13px;
        color: #8B8985;
        padding-left: 12px;
        margin-bottom: 5px;
    }

    input,
    textarea,
    select {
        background: #FFFBF7;
        border: 1px solid #E7E7E6;
        border-radius: 16px;
        padding: 12px 20px;
        display: block;
        width: 100%;
        transition: all .3s ease;
        margin-bottom: 30px;

        &:focus {
            border: 1px solid #F29645;
            box-shadow: 0px 4px 0px 0px #E05F16;
            outline: 0;
        }
    }

    textarea {
        height: 200px;
    }

    button {
        background: linear-gradient(180deg, #EE761C 0%, #EE761C 50%, #E05F16 50%, #E05F16 100%);
        border: none;
        box-shadow: 0px 4px 0px 0px #B94815;
        border-radius: 60px;
        padding: 12px 24px;
        font-family: var(--second-font);
        font-weight: 700;
        font-size: 14px;
        color: #FFFBF7;
        float: right;

        span {
            margin-right: 15px;
        }
    }
}

.mobile-menu {
    /* display: none; */
    position: fixed;
    z-index: 99;
    background: #e05f16c7;
    top: -100%;
    left: 15px;
    right: 15px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    transition: all .5s ease;

    &.active{
        top: 15px;
    }

    .logo{
        margin-left: 30px;
    margin-top: 30px;

    img{
        height: 50px;
    }
    }
    nav {
        margin-left: 30px;
        margin-top: 50px;
        margin-bottom: 40px;

        a{
                display: block;
    font-size: 25px;
    color: #fff;
    margin-bottom: 10px;
        }
    }
    .menu-close{
            width: 25px;
    display: inline-block;
    position: absolute;
    top: 40px;
    right: 40px;
    }
}

.menu-btn {
    display: none;
}

@media(max-width:969px) {
    header {
        top: 30px;
        left: 20px;

        nav {
            display: none;
        }

        .langs {
            display: none;
        }
    }

    .menu-btn {
        display: block;
        width: 50px;
        position: absolute;
        right: 30px;

        
        span {
            width: 100%;
            display: block;
            height: 4px;
            background: #de5f17;
            margin: 5px 0;
            border-radius: 10px;
        }
    }

    .wave-sep {
        margin-top: -5vw;

        img {
            width: 160vw !important;
        }
    }

    .wave-sep-2 {
        margin-top: -1vw;

        img {
            width: 160vw !important;
        }
    }

    .home-about {
        margin-top: -10px;
    }

    .home-counter {
        .box {
            display: flex;
            align-items: center;
            width: fit-content;
            margin: auto;
            flex-direction: column;
            text-align: center;
            margin-bottom: 30px;

            .info {
                margin-top: 15px;

                span {
                    margin-left: 0;
                }
            }
        }
    }

    .home-factory {
        .factory-nav {
            margin-top: 0;
            margin-bottom: 30px;
        }

        .info-box {
            margin-top: 30px;
            margin-bottom: 50px;

            .i-title {
                padding-left: 0;
                text-align: center;

                &::before,
                &::after {
                    content: none;
                }
            }

            .i-mini-title {
                padding-left: 0;
                text-align: center;
            }

            .desc {
                text-align: center;
            }
        }
    }

    .home-products {
        .p-content {
            padding: 30px;

            .p-big-img {
                margin-bottom: 30px;
            }

            .p-name {
                line-height: 32px;
            }
        }

        .p-tabs {
                        flex-direction: column;


            a {
                                padding: 10px;
                display: block;
                border-radius: 20px;
                margin-bottom: 15px;
            }
        }
    }

    .wave-sep-white {
        margin-bottom: -4%;

        img {
            width: 160vw !important;
        }
    }

    .product-sep {
        margin-top: -4%;

        img {
            width: 160vw !important;
        }
    }

    .foot-sep {
        margin-top: -5%;

        img {
            width: 160vw !important;
        }
    }

    footer {
        label {
            display: block;
            text-align: center;
        }

        .foot-logo {
            display: block;
            text-align: center;
            margin-bottom: 30px;
        }

        .foot-nav {
            margin-top: 30px;
            flex-direction: column;

            a {
                margin-bottom: 5px;
            }
        }

        .copyright {
            text-align: center;
        }

        .brandygo {
            display: block;
            text-align: center;
        }
    }

    .wave-sep-bread {
        margin-top: -4%;

        img {
            width: 160vw !important;
        }
    }

    .page-navigation {
        top: 0;
        margin-bottom: 50px;
    }

    .certificates {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .hr {

        .first-info {

            img {
                margin-right: 20px;
            }
        }
    }

    .page-header {
        .title {
            line-height: 56px;
        }
    }

    .mmb-30 {
        margin-bottom: 30px;
    }

    .contact {
        .contact-box {
            grid-template-columns: repeat(1, 1fr);

            &:last-of-type {
                grid-template-columns: repeat(1, 1fr);
                margin-top: 30px;
            }
        }
    }
}

.p-detail-slider-wrap {
    position: relative;

    .p-s-slide {
        img {
            border-radius: 20px;
        }
    }

    .p-d-prev,
    .p-d-next {
        background: linear-gradient(180deg, #EE761C 0%, #EE761C 50%, #E05F16 50%, #E05F16 100%);
        box-shadow: 0px 4px 0px 0px #B94815;
        position: absolute;
        z-index: 2;
        display: inline-block;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        top: 50%;
        left: 30px;
        transition: all .3s ease;
        cursor: pointer;
        transform: translate(0, -50%) rotateY(-180deg);

        &:hover {
            transform: translate(0, calc(-50% + 4px)) rotateY(-180deg);
            box-shadow: none;
        }
    }

    .p-d-next {
        right: 30px;
        left: auto;
        transform: translate(0, -50%) rotateY(0deg);

        &:hover {
            transform: translate(0, calc(-50% + 4px)) rotateY(0deg);
        }
    }
}