/* version 1.0 */

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

:root {
    --main-red: #EE0D08;
}

@font-face {
    font-family: Merriweather;
    src: url('fonts/merriweathersans-medium.ttf');
    font-weight: 500;
}

body {
    max-width: 2560px;
    margin: 0 auto;
}

h1 {
    color: #fff;
    font-size: 54px;
    font-family: Arial, Helvetica, sans-serif;
}

.page-title {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 100px;
}

.home .header-wrapper {
    min-height: 960px;
}

.header-wrapper {
    background-image: url('images/welding.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
}

header {
    height: 100px;
    background-color: #1423406B;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #FFFFFF14;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: Merriweather;
    font-size: 30px;
    padding-right: 50px;
    border-right: 1px solid #FFFFFF33;
}

.logo img {
    height: 25px;
}

#menu-main {
    margin-left: 50px;
    display: flex;
    list-style: none;
    gap: 20px;
    font-size: 20px;
}

#menu-main a {
    color: #fff;
    text-decoration: none;
    padding: 37px 0;
    position: relative;
    transition: all 0.5s ease;
}

#menu-main .current-menu-item a {
    color: var(--main-red);
}

#menu-main li a::before {
    border-top-color: var(--main-red);
}

#menu-main .current-menu-item a::before {
    opacity: 1;
}

#menu-main a::before {
    content: "";
    border-top-color: var(--main-red);
    border: solid transparent;
    border-color: transparent;
    border-width: 7px;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 1;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    top: 0;
    transition: all 0.5s ease;
}

#menu-main a:hover::before {
    opacity: 1;
}

#menu-main a:hover,
.header-phone:hover {
    color: var(--main-red);
}

.header-phone {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s ease;
}

.start-screen {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin-left: 100px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.start-screen .pre-title {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    font-weight: 700;
    width: max-content;
    margin-bottom: 30px;
}

.start-screen h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62px;
    max-width: 790px;
    margin-bottom: 40px;
}

.start-screen-desc {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    max-width: 600px;
    font-size: 18px;
    margin-bottom: 50px;
}

.red-button {
    background-color: var(--main-red);
    padding: 18px 44px;
    width: max-content;
    transform: skewX(-10deg);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease-in;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
}

.red-button:hover {
    background-color: #9d0502;
}

.red-button::after {
    content: url('icons/arrow.svg');
    margin-left: 10px;
}

.features {
    min-height: 289px;
    background-image: url('images/features-bg.png');
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    padding: 0 50px;
    margin-bottom: 80px;
}

.feature {
    display: flex;
    gap: 20px;
    width: 500px;
    height: 110px;
}

.feature-title {
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-desc {
    font-family: 'Courier New', Courier, monospace;
    color: #ccc;
    font-size: 18px;
}

.feature-1::before {
    content: url('icons/features-icon-1.png');
}

.feature-2::before {
    content: url('icons/features-icon-2.png');
}

.feature-3::before {
    content: url('icons/features-icon-3.png');
}

.about-us {
    display: flex;
    gap: 50px;
    padding: 0 50px;
    margin-bottom: 80px;
}

.about-us-left {
    display: flex;
    width: 720px;
    position: relative;
}

.about-img-1 {
    align-self: flex-start;
}

.about-img-2 {
    position: relative;
    left: -100px;
    top: 140px;
    max-height: 500px;
}

.about-us-right {
    flex: 1;
    max-width: 700px;
}

.about-us-pre-title {
    color: var(--main-red);
    background-color: #fcefed;
    width: max-content;
    padding: 10px;
    margin-bottom:  30px;
}

.about-us h2 {
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 30px;
}

.about-us-desc {
    color: #616161;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 30px;
}

.about-us-tabs-titles {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #eeeeee;
    margin-bottom: 30px;
}

.about-us-tabs .tablinks {
    text-align: center;
    flex: 1;
    color: #616161;
    cursor: pointer;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding: 15px 0;
    position: relative;
}

.about-us-tabs .tablinks:not(:last-child)::after {
    content: "";
    width: 2px;
    height: 30px;
    background: #DDDDE0;
    position: absolute;
    right: 0;
    top: 50%;
    display: block;
    transform: translate(-50%, -50%);
}

.about-us-tabs .tablinks.active {
    color: var(--main-red);
    border-top: 3px solid var(--main-red);
}

.about-us-tabs .tablinks:hover {
    color: var(--main-red);
}

.about-us-tabs .tabcontent {
    display: none;
    margin-bottom: 30px;
    color: #616161;
    font-size: 18px;
    line-height: 27px;
}

.about-us-tabs .tabcontent.active {
    display: block;
}

.about-us-button,
.services-button {
    display: block;
    text-decoration: none;
}

.services {
    height: 900px;
    background-color: #142340;
    background-image: url('images/services-bg.png');
    background-repeat: no-repeat;
    background-position: right;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-pre-title {
    color: var(--main-red);
    background-color: #FFFFFF1A;
    padding: 8px 14px;
    width: max-content;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 30px;
}

.services h2 {
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 30px;
    color: #fff;
    max-width: 900px;
}

.services-desc {
    color: #616161;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 30px;
    color: #ccc;
    max-width: 900px;
}

.services-list {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.services-list a {
    text-decoration: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #fff;
    font-size: 24px;
    border-bottom: 1px solid #ccc;
    max-width: 800px;
    padding: 20px 0;
    transition: all 0.5s ease;
}

.services-list a:hover {
    color: var(--main-red);
}

@media (max-width: 1440px) {
    .features {
        justify-content: center;
        gap: 30px;
    }
    .feature-3 {
        width: 330px;
    }
}