.landing {
    height: 100vh;
    width: 100%;
    background-image: url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.container.main-title {
    height: 100%;
    margin-top: -96px;
    align-items: center;
}

p {
    line-height: 1.75em;
}

h1 {
    font-size: 40px;
    color: #FFF;
    font-weight: 700;
    max-width: 800px;
}

@media all and (max-width: 992px) {
    h1 {
        margin: 0;
        font-size: 32px;
    }
}

@media all and (max-width: 768px) {
    h1 {
        font-size: 28px;
    }
}

@media all and (max-width: 480px) {
    h1 {
        text-align: center;
    }
}

.work {
    margin-top: -120px;
}

.work-box {
    background: #F7F7F7;
    padding: 40px 64px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}


.work-info {
    width: calc(100% - 320px);
    margin-right: 48px;
    display: flex;
    flex-direction: column;
}

.work-title {
    font-size: 32px;
    font-weight: 700;
}

.work-line {
    margin: 24px 0;
    height: 1px;
    background-color: #D6D6D6;
    width: 100%;
}

.work-info p {
    font-weight: 500;
    font-size: 16px;
}

.work-img {
    max-width: 320px;
    width: 100%;
    border-radius: 16px;
}

.work-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 48px;
}

.work-btn {
    font-size: 14px;
    padding: 12px 48px;
    border: 1px solid #E3A83A;
    border-radius: 24px;
    color: #E3A83A;
    font-weight: 700;
    margin-right: 24px;
}

.work-btn:hover {
    background-color: #E3A83A;
    color: #FFF;
}

@media all and (max-width: 1280px) {
    .work-box {
        padding: 40px;
    }
}

