:root {
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                   "Helvetica Neue", Arial, sans-serif;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background: rgba(242, 242, 242, 1);
    font-family: var(--font-family);
}

.main-container {
    max-width: 1400px;
    margin: auto;
}

button {
    font-size: 20px;
    font-weight: 500;
    line-height: 24.26px;
    overflow: hidden;
    position: relative;
    border: 1px solid;
    border-image-source: linear-gradient(90deg, #E8E8E8 0%, #E1E1E1 11.9%);
    cursor: pointer;
    background: linear-gradient(90deg, #A1A1A1 0%, #D9D9D9 51.9%, #9C9C9C 100%);
    z-index: 1;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #D9D9D9 16.4%, #9C9C9C 51.41%, #FFFFFF 91.9%);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: -1;
}

button:hover::before {
    opacity: 1;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

#header,
#header * {
    box-sizing: border-box;
}

#header {
    width: 100%;
    height: 1173px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background-image: url('./../images/header/cover.svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    mix-blend-mode: luminosity;
}

#header .header-rectangle {
    background: rgba(0, 0, 0, 0.19);
}

#header .header-rectangle .header-rectangle__inner {
    width: 100%;
    height: 95px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .logo-container {
    height: 58px;
}

#header .navigation-frame {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 70px;
    height: 35px;
}

#header .navigation-frame .nav-item a {
    color: #ffffff;
    font-size: 21px;
    font-weight: 300;
    line-height: 25.2px;
    text-align: center;
    text-decoration: none;
}

#header .navigation-frame .nav-item a:hover {
    font-weight: 500;
    line-height: 25.47px;
}

#header .header-content {
    margin-top: 60px;
}

#header .header-content .header-content__inner {
    height: 54%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#header .header-content .cta-button {
    color: #212121;
    font-size: 20px;
    font-weight: 500;
    margin-left: 130px;
}

#header .header-content .cta-button button{
    padding: 12px 86px;
}

#header .header-content .headline {
    max-width: 81%;
    color: #ffffff;
    font-size: 70px;
    font-weight: 500;
    line-height: 84.91px;
}

#header .header-content .description {
    width: 616px;
    height: 130px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 300;
    line-height: 26.4px;
}

#header .header-bottom-content {
    width: 100%;
    display: flex;
    justify-content: end;
}

#header .header-bottom-content .header-bottom-content__inner {
    width: 100%;
    display: flex;
    justify-content: end;
    margin-left: 16%;
}

#header .header-bottom-content .right-panel {
    width: 837px;
    height: 128px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
}

#header .header-bottom-content .right-panel img {
    height: 128px;
    width: 135px;
}

#header .header-bottom-content .right-panel .team-intro {
    width: 670px;
    color: #212121;
    font-size: 22px;
    font-weight: 300;
    line-height: 26.4px;
    text-align: center;
}

#solution {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 150px;
}

#solution .solution-title {
    width: 80%;
    margin: auto;
    font-size: 40px;
    font-weight: 500;
    line-height: 48.52px;
    text-align: left;
    color: #212121;
    margin-top: -95px;
}

#solution .solutions-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background-image: url("./../images/customers-following-products-solutions-linesman-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#solution .solutions-list-wrapper {
    display: flex;
    row-gap: 138px;
    width: max-content;
    flex-direction: column;
    margin-top: 99px;
}

#solution .solutions-list-wrapper .solutions-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    column-gap: 60px;
    row-gap: 50px;
}

