footer {
    background-color: #343436;
    color: #fff;
}

footer .bot_box {
    min-height: 75px;
}

#app {
    min-height: calc(100vh - 75px);
}

#main_navbar {
    border-bottom: 1px solid #e5e5e5;
}

.iti {
    width: 100%;
}

.lang_change.active {
    opacity: 0.5;
}

.gall_full {
    height: 525px;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.gall_full .carousel {
    position: absolute;
    right: 0;
    left: 0;
    height: inherit;
}

.gall_full .carousel-inner, .gall_full .carousel-item {
    height: inherit;
}

.carousel-item {
    text-align: center;
    height: 300px;
}

.carousel-item img {
    height: 100%;
}

.img-crop {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.itm_card > a, .item_p .item_url {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

.itm_card {
    position: relative;
}

.itm_card img {
    transition: .3s ease-in-out;
}

.news-block:hover {
    box-shadow: 0 0 30px 0 rgba(122, 122, 122, .28);
}

.news-block {
    height: 335px;
    overflow: hidden;
    transition: .3s ease-in-out

}

.container {
    max-width: 1440px;
}

.nbs_img {
    height: 170px;
    width: 100%;
}

.news-title {
    font-size: 18px;
}

img {
    opacity: 1;
    transition: opacity 0.3s;
}

img[data-src] {
    opacity: 0;
}

img[src$="no-img.png"] {
    object-fit: contain;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    display: none;
}

::-webkit-scrollbar-thumb {

    background-color: #c3c3c3;

}

::-webkit-resizer {
    height: 6px;

}

::-webkit-scrollbar {
    width: 6px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
    color: #19161d;
    max-width: 40%;
}

.i_logo {
    width: 25%;
}

.container {
    max-width: 1140px;
}

body {
    background-color: #ffffff!important;
}

.new_header{
    margin: 24px 0;
    background-color: #ffffff!important;
    border-bottom: unset!important;
}

.sticky_header {
    position: fixed;
    top: 0;
    width: 100%;
    margin: unset;
    transition: all .3s ease;
}

#button_top {
    display: inline-block;
    background-color: #FFFFFF;
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button_top::after {
    content: "\f176";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #000000;
}
#button_top:hover {
    cursor: pointer;
}
#button_top:active {
    background-color: #555;
}
#button_top.show {
    opacity: 1;
    visibility: visible;
}

.out {
    transform: translateY(-100%);
}

.sticky_header + .main-cont{
    padding-top: 100px;
}

.nav_bar {
    display: flex;
    align-items: center;
    justify-content: end;
}

.nav_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.nav_list>li>a {
    padding: 24px 20px!important;
}

/*.nav_list>li:last-child>a {*/
/*    padding-right: unset!important;*/
/*}*/

.nav_list>li {
    transition: all .3s ease-in-out;
}

.nav_list>li:hover {
    background-color: #000000!important;
}

.nav_list>li>a:hover {
    color: #FFFFFF!important;
}

.nav_list>li>a {
    color: #19161d!important;
}

.main_inf .title, .about_us .title, .technology_stack .stacks_title, .potrfolio .title, .our_team .title, .contact_us .title {
    font-family: "Poppins", sans-serif;
    color: #000000;
}

.main_inf .text, .about_us .text, .technology_stack .text, .potrfolio .text, .portfolio_card, .our_team .title_text, .contact_us .contacts_new {
    font-family: 'Raleway', sans-serif;
}

.main_inf {
    margin-top: 100px;
    /*min-height: 550px;*/
}

.main_content {
    /* блок заголовка на всю ширину контейнера. Было: width: 768px; */
    width: 100%;
}

.main_content>span {
    font-family: "Poppins",sans-serif;
    font-size: 50px;
    line-height: 90px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 0;
    color: #000000;
}

.main_content .text {
    line-height: inherit;
    margin: 30px 0 0 0;
}

.technology_stack {
    margin: 100px 0 0 0;
}

.about_us, .contact_us, .potrfolio, .our_team {
    padding-top: 100px;
}

.about_us .title {
    text-align: center;
}

.about_content {
    display: flex;
    align-items: center;
}

.about_us .about_text {
    display: block;
    padding: 0 0 20px 30px;
}

.about_img>img {
    width: 100%;
}

/*.about_us .text {*/
/*    font-weight: 400;*/
/*    margin-bottom: 15px;*/
/*    width: 100%;*/
/*}*/

.technology_stack {
    background: #000000;
    padding: 100px 0 100px 0;
}

.technology_stack .stacks_title {
    display: block;
    text-align: center;
    letter-spacing: 1px;
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #FFFFFF;
}

.tech_list_block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 130px;
    /*gap: 150px;*/
    color: #FFFFFF;
}

.tech_list_block .title {
    font-family: "Poppins", sans-serif;
}

.tech_list_block:nth-child(2n) {
    flex-direction: row-reverse;
}

.tech_inf {
    width: 50%;
}

.tech_inf>ul {
    font-family: "Raleway", sans-serif;
}

.tech_img {
    width: 50%;
    margin-top: 20px;
}

.tech_img .list {
    font-family: "Raleway", sans-serif;
}

.tech_inf>ul {
    padding-left: 17px;
}

.tech_inf>span {
    display: block;
    width: 90%;
}

.tech_inf>span.title {
    font-weight: 700;
    font-size: 40px;
}

.tech_inf>span.text {
    line-height: 28px;
    margin-bottom: 40px;
}

.tech_inf>ul>li {
    margin-bottom: 15px;
}

.text, .tech_inf>ul>li {
    font-size: 17px;
}

.tech_img>img {
    object-fit: contain;
    object-position: left top;
    width: 100%!important;
    height: 170px!important;
}

.title {
    display: block;
    letter-spacing: 1px;
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 50px;
}

.main_inf .title {
    margin-bottom: 15px;
}

.portfolio_card .text>span {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 16px;
}

.portfolio_card .text>a {
    display: block;
    margin-top: 16px;
    font-weight: 800;
    cursor: pointer;
    width: fit-content;
    border-bottom: 1px solid;
}

.tech_img>div>ul {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 35px;
}

.tech_img>img {
    margin-bottom: 50px;
}

.tech_img>div>span {
    display: block;
    font-size: 17px;
    margin-bottom: 40px;
    line-height: 28px;
}

.potrfolio .title {
    display: block;
    text-align: center;
    letter-spacing: 1px;
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 50px;
}

.p_cards_list {
    display: flex;
    flex-wrap: wrap;
}

.p_cards_list>div:nth-last-child(1){
    margin-bottom: unset;
}

.portfolio_card {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 150px;
}

#co_phone {
    font-family: "Poppins", sans-serif;
}

.portfolio_card:nth-child(2n) {
    flex-direction: row-reverse;
}

.p_img_block {
    width: 50%;
}

.p_img_block>img {
    width: 100%;
    object-fit: contain;
}

.potrfolio .text {
    width: 35%;
}

.our_team .title {
    text-align: center;
}

.our_team .title_text {
    font-weight: 500;
    font-size: 20px;
}

.team_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team_content .team_text {
    display: block;
    padding-bottom: 30px;
}

.team_content>.text {
    /* фото команды убрано — текст на всю ширину. Было: width: 50%; padding: 0 40px 0 0; */
    width: 100%;
    padding: 0;
}

.team_content>.text>span:first-child {
    font-weight: bold;
}

.team_img>img {
    width: 100%;
    object-fit: contain;
}

.contacts_new {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
}

.contacts_new>h2 {
    width: 100%;
}

.contact_form {
    width: 50%;
}

.contact_form>input, .contact_form>textarea{
    margin: 40px 0 40px 0;
}

.our_contacts {
    margin: 0 0 0 100px;
    font-family: "Poppins", sans-serif;
}

.form-control-new {
    display: block;
    width: 100%;
    font-family: "Poppins", sans-serif;
    height: 50px;
    font-size: .9rem;
    line-height: 3;
    color: #495057;
    border: unset;
    background-color: #fff;
    background-clip: padding-box;
    border-bottom: 1px solid #19161d;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    outline: initial;
}

.form-control-new.is-invalid {
    /*border: 1px solid;*/
    background-color: #e3342f61;
}

.contact_form .iti {
    width: 50%;
}

.contact_form .iti>input {
    margin-top: unset!important;
}

.contact_form>div {
    display: flex;
    gap: 55px;
    margin: 0 0 40px 0;
}

.contact_form>div>input, .contact_form>div>select {
    width: 45%;
}

.cont_inf>a {
    font-size: 17px;
    color: #000000;
    display: block;
    margin-bottom: 15px;
}

#contact_loader, #success_send {
    max-height: 36px;
    object-fit: contain;
}

.messangers_list>a {
    color: #000000;
    display: block;
}

.messangers_list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.messangers_list>div {
    width: 12%;
}

.fa-skype:before {
    font-size: 34px!important;
}

.messangers_list .fa {
    font-size: 30px;
}