@media all and (max-width: 992px) {
    .work-box {
        flex-direction: column-reverse;
    }

    .work-info {
        width: 100%;
        margin-right: 0;
        margin-top: 48px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

}

@media all and (max-width: 768px) {
    .work-title {
        font-size: 28px;
    }
}

@media all and (max-width: 480px) {
    .work-title {
        font-size: 24px;
    }

    .work-box {
        padding: 40px 24px;
    }

    .work-btn {
        padding: 12px 24px;
    }
}

.services {
    padding: 96px 0;
}

.services__next {
    padding-top: 0;
}

.services .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services__title {
    font-size: 32px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services__title::after {
    content: "";
    height: 2px;
    width: 80px;
    background-color: #E3A83A;
}

@media all and (max-width: 768px) {
    .services__title-title {
        font-size: 28px;
    }
}

@media all and (max-width: 480px) {
    .services__title {
        font-size: 24px;
    }
}

.services__wrapper {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 40px;
}

.service-box {
    display: flex;
    flex-direction: column;
    width: calc(100% / 3);
    align-items: center;
}

.service-info {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
    width: 100%;
}

.service-nr {
    color: #E3A83A;
    font-size: 18px;
    font-weight: 700;
}

.service-box h3 {
    color: #3A2213;
    font-size: 18px;
    font-weight: 700;
}

.service-box .service-txt {
    margin-top: 8px;
}

.service-list {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
}

.service-list span {
    line-height: 1.75em;
}

@media all and (max-width: 1280px) {
    .service-info {
        padding: 0;
    }

    .service-box {
        width: calc(100% / 2 - 24px);
    }
}

@media all and (max-width: 992px) {
    .service-img-title {
        font-size: 24px;
    }

    .services .container {
        flex-wrap: wrap;
    }
}

@media all and (max-width: 768px) {
    .service-box {
        width: 100%;
    }
}

.other {
    background-color: #F7F7F7;
    padding: 96px 0;
}


.other .container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.other__title {
    font-size: 32px;
    position: relative;
}

.other__content {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.other__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.other__inner > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.other__inner > div span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.other__inner > div span::before {
    content: "";
    height: 4px;
    width: 4px;
    min-width: 4px;
    border-radius: 100%;
    background-color: #3A2213;
}

.other img {
    width: calc(50% - 20px);
    border-radius: 16px;
}

.other-btn {
    font-size: 14px;
    padding: 12px 48px;
    border: 1px solid #E3A83A;
    border-radius: 24px;
    color: #E3A83A;
    font-weight: 700;
    margin-right: 24px;
    display: flex;
}

@media all and (max-width: 992px) {
    .other__content {
        width: 100%;
    }

    .other img {
        width: 100%;
    }
}

@media all and (max-width: 1280px) {

    .bydleni-wrap {
        flex-direction: column;
    }

    .bydleni-info p {
        max-width: 100%;
    }
}

@media all and (max-width: 992px) {
    .bydleni-wrap {
        width: 100%;
    }

    .bydleni-wrap::after {
        display: none;
    }
}

@media all and (max-width: 768px) {
    .bydleni .container {
        flex-direction: column;
    }

    .bydleni-title {
        padding: 0;
        max-width: 100%;
        font-size: 28px;
    }

    .bydleni-wrap {
        margin-top: 24px;
    }
}

@media all and (max-width: 480px) {
    .other__title {
        font-size: 24px;
    }
}

.contact {
    padding: 96px 0;
}


.contact-box {
    width: 100%;
    margin-left: 48px;
    display: flex;
    flex-direction: column;
}

.contact-img {
    height: 480px;
    width: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.contact__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.contact__content span {
    text-align: left;
}

.contact__content div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact__name {
    font-weight: 600;
}

.contact-title {
    font-size: 32px;
    text-align: left;
}

.contact-line {
    height: 1px;
    width: 100%;
    background-color: #D6D6D6;
    margin: 24px 0;
}

form {
    display: flex;
    flex-direction: column;
    margin-right: 96px;
    margin-top: 8px;
}

.form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

input {
    width: calc(50% - 8px);
}

input, textarea {
    border-radius: 24px;
    padding: 16px 24px;
    border: 1px solid #D6D6D6;
    outline: none;
    resize: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::placeholder {
    font-weight: 600;
    color: #D6D6D6;
}

:focus::placeholder {
    color: #E3A83A;
}

input:focus, textarea:focus {
    border: 1px solid #E3A83A;
}

textarea {
    margin-top: 24px;
    width: 100%;
}

form button {
    font-size: 14px;
    padding: 12px 48px;
    border: 1px solid #E3A83A;
    border-radius: 24px;
    color: #E3A83A;
    font-weight: 700;
    background-color: #FFF;
    margin-top: 24px;
    width: fit-content;
    cursor: pointer;
    transition: 250ms ease;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form button:hover {
    color: #FFF;
    background-color: #E3A83A;
}

.gdpr {
    font-size: 12px;
    color: #D6D6D6;
    margin-top: 12px;
}

.submit-txt {
    color: #E3A83A;
    margin-top: 24px;
    display: none;
}

@media all and (max-width: 1280px) {
    form {
        margin-right: 0;
    }
}

@media all and (max-width: 992px) {
    .contact-img {
        display: none;
    }

    .contact-box {
        margin-left: 0;
    }
}

@media all and (max-width: 768px) {
    .contact-title {
        font-size: 28px;
    }
}

@media all and (max-width: 480px) {
    .contact {
        text-align: center;
    }

    form {
        align-items: center;
    }

    .contact-title {
        font-size: 24px;
    }

    .form-row {
        flex-direction: column;
    }

    input {
        width: 100%;
    }

    input:last-child {
        margin-top: 24px;
    }
}

footer {
    padding: 24px;
    border-top: 1px solid #F7F7F7;
}

footer {
    color: #D6D6D6;
}

footer .container {
    justify-content: space-between;
    align-items: center;
}

footer nav {
    flex-direction: row;
}

footer .nav-item {
    color: #D6D6D6;
    font-size: 14px;
    margin-right: 24px;
}

footer .nav-item:nth-child(4) {
    margin-right: 0;
}

footer span {
    width: 240px;
    font-size: 14px;
    color: #D6D6D6;
    font-weight: 600;
}

footer span:last-child {
    text-align: right;
}

footer a:hover {
    color: #E3A83A;
}

@media all and (max-width: 992px) {
    footer .container {
        flex-direction: column;
    }

    footer span {
        text-align: center;
        width: auto;
    }

    footer span:nth-child(1) {
        order: 3;
    }

    footer span:nth-child(3) {
        order: 1;
    }

    footer nav {
        order: 2;
        margin: 24px 0;
    }

    footer span:last-child {
        text-align: center;
    }

    footer .nav-item {
        display: flex;
    }

    footer nav {
        display: flex;
        flex-direction: row;
    }
}

@media all and (max-width: 480px) {
    footer nav {
        flex-direction: column;
        align-items: center;
        margin: 0;
        order: 1;
    }

    footer .nav-item {
        margin-right: 0;
        margin-bottom: 12px;
    }

    footer span:nth-child(1) {
        order: 3;
    }

    footer span:nth-child(3) {
        order: 2;
        margin-top: 12px;
        margin-bottom: 24px;
    }

}