@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.hero-content {
    background: url(https://demo.themexbd.com/wpv/metalsheet/wp-content/uploads/2021/05/slider-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: calc(100vh - 120px);
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    align-items: center;
}
#szolgaltatasok{
    position: relative;
    background: url(https://demo.themexbd.com/wpv/metalsheet/wp-content/uploads/2021/05/slider-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white !important;
    background-attachment: fixed;
    z-index: 1;
    padding: 0;
    min-height: 90vh;
}
#szolgaltatasok h2{
    color: white;
}
.hero-content:after,
#company:after, #szolgaltatasok:after {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    z-index: -1;
    background: #02101e86;

}
.hero-content:after{
    background: #02101e78;

}

.title-box h1 {
    font-size: 70px;
    font-weight: 700;
}

.munkas {
    position: absolute;
    bottom: 0;
    right: 12%;
}

.munkas img {
    max-width: 450px;
}

img {
    width: 100%;
}

section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

#about {
    background: url(https://demo.themexbd.com/wpv/metalsheet/wp-content/uploads/2021/05/about-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#services,
#why-us {
    background: #f3f3f3;
}

#company {
    background: url(https://demo.themexbd.com/wpv/metalsheet/wp-content/uploads/2021/05/video-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 170px 50px;
    color: white !important;
    z-index: 1;
    text-align: center;
    width: calc(100% - 100px);
    margin: auto;
}

#company h2 {
    color: white !important;

}

.circle-mission {
    display: inline-block;
    color: #fff;
    height: 80px;
    width: 80px;
    text-align: center;
    border-radius: 50%;
    line-height: 80px;
    background: #0368cf;
    font-size: 25px;
    transition: all 0.5s ease 0s;
}

.mission-icon {
    margin-right: 12px;
}

.about-mission {
    display: flex;
    align-items: center;
    margin: 12px 0;
}

h2 {
    color: #18181D;
    font-size: 40px;
    font-weight: 600;
}

.logo img {
    max-width: 240px;
}

.navbar-content {
    background: #0c3053;

}
.menu{
    color: white;
}




.card-title {
    min-height: 50px;
}

.card-title h3 {
    font-size: 18px;
}

.card-desc {
    font-size: 14px;
}

.col-md-3 {
    padding-right: 7px !important;
    padding-left: 7px !important;
}

#szolgaltatasok .col-md-4 {
    padding: 0;
}

.service-image {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}
.service-image:after{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #02101e4d;
    content: '';
    z-index: 1;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-line {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #aaaaaa;
    position: relative;
    margin: 15px 0;
    cursor: pointer;
}

.service-name {
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    transition: .4s;
}
.service-name h3{
    font-size: 18px;
    font-weight: bolder;
    transition: .4s;
}

.service-line:hover .service-name h3 {
    padding-left: 30px;
    color: rgb(194, 27, 27);
}

.next-icon {
    background: #ececec;
    color: #0c3053;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    position: absolute;
    right: 0;
    transition: .4s;
    transform: rotate(90deg);
    border-radius: 50%;

}
.service-line:hover .next-icon{
    transform: rotate(-90deg);

}
.subtitle {
    margin: 30px 0;
}

.subtitle h2 {
    position: relative;
    font-weight: bolder;
    font-size: 46px;
    padding-bottom: 30px;
    width: max-content;
}

.subtitle h2:after {
    bottom: 0;
    left: 0;
    width: 50%;
    height: 5px;
    content: '';
    background: #fefeff;
    position: absolute;
}

.subtitle p {
    max-width: 700px;
}
#szolgaltatasok .col-md-8{
    padding: 50px 10px;
}
.gallery-grid{
    column-count: 3;
}
.gallery-img{
    margin-bottom: 20px;
    display: block;
}
.gallery-img img{
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.small-text-box{
    max-width: 600px;
    margin: auto;
}
.service-name small{
    font-weight: 400;
    margin-top: 20px;
    display: block; 
    font-size: 15px;
    color: #bebebe;
    transition: .4s;
    height: 0;
    overflow: hidden;
    margin-right: 60px;
}
.service-line:hover .service-name small{
    color: white;
    height: 110px;
}
#referenciamunkak{
    position: relative;
    min-height: 70vh;
    z-index: 1;
}
#referenciamunkak h2{
    font-size: 24px;
    letter-spacing: -1px;
    text-align: right;
    padding-right: 12px;
}
#referenciamunkak:after{
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 33%;
    height: 100%;
    background: rgba(0,0,0,.03);
    content: '';
}
#referenciamunkak li{
    list-style: none;
    margin: 15px 0;
    padding: 12px 0;
    position: relative;
    padding-left: 55px;
    transition: .4s;
    z-index: 1;
    display: block;
    cursor: pointer;
}
#referenciamunkak li:nth-child(even){
    background: rgba(0,0,0,.05);
    color: white;
}
#referenciamunkak li:after{
    width: 100%;
    height: 100%;
    background: #0c2f5300;
    content: '';
    position: absolute;
    top: 0;
    left: 45px;
    transition: .4s;
    z-index: -1;
}
#referenciamunkak li:nth-child(even):after{
    background: #0c3053;

}
#referenciamunkak li:before{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background:url(logo-mini.png);
    content: '';
    background-size: contain;
}
.skew-elem{
    width: 100%;
    height: 400px;
    clip-path: polygon(0 30%, 100% 0%, 100% 70%, 0% 100%);
    background: #0c3053;
    margin-top: 90px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.skew-elem:before{
    width: 100%;
    height: 100%;
    background-image: url(viz.jpg);
    background-attachment: fixed;
    background-size: cover;
    content: '';
    position: absolute;
    z-index: 0;
}
.part-2:before{
    background-image: url(vakuum.jpg);
}
.part-2-reverse:before{
    background-image: url(legtechnika.jpg)!important;
}
.skew-elem-reverse:before{
    width: 100%;
    height: 100%;
    background-image: url(technologia.jpg);
    background-attachment: fixed;
    background-size: cover;
    content: '';
    position: absolute;
    z-index: 0;

}
.skew-elem:after{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #02101e33;
    content: '';
    z-index: 1;
}
.skew-elem-reverse:after{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #02101e33;
    content: '';
    z-index: 1;
}
.skew-elem-reverse{
    width: 100%;
    height: 400px;
    clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%);
    background: #0c3053;
    margin-top: 90px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
#referenciamunkak .col-md-4{
    padding-left: 0;
}
.why-list{
    background: white;
    padding: 12px;
    margin: 12px 0;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}