.new_footer {
    background-color: #000000;
    padding: 20px 0 20px 0;
}

.foot_inf {
    display: block;
    min-height: 56px;
    font-family: 'Raleway', sans-serif;
}

.foot_list {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}

.f_list_block {
    width: 33.33%;
    font-size: 17px;
}

.f_list_block>a {
    padding-right: 25px;
}

.f_list_block .fa {
    font-size: 30px;
}

.iset_button {
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    border: 1px solid;
    font-size: .9rem;
    line-height: 1.6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.button-dark {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.button-outline-dark {
    color: #000000!important;
    background-color: #ffffff;
    border-color: #000000;
}

button {
    outline: unset!important;
}

.button-dark:hover {
    color: #fff!important;
    background-color: #000000;
    border-color: #000000;
}

.button-outline-dark:hover {
    color: #fff!important;
    background-color: #000000;
    border-color: #000000;
}

.send_form>div {
    display: none;
}

.nav_footer_list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
    padding: 0;
    text-transform: uppercase;
    margin: 40px 0 40px 0;
    font-size: 18px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    justify-content: center;
}

.nav_footer_list>li>a {
    padding: unset;
    color: #ffffff;
}

.footer_logo {
    display: block;
    max-width: unset;
    width: 12%;
    margin-right: 99px;
}

.footer_logo .i_logo {
    width: 100%;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: inherit!important;
}

.messangers_list .messangers_b {
    color: #ffffff;
}

@media (max-width: 768px) {

    .nav_bar {
        justify-content: start;
    }

    .tech_list_block {
        display: block;
    }

    .about_content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about_us .about_text {
        padding: 0 0 40px 0;
    }

    .team_content {
        flex-wrap: wrap;
    }

    .team_content>.text {
        width: 100%;
    }

    .tech_img {
        width: 100%;
    }

    .main_content {
        width: 100%;
    }

    .portfolio_card {
        width: 100%;
        display: block;
    }

    .contacts_new {
        /*display: block;*/
    }

    .contact_form {
        display: flex;
        flex-direction: column;
        order: 1;
        width: 100%;
        margin-bottom: 25px;
    }

    .messangers_list>div {
        width: 20%;
    }

    .potrfolio .title {
        text-align: center;
    }

    .potrfolio .text {
        margin: 20px auto;
        width: 100%;
    }

    .tech_inf>span {
        width: 100%;
    }

    .p_img_block {
        width: 100%;
    }

    .our_contacts {
        display: flex;
        flex-direction: column;
        order: 2;
        height: unset;
        margin: unset;
    }

    .about_us .text {
        width: 100%;
    }

    .tech_img>img {
        height: 140px!important;
    }

    .tech_inf {
        width: 100%;
    }

    .footer_logo {
        display: block;
        max-width: unset;
        width: 50%;
        margin-bottom: 30px;
        margin-right: 89px;
    }

    .f_list_block {
        width: 100%;
        font-size: 17px;
        margin-bottom: 24px;
    }

    .nav_footer_list {
        justify-content: flex-start;
    }

    .nav_list>li>a {
        padding: 24px 0!important;
    }

    .team_content>.text {
        padding: 0;
    }

    .team_img {
        width: 100%;
    }

    .foot_list>div:first-child {
        order: 3;
        margin-bottom: unset;
    }

    .foot_list .messangers_list {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 475px) {
    .title {
        font-size: 26px;
    }

    .main_content>span {
        font-size: 22px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 640px) {
    .title {
        font-size: 36px;
    }

    .main_content>span {
        font-size: 28px;
    }
}

@media only screen and (min-width: 640px) and (max-width: 1140px) {
    .main_content .title {
        font-size: 55px;
    }

    .title {
        font-size: 45px;
    }

    .main_content>span {
        font-size: 41px;
    }
}

/* Скрыт бэдж reCAPTCHA. Именно visibility, а не display:none — иначе невидимая капча перестаёт работать */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* === Our Team + Contact Us в две колонки на десктопе ===
   Откат: удалить этот блок и обёртку <div class="team_contact_row"> в layouts/app.blade.php */
@media (min-width: 992px) {
    .team_contact_row {
        display: flex;
        align-items: flex-start;
        gap: 60px;
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .team_contact_row > section {
        flex: 1 1 0;
        min-width: 0;
    }

    .team_contact_row > section > .container {
        max-width: none;
        padding: 0;
    }

    .team_contact_row .our_team .title {
        text-align: left;
    }

    .team_contact_row .contact_form {
        width: 100%;
    }
}