#solution .solutions-list-wrapper .solutions-list .solution-card {
    /*width: 291px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#solution .solutions-list-wrapper .solutions-list:nth-child(1) .solution-card:nth-child(1) {
    width: 303px;
}
#solution .solutions-list-wrapper .solutions-list:nth-child(1) .solution-card:nth-child(2) {
    width: 355px;
}
#solution .solutions-list-wrapper .solutions-list:nth-child(1) .solution-card:nth-child(3) {
    width: 322px;
}
#solution .solutions-list-wrapper .solutions-list:nth-child(2) .solution-card:nth-child(1) {
    width: 305px;
}
#solution .solutions-list-wrapper .solutions-list:nth-child(2) .solution-card:nth-child(2) {
    width: 334px;
}
#solution .solutions-list-wrapper .solutions-list:nth-child(2) .solution-card:nth-child(3) {
    width: 320px;
}
#solution .solutions-list-wrapper .solutions-list:nth-child(3) .solution-card:nth-child(1) {
    width: 291px;
}

#solution .solutions-list-wrapper .solutions-list .solution-card img {
    margin-bottom: 14px;
}

#solution .solutions-list-wrapper .solutions-list .solution-card h3 {
    font-size: 27px;
    font-weight: 500;
    line-height: 32.75px;
}

#solution .solutions-list-wrapper .solutions-list .solution-card p {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    margin-top: 8px;
}


#about {
    height: 428px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #2d2d2d, #000);
    color: #fff;
    position: relative;
}

#about .about-image-container {
    width: 380px;
    height: 100%;
    border-radius: 10px;
    background-image: url("./../images/about/future-technology-photosensitive-technology.png");
    background-size: contain;
    background-repeat: no-repeat;
    mix-blend-mode: luminosity;
    background-position-x: left;
    background-position-y: bottom;
}

#about .about-content-wrapper {
    flex: 1;
    padding: 0 20px;
    margin-left: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about .about-content-wrapper .about-text {
    max-width: 700px;
}

#about .about-content-wrapper .about-text h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 48.52px;
    margin-bottom: 20px;
}

#about .about-content-wrapper .about-text p {
    font-size: 22px;
    font-weight: 300;
    line-height: 26.4px;
    margin-bottom: 15px;
}

#line-gradient {
    height: 30px;
    width: 100%;
    background: linear-gradient(275deg, #D9D9D9 42.5%, #D9D9D9 0%, #939393 100%);
}

#choose-us {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    padding: 115px 130px;
    background-color: #f2f2f2;
}

#choose-us .why-us-left {
    max-width: 395px;
    min-width: 360px;
}

#choose-us .why-us-left h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 48.52px;
    color: #202123;
    margin-bottom: 25px;
}

#choose-us .why-us-left h3 {
    max-width: 323px;
    font-size: 22px;
    font-weight: 500;
    line-height: 26.69px;
    color: #212121;
    margin-bottom: 20px;
}

#choose-us .why-us-left p {
    color: #212121;
    width: 260px;
    font-size: 22px;
    font-weight: 300;
    line-height: 26.4px;
}

#choose-us .why-us-right {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-left: 20px;
    width: max-content;
}

#choose-us .info-card {
    height: 211px;
    width: 319px;
    background: linear-gradient(90deg, #D9D9D9 0%, #D9D9D9 42.5%, #939393 100%);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#choose-us .info-card.no-background {
    background: none;
}

#choose-us .info-card h3 {
    margin-bottom: 10px;
    color: #212121;
    font-size: 22px;
    font-weight: 500;
    line-height: 26.69px;
}

#choose-us .info-card p {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    color: #212121;
}

#choose-us .info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("./../images/rectangle.png") center/cover no-repeat;
    pointer-events: none;
}

#choose-us .info-card.no-decoration::after {
    background: none;
}

#choose-us .info-card.ill-design::after {
    background: url("./../images/ill.png") center/cover no-repeat;
    pointer-events: none;
    mix-blend-mode: color-dodge;
}

#get-in-touch {
    overflow: hidden;
}

#get-in-touch,
#get-in-touch * {
    box-sizing: border-box;
}

#get-in-touch {
    position: relative;
    width: 100%;
    height: 438px;
    margin: 0 auto 130px;
    background: #ffffff;
    overflow: hidden;
}

#get-in-touch .charts-left-decoration {
    position: absolute;
    width: 600px;
    height: 594px;
    top: -111px;
    right: -60px;
    background: url("./../images/get-in-touch/charts-left.png") no-repeat center;
    background-size: cover;
    z-index: 6;
}

#get-in-touch .robotic-hand-image {
    position: absolute;
    width: 421px;
    height: 413px;
    top: -26px;
    left: -62px;
    background: url("./../images/get-in-touch/robotic-hand.png") no-repeat center;
    background-size: cover;
    z-index: 5;
}

#get-in-touch .black-overlay {
    position: absolute;
    width: 1186px;
    height: 439px;
    top: -1px;
    left: -12px;
    background: url("./../images/get-in-touch/black-cover.png") no-repeat center;
    background-size: cover;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#get-in-touch .text-container {
    position: absolute;
    top: 23%;
    left: 27%;
    z-index: 6;
    text-align: center;
}

#get-in-touch .get-in-touch-title {
    display: block;
    position: relative;
    height: 48px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 500;
    line-height: 48.52px;
    white-space: nowrap;
    z-index: 8;
}

#get-in-touch .cta-description {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 39px;
    margin-top: 25px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 300;
    line-height: 26.4px;
    white-space: nowrap;
    z-index: 7;
}

#get-in-touch .text-container button {
    font-size: 24px;
    font-weight: 500;
    line-height: 29.11px;
    margin-top: 25px;
    padding: 15px 106px;
}

#get-in-touch .lii {
    position: absolute;
    width: 362px;
    height: 206px;
    top: 43px;
    left: -36px;
    background: url("./../images/get-in-touch/lii.png") no-repeat center;
    background-size: cover;
    opacity: 0.1;
    z-index: 4;
}

#get-in-touch .charts-right-decoration {
    position: absolute;
    width: 398px;
    height: 158px;
    top: 322px;
    left: -18px;
    background: url("./../images/get-in-touch/charts-right.png") no-repeat center;
    background-size: cover;
    z-index: 2;
}


#contacts {
    padding: 26px 0 3px 90px;
    margin-top: 130px;
    color: #fff;
    background: conic-gradient(from 178.27deg at 114.68% 19.21%, #070707 0deg, #212121 44.11deg, #494949 217.44deg, #070707 360deg);
}

#contacts .footer-section {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap;
}

#contacts .footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#contacts .footer-left-column {
    flex: 1;
    max-width: 30%;
}

#contacts .footer-left-column .company-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#contacts .footer-left-column h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

#contacts .footer-left-column p {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
}

#contacts .footer-left-column a {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
    color: #ffffff;
}

#contacts .footer-center-links {
    flex: 1;
    max-width: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

#contacts .footer-center-links a {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-thickness: 1px;
    color: #FFFFFF;
}

#contacts .footer-center-links a:hover {
    color: #aaa;
    text-decoration: underline;
}

#contacts .footer-right-image {
    height: 273px;
    width: 335px;
    background-image: url("./../images/footer/hub.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.open-modal-button {
    padding: 12px 20px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.open-modal-button:hover {
    background-color: #4cae4c;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: #00000080;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 35px 75px 62px;
    position: relative;
}

.contact-form {
    width: min-content;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}

.contact-form label {
    display: block;
    margin-bottom: 9px;
    color: #202123;
    font-size: 22px;
    font-weight: 300;
    line-height: 26px;
}

.contact-form input,
.contact-form textarea {
    width: 500px;
    padding: 12px 20px 14px 20px;
    margin-bottom: 25px;
    border: none;
    background: #F2F2F2;
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    color: #202123;
}


.contact-form textarea {
    height: 181px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #A6A6A6;
}

.terms {
    display: flex;
    align-items: baseline;
    margin-bottom: 25px;
    justify-content: flex-start;
}

.terms label {
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 0;
}

.terms input {
    margin-right: 8px;
}

.terms a {
    color: #4779C4;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

#terms {
    width: 15px;
    height: 15px;
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 19px;
    background: #5BC372;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    line-height: 28.8px;
}

.submit-button:hover {
    background: #3D9551;
}

.submit-button:before {
    display: none;
}

.modal.dark-mode .modal-content {
    background: #717171;
    box-shadow: 20px 75px 46px 0 rgba(42, 42, 42, 0.12),
                36px 133px 55px 0 rgba(42, 42, 42, 0.05),
                56px 208px 60px 0 rgba(42, 42, 42, 0.00),
                0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.modal.dark-mode .contact-form label {
    color: #FFFFFF;
}

.modal.dark-mode .contact-form input,
.modal.dark-mode .contact-form textarea {
    background: #F2F2F2;
}

.modal.dark-mode .submit-button {
    background: #5BC372;
}

#successModal,
#failModal {
    display: none;
    justify-content: center;
    align-items: center;
}

#successModal .content,
#failModal .content {
    width: 600px;
    height: 364px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

#successModal .content img,
#failModal .content img {
    margin-bottom: 24px;
}

#successModal .content h1,
#failModal .content h1 {
    font-size: 22px;
    font-weight: 500;
    line-height: 26.69px;
    margin-bottom: 24px;
    color: #202123;
}

#successModal .content .content-text,
#failModal .content .content-text {
    font-size: 22px;
    font-weight: 300;
    line-height: 26.4px;
    color: #202123;
}

@media(max-width: 995px) {
    #header h1 {
        font-size: 50px !important;
        line-height: 45px !important;
        padding-left: 20px;
        max-width: 71% !important;
    }

    .header-rectangle {
        padding: 0 20px;
    }

    #header .header-content .description {
        height: unset;
        width: 596px;
        line-height: 1;
        padding-left: 20px;
        font-size: 18px;
    }

    #header .header-content .cta-button {
        margin-left: 130px;
        margin-top: 35px;
    }

    #header .header-content .cta-button button {
        padding: 7px 50px;
        font-size: 18px;
    }

    #header .header-bottom-content .right-panel {
        width: 620px;
    }

    #header .header-bottom-content .right-panel img {
        height: 91px;
        width: 95px;
    }

    #header .header-bottom-content .right-panel .team-intro {
        width: 520px;
        font-size: 17px;
        line-height: 21.4px;
    }

    #solution .solution-title {
        font-size: 28px;
        line-height: 35.52px;
    }

    #solution .solutions-list-wrapper .solutions-list {
        column-gap: 2px;
    }

}

@media(min-width: 996px) and (max-width: 1268px) {
    #header h1 {
        font-size: 50px !important;
        line-height: 45px !important;
        padding-left: 20px;
        max-width: 71% !important;
    }

    .header-rectangle {
        padding: 0 20px;
    }

    #header .header-content .description {
        height: unset;
        width: 596px;
        line-height: 1;
        padding-left: 20px;
        font-size: 18px;
    }

    #header .header-content .cta-button {
        margin-left: 130px;
        margin-top: 35px;
    }

    #header .header-content .cta-button button {
        padding: 7px 50px;
        font-size: 18px;
    }

    #header .header-bottom-content .right-panel {
        width: 620px;
    }

    #header .header-bottom-content .right-panel img {
        height: 91px;
        width: 95px;
    }

    #header .header-bottom-content .right-panel .team-intro {
        width: 520px;
        font-size: 17px;
        line-height: 21.4px;
    }

    #solution .solution-title {
        font-size: 28px;
        line-height: 35.52px;
    }

    #solution .solutions-list-wrapper .solutions-list {
        column-gap: 2px;
    }

    #header .header-bottom-content .right-panel {
        width: 620px;
    }

    #header .header-bottom-content .right-panel img {
        height: 91px;
        width: 95px;
    }

    #header .header-bottom-content .right-panel .team-intro {
        width: 520px;
        font-size: 17px;
        line-height: 21.4px;
    }

    #solution .solution-title {
        font-size: 28px;
        line-height: 35.52px;
    }

    #solution .solutions-list-wrapper .solutions-list {
        column-gap: 2px;
    }
    #solution .solutions-list-wrapper .solutions-list .solution-card {
        width: 290px !important;
    }
}

@media(max-width: 1356px) {
    #header {
        height: 1156px;
    }
    #header .header-content .header-content__inner {
        height: 52%;
    }
}

@media(max-width: 1330px) {
    #header .header-content .header-content__inner {
        height: 50%;
    }
}

@media(max-width: 1295px) {
    #header {
        height: 1143px;
    }
    #header .header-content .header-content__inner {
        height: 49%;
    }
}


@media(max-width: 1277px) {
    #header {
        height: 1080px;
    }
    #header .header-content .header-content__inner {
        height: 50%;
    }
    #header .header-bottom-content .right-panel {
        width: 804px;
    }
    #header .header-bottom-content .right-panel .team-intro {
        width: 701px;
        font-size: 20px;
        line-height: 20.4px;
    }
    #header .header-bottom-content .right-panel img {
        height: 90px;
        width: 97px;
    }
}

@media(max-width: 1217px) {
    #header {
        height: 1002px;
    }
    #header .header-content .header-content__inner {
        height: 50%;
    }
    #header .header-bottom-content .right-panel {
        width: 721px;
    }
    #header .header-bottom-content .right-panel .team-intro {
        width: 635px;
    }
}

@media(max-width: 1177px) {
    #header .header-content .header-content__inner {
        height: 49%;
    }
    #header .header-bottom-content .right-panel {
        width: 700px;
    }
    #header .header-bottom-content .right-panel .team-intro {
        width: 600px;
    }
}


@media(max-width: 1137px) {
    #header .header-content .header-content__inner {
        height: 47%;
    }
    #header .header-bottom-content .right-panel {
        width: 680px;
    }
    #header .header-bottom-content .right-panel .team-intro {
        width: 560px;
    }
}

@media(max-width: 1099px) {
    #header {
        height: 995px;
    }
    #header .header-content .header-content__inner {
        height: 46%;
    }
    #header .header-bottom-content .right-panel {
        width: 670px;
    }
    #header .header-bottom-content .right-panel .team-intro {
        width: 550px;
    }
}

@media(max-width: 1071px) {
    #header .header-content .header-content__inner {
        height: 44%;
    }
    #header .header-bottom-content .right-panel {
        width: 650px;
    }
    #header .header-bottom-content .right-panel .team-intro {
        width: 540px;
        font-size: 19px;
        line-height: 19.4px;
    }
}

@media(max-width: 1039px) {
    #header {
        height: 980px;
    }
    #header .header-content .header-content__inner {
        height: 44%;
    }
}


@media(max-width: 1039px) {
    #header {
        height: 899px;
    }
    #header .header-content .header-content__inner {
        height: 46%;
    }
}

@media(max-width: 997px) {
    #header {
        height: 856px;
    }
}