.why-list .box{
    display: flex;
    align-items: center;
}
.why-list span{
    margin-right: 12px;
    color: green;
}
#why-us{
    position: relative;
    z-index: 1;
}
.monocrome-logo{
    opacity: .1;
    filter: grayscale(100%);
    position: absolute;
    bottom: -60px;
    left: -5%;
    z-index: -1;
    width: 60%;
}
.contact-list{
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.contact-detail{
    display: block;
}
.contact-icon{
    width: 60px;
    height: 60px;
    background: #0c3053;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}
.contact-icon span{
    font-size: 32px;
    color: white;
}
form .col-md-6, form .col-md-12{
    margin-top: 16px;
}
#contact{
    background: rgba(0,0,0,.05);
    position: relative;
    z-index: 1;
}
#contact:after{
    bottom: 0;
    width: 33%;
    background: #0c3053;
    content: '';
    height: 240px;
    position: absolute;
    z-index: -1;
    left: 0;
}
form{
    background: white;
}
footer{
    background: #0c3053;
    color: white;
    padding: 30px 0;

}
footer h3{
    margin: 20px 0;
}
footer ul{
    margin: 0;
    padding: 0;
}
footer li {
    list-style: none;
    margin: 10px 0;
}
footer li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
}
#contact h2{
    max-width: 460px;
}
.navbar{
    text-align: center;
    justify-content: flex-end;
}
.navbar-collapse{
    margin: auto;
    text-align: center;
    width: 100%;
}
.navbar ul{
    margin: auto;
}
.reference-list{
    display: block;
}
.reference-list li{
    display: block;
    width: 100%;
    overflow: hidden;
}
.top-contact{
    display: flex;
    align-items: center;
}
.top-contact-icon{
    width: 50px;
    height: 50px;
    background: #0c3053;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}
.mobile-logo{
    display: none;
}
@media(max-width:992px){
    .service-line:hover .service-name small{
    color: white;
    height: 220px;
}
    .nav-item{
        margin-top: 30px;
    }
    .mobile-logo{
        position: absolute;
        left: 0px;
        top: 2px;
        width: 150px;
        max-height: 52px;
        display: block;
    }
    .menu{
        position: relative;
        z-index: 1;
    }
    .menu:after{
        position: absolute;
        top: 0;
        left: -20px;
        width: 50%;
        content: '';
        height: 100%;
        transform: skewX(15deg);
        background: white;
        z-index: -1;
        max-height: 54px;
    }
    .top-content{
        display: none;
    }
    .title-box h1 {
        font-size: 32px;
    }
    .munkas img{
        max-width: 150px;
    }
    h2, .subtitle h2 {
        font-size: 26px;
    }
    .service-image{
        display: none;
    }
    .skew-elem, .skew-elem-reverse{
        display: none;
    }
    .gallery-grid{
        column-count: 2;
    }
    #company{
        width: 100%;
    }
    #contact:after{
        display: none;
    }
    #contact .col-md-6{
        margin-top: 30px;
    }
    .service-name{
        padding-right: 50px;
    }
    .service-name h3{
        font-size: 16px;
    }
}