.wrapper{
    overflow: clip;
}
.hero{
    position: relative;
    z-index: 1;
    padding: 300px 0 80px 0;
    color: #FFF;
}
.hero-bg{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero .desc{
    margin: 0 0 20px 0;
}
.hero .page-title{
    margin: 0 0 160px 0;
}
.hero .page-title p{
    margin: 0 0 0 17%;
}

/* ORGANIZATIONS */
.organizations{
    margin: 0;
    padding: 100px 0 0 0;
}
.organizations .section_title{
    max-width: 408px;
    margin: 0;
}
.organizations .section_top{
    align-items: flex-start;
    margin: 0 0 100px 0;
}
.organizations .section_top .desc{
    max-width: 533px;
}
.organizations .children{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin: 0 0 -5px 0;
}
.organization_image{
    width: 100%;
    position: relative;
}
.organizations_texts{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: clamp(24px, 4.5vw, 55px);
    font-weight: 500;
    line-height: 140%;
    text-align: center;
    color: #FFF;
}
.organizations_texts div{
    margin: 0 0 18px 0;
    white-space: nowrap;
}
.organizations_texts div:last-child{
    margin: 0;
}

/* ACHIVIMENTS */
.achievement{
    margin: 0;
    padding: 100px 0 160px 0;
}
.achievement_block{
    display: flex;
    align-items: flex-start;
    gap: 116px;
    position: relative;
}
.parallax2{
    position: absolute;
    right: 8%;
    bottom: -33%;
    transition: var(--transition);
}
.achievement_image{
    max-width: 170px;
}
.achievement .achi_title{
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    margin: 0 0 50px 0;
    max-width: 654px;
}
.achievement .document_item{
    max-width: 560px;
}

/* ADVANTAGE */
.advantage{
    margin: 0;
    padding: 0 0 160px 0;
}
.advantage_wrap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 20px;
}
.advantage_item{
    border-radius: 10px;
}
.advantage_item:first-child{
    background-color: var(--primary);
    grid-column: 1;
    grid-row: 1 / span 2;
    color: #FFF;
    padding: 48px 40px;
    background-image: url(../img/content/advantage_bg.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
}
.advantage_item:nth-child(2){
    grid-column: 2;
    grid-row: 1;
    background-color: var(--grey);
    color: var(--text-default);
    padding: 26px 35px;
    height: 230px;
}
.advantage_item:nth-child(3){
    grid-column: 2;
    grid-row: 2;
    background-color: #573C6F;
    color: #FFF;
    padding: 35px;
    height: 230px;
}
.statictic_items{
    grid-column: 1/3;
    grid-row: 3;
    display: flex;
    /* gap: 50px; */
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px 37px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}
.advantage_title{
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    line-height: 140%;
}
.desc:has(+.advantage_title){
    margin: 0 0 17px 0;
}
.advantage_title:has(+.desc){
    margin: 0 0 6px 0;
}
.statistic_item{
    display: flex;
    align-items: center;
    gap: 13px;
}
.statistic_item:first-child{
    width: 356px;
}
.statistic_item:nth-child(2){
    width: 295px;
}
.statistic_item:nth-child(3){
    width: 333px;
}
.statistic_number {
    font-size: 48px;
    font-weight: 600;
    line-height: 140%;
    color: var(--primary);
    white-space: nowrap;
}
.odometer {
    transition-duration: 10s;
}
.statistic_number p{
    margin: 0;
    display: inline;
    line-height: normal;
}

/* SYSTEMS */
.systems{
    margin: 0;
    padding: 0 0 160px 0;
}
.systems .section_top{
    margin: 0 0 100px 0;
    justify-content: space-between;
}
.systems .section_title{
    margin: 0;
    max-width: 501px;
    line-height: normal;
}
.systems .section_top .desc{
    max-width: 533px;
    line-height: 140%;
}

.system_item{
    border-radius: 10px;
    padding: 25px 54px 163px 25px;
    margin: -25px 0 0 0;
    overflow: hidden;
    height: auto;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.system_item:first-child{
    margin: 0;
}
@media(min-width: 99px){
    .system_items {
        position: relative; /* .system_items normal holatga qaytadi */
    }

    .system_item {
        position: sticky;
        top: 0; /* Sticky elementni yuqoriga joylash */
        animation: stack-animation 0.5s linear both;
        opacity: 0;
        transform: translateY(100%) scale(0.8);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    @keyframes stack-animation {
        0% {
            transform: translateY(100%) scale(0.8);
            opacity: 0;
        }
        100% {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}
.system_item:nth-child(odd){
    background-color: var(--primary);
    color: #FFF;
}
.system_item:nth-child(even){
    background-color: var(--grey);
    color: var(--text-default);
}
.system_head{
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin: 0 0 36px 0;
}
.system_number{
    font-size: 20px;
    font-weight: 500;
    margin: 16px 0 0 0;
}
.system_title{
    font-size: clamp(20px, 5vw, 55px);
    font-weight: 600;
}
.system_body{
    display: flex;
    justify-content: flex-end;
    padding: 0 45px 0 80px;
}
.system_body .desc{
    max-width: 461px;
}
/* DOCUMENT */
.document{
    padding: 212px 0 0 0;
}
.document:has(+ section){
    margin: 0;
    padding: 0 0 160px 0;
}
.document .section_title{
    margin: 0 0 40px 0;
}
.document_item{
    border-radius: 10px;
    border: 1px solid #E2E2E2;
    background: #FFF;
    padding: 12px;
    display: flex;
    gap: 24px;
    text-decoration: none;
    margin: 0 0 12px 0;
    transition: var(--transition);
}
.document_item:last-child{
    margin: 0;
}
.document_item .title{
    transition: var(--transition);
}
.document_item:hover .title{
    color: var(--primary);
}
.document_item:hover{
    border-color: var(--primary);
}
.document_text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.document_item p{
    font-size: 14px;
    font-weight: 500;
    color: #7D7D7D;
}
.document_item img{
    width: 84px;
}
.swiper_navigation{
    display: flex;
    align-items: center;
    gap: 28px;
}
.swiper_prev,
.swiper_next{
    display: flex;
}
.pagination{
    display: flex;
    align-items: center;
    gap: 28px;
}
.swiper-pagination-bullet{
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
}
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0;
}
.career{
    margin: 0;
    padding: 100px 0;
    background-color: var(--primary);
    color: #FFF;
}


.career .section_title{
    color: #FFF;
    margin: 0;
}
.career .section_top{
    margin: 0 0 40px 0;
    justify-content: space-between;
    align-items: flex-start;
}
.career .section_top .desc{
    max-width: 533px;
}
.company_text{
    font-size: clamp(45px, 12vw, 180px);
    font-weight: 600;
    line-height: 140%;
    letter-spacing: clamp(1.2px, 0.5vw, 3.6px);
    text-transform: uppercase;
    text-align: center;
    color: #048073;
    margin: 0 0 -86px 0;
}
.career_swiper{
    overflow: visible;
}
.career_swiper .swiper-wrapper{
    padding-right: 30000px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}
.career_swiper .swiper-slide{
    width: min-content;
}

.career_swiper img+.desc{
    margin: 22px 0 0 0;
    line-height: 150%;
    user-select: none;
}
.career .swiper{
    margin-right: -400px;
    margin-left: -400px;
}
.career_swiper .last-slide  {
    margin-right: 380px;
}
.career_swiper .first-slide  {
    margin-left: 380px;
}

.grab_cursor{
    position: absolute;
    width: 136px;
    height: 136px;
    pointer-events: none;
    /* transition: opacity 0.2s ease, transform 0.3s ease; */
    opacity: 0;
    z-index: 10;
    transform: translate(-50%, -50%) scale(.2);
}
.grab_cursor.active{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.grab_cursor img{
    width: 100%;
}

/* COMFORTABLE */
.comfortable{
    margin: 0;
    padding: 160px 0;
}
.comfortable .section_title{
    margin: 0 0 60px 0;
}
.comfortable_row{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.comfort_item,
.comfort_image{
    width: calc(25% - 15px);
    border-radius: 10px;
}
.comfort_image{
    height: auto;
}
.comfort_item{
    color: var(--primary);
    padding: 32px 17px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
}
.comfort_item.bg_gray{
    background-color: var(--grey);
    box-shadow: none;
}
.comfort_item.bg_primary{
    background-color: var(--primary);
    color: #FFF;
    box-shadow: none;
}
.comfort_item.bg_secondary{
    background-color: #573C6F;
    color: #FFF;
    box-shadow: none;
}
.comfort_item.wide,
.comfort_image.wide{
    width: calc(50% - 10px);
}
.comfort_title{
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    word-wrap: break-word;
}
/* HELP SECTION */
.help_section{
    margin: 0;
    padding: 105px 0 160px 0;
    background-color: var(--primary);
    background-image: url(../img/help_bg1.png), url(../img/help_bg2.png);
    background-repeat: no-repeat;
    background-position: left bottom, right top;
}
.help_users{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 0 40px 0;
}
.help_section .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.help_users img{
    margin: 0 0 0 -16px;
    border-radius: 80px;
    border: 1px solid #FFF;
}
.help_users img:first-child{
    margin: 0;
}
.help_users .plus_icon{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background-color: #FFF;

    display: flex;
    align-items: center;
    justify-content: center;
}
.help_section .title{
    max-width: 658px;
    text-align: center;
    color: #FFF;
    margin: 0 0 56px 0;
    line-height: 140%;
}
.help_section .email{
    font-size: clamp(26px, 5vw, 55px);
    font-weight: 600;
    line-height: 140%;
    color: #FFF;
    text-decoration: none;
}

.popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: fadeIn 0.3s ease forwards;
}

.popup_window {
    max-width: 100%;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: scaleUp 0.3s ease forwards;
    background: var(--primary);
    padding: 60px 150px;
    color: #fff;
    border-radius: 20px;
}
@media(max-width:767px) {
    .popup_window {
        max-width: 100%;
        width: 100%;
        height: 100%;
        position: relative;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        animation: scaleUp 0.3s ease forwards;
        background: var(--primary);
        padding: 60px 150px;
        color: #fff;
        border-radius: 0px;
    }
}
.popup_window .form-decor-2{
    z-index:-1;
}
.popup_window .form-decor-1{
    z-index:-1;
}

.popup_close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup_close svg {
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
}
.popup-title{
    font-weight: 600;
    font-size: 55px;
    color: #FFFFFF;
    text-align:center;
}
.popup-subtitle{
    font-size: 24px;
    text-align:center;
}

.error {
    border: 1px solid red !important;
}
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.custom-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    padding: 0;
    user-select: none;
    font-weight: bold;
    transition: color 0.3s;
}

.custom-modal__close:hover {
    color: #008f81;
}

.custom-modal__content {
    position: relative; /* Чтобы позиционировать крестик относительно контейнера */
    background: white;
    padding: 30px 30px 30px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;

    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #252525;
}
.modal__title{
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.015em;
    color: #252525;
    margin-bottom: 8px;
    margin-top: 12px;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.plus_icon {
    cursor: pointer;
    transition: transform 0.2s ease;
}
.plus_icon:hover {
    transform: scale(1.1);
}
.popup_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.popup_form button {
    background-color: #008F81;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup_form button:hover {
    background-color: #006f67;
}

.career-form-bottom{
    margin-top: 20px;
}
.file-input-wrapper {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.file-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    position: relative;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    text-decoration-line: underline;
    color: #FFFFFF;
}


.file-label input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.clip-icon {
    width: 20px;
    height: 20px;
}
.form-item textarea:focus, .form-item textarea:valid{
    height: unset;
}


@media (max-width: 1200px){
    .swiper_navigation,
    .pagination{
        gap: 16px;
    }
    .statictic_items{
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    .statistic_item{
        width: calc(50% - 10px) !important;
    }
}
@media (max-width: 991px){
    .career-form .form-item{
        padding: 0;
    }
    .popup-title{
        font-size: 32px;
    }
    .organizations .section_top{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .document{
        padding: 146px 0 80px 0;
    }
    .section_top{
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    .swiper_navigation,
    .pagination{
        gap: 28px;
    }
    .achievement_block{
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .achievement .section_title,
    .achievement .desc{
        text-align: center;
    }
    .advantage_item:first-child{
        padding: 32px 20px;
    }
    .comfort_item, .comfort_image{
        width: calc(33.3% - 13.3px);
    }
    .comfort_item.wide, .comfort_image.wide {
        width: calc(66% - 2px);
    }
    .career .swiper{
        margin-right: -50px;
        margin-left: -50px;
    }
    .career_swiper .last-slide  {
        margin-right: 150px !important;
    }
    .career_swiper .first-slide  {
        margin-left: 150px !important;
    }
}
@media(max-width:767px){
    .career-form-bottom .checkbox{
        margin-bottom: 10px;
    }
    .career-form-bottom{
        margin-bottom: 10px;
    }
    .popup_window{
        padding: 30px 50px;
    }
    .organizations{
        padding: 60px 0 0 0;
    }
    .hero{
        padding: 150px 0 40px 0;
    }
    .hero .desc{
        margin: 0 0 13px 0;
    }
    .hero .page-title{
        margin: 0 0 167px 0;
    }
    .document_item{
        gap: 14px;
    }
    .document_item img{
        width: 55px;
        height: 61px;
    }
    .organizations_texts div{
        margin: 0 0 12px 0;
    }
    .organizations .section_top{
        margin: 0 0 80px 0;
    }
    .achievement{
        padding: 80px 0 ;
    }
    .achievement_block{
        gap: 30px;
    }
    .achievement .achi_title{
        margin: 0 0 30px 0;
        text-align: center;
    }
    .parallax2{
        width: 180px;
        height: 180px;
        right: 0%;
        bottom: -20%;
    }
    .advantage_wrap{
        display: flex;
        flex-wrap: wrap;
    }
    .advantage_item{
        width: 100%;
    }
    .advantage_item:first-child {
        padding: 32px 20px 97px 20px;
        background-position: left bottom;
        background-size: 76%;
    }
    .advantage_item:nth-child(2){
        min-height: 180px;
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .advantage_item:nth-child(3){
        min-height: 180px;
        padding: 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .desc:has(+.advantage_title){
        margin: 0 0 12px 0;
    }
    .advantage_title:has(+.desc){
        margin: 0 0 4px 0;
    }
    .statictic_items{
        flex-direction: column;
        padding: 20px 25px 30px 25px;
        gap: 20px;
    }
    .statistic_item{
        width: 100% !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .advantage{
        padding: 0 0 80px 0;
    }
    .systems{
        padding: 0 0 80px 0;
    }
    .systems .section_top{
        gap: 12px;
    }
    .systems .section_top{
        margin: 0 0 60px 0;
    }
    .system_item{
        margin: -20px 0 0 0;
        padding: 20px 20px 60px 20px;
        border-radius: 10px;
    }
    .system_head{
        gap: 15px;
        margin: 0 0 8px 0;
    }
    .system_number{
        font-size: 14px;
        margin: 4px 0 0 0;
    }
    .system_body{
        padding: 0 0 0 35px;
    }
    .document:has(+ section){
        padding: 0 0 80px 0;
    }
    .career{
        padding: 60px 0 70px 0;
    }
    .career .section_top{
        margin: 0 0 20px 0;
        gap: 12px;
    }
    .company_text{
        margin: 0 0 -27px 0;
    }
    .career_swiper img+.desc{
        font-size: 12px;
        margin: 12px 0 0 0;
        line-height: 130%;
    }
    .comfortable{
        padding: 45px 0 115px 0;
    }
    .comfortable .section_title{
        margin: 0 0 40px 0;
    }
    .comfort_title{
        font-size: 16px;
    }
    .comfortable_row{
        gap: 10px;
    }
    .comfort_item{
        padding: 21px 10px;
        min-height: 172px;
    }
    .comfort_item, .comfort_image{
        width: calc(50% - 5px);
    }
    .comfort_item.wide, .comfort_image.wide{
        width: 100%;
    }
    .help_section{
        padding: 60px 0 100px 0;
        background-size: 40%, 28%;
        background-position: left 120%, right top;
    }
    .help_users,
    .help_section .title{
        margin: 0 0 28px 0;
    }
}
@media(max-width: 575px){
    .popup_close{
        width: 40px;
        height: 40px;
    }
    .popup-title{
        font-size: 24px;
    }
    .popup-subtitle{
        font-size: 18px;
    }
    .children{
        min-height: 376px;
    }
    .achievement_image{
        width: 108px;
    }
    .career_swiper .swiper-slide img{
        max-width: 100%;
    }
    .career .swiper{
        margin-right: -50px;
    }

    .career_swiper .last-slide  {
        padding-right: 90px !important;
    }
    .career_swiper .first-slide  {
        margin-left: 50px !important;
    }
}