.hero-container-immigration {
    display: flex;
    gap: 15px;
    padding: 50px 15px 0;
    margin-bottom: 70px;
}

.hero-immigration-col-1 {
    flex-basis: 50%;
}

.hero-immigration-col-1 h1 {
    margin: 0px;
}

.hero-immigration-col-1 p {
    color: #37474F;
    line-height: 1.85rem;
}

.hero-immigration-flags {
    background-image: url(../images/page-flags.svg);
    background-repeat: no-repeat;
    background-size: auto 40px;
    display: inline-block;
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-position: calc(var(--flag-index) * -40px) 0;
}

.hero-immigration-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.hero-immigration-list {
    list-style-type: none;
    padding: 0;
    color: #37474F;
    font-size: 19px;
    margin-top: 24px;
}

.hero-immigration-list li {
    margin-bottom: 10px;
    display: flex;
}

.hero-immigration-list li::before {
    width: 24px;
    height: 24px;
    content: '';
    display: inline-block;
    margin-left: 5px;
    margin-right: 0px;
}

.hero-immigration-list li:nth-child(1)::before {
    background: url('../icon/immigration/money_bag.svg') no-repeat;
}

.hero-immigration-list li:nth-child(2)::before {
    background: url('../icon/immigration/license.svg') no-repeat;
}

.hero-immigration-list li:nth-child(3)::before {
    background: url('../icon/immigration/leaderboard.svg') no-repeat;
}

.hero-immigration-list li:nth-child(4)::before {
    background: url('../icon/immigration/world.svg') no-repeat;
}

.hero-immigration-motivational-sentence {
    background-color: #fff;
    border: #D7DADC solid 1px;
    border-radius: 24px;
    box-shadow: 0px 18px 35px 0px rgb(0 0 0 / 9%);
    ;
    padding: 3px 6px;
    margin-bottom: 15px;
    font-size: 11px;
    color: #5D6A71;
    display: flex;
    max-width: max-content;
}

.hero-immigration-motivational-sentence::before {
    background: url('../icon/immigration/star.png') no-repeat;
    width: 16px;
    height: 16px;
    content: '';
    display: inline-block;
    margin-left: 5px;
    margin-right: 0px;
}

.hero-immigration-value {
    font-weight: 800 !important;
    color: #E6AF2E;
    margin-right: 5px;
}

.hero-immigration-col-2 {
    position: relative;
    flex-basis: 50%;
    text-align: left;
    min-height: 430px;
}

.hero-immigration-col-2 img {
    max-width: 499px;
    max-height: 336px;
    border-radius: 24px;
}

.hero-immigration-reserve-box {
    background: #fff url('../icon/immigration/air.svg') no-repeat left top;
    border: #F2F3F3 solid 2px;
    border-radius: 24px;
    width: 431px;
    display: flex;
    position: absolute;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0px 20px 20px 0px rgb(0 0 0 / 5%);
    padding: 24px 5px 24px;
}

.hero-immigration-reserve-box-title {
    font-size: 23px;
    font-weight: 800;
    padding-bottom: 20px;
}

.hero-immigration-reserve-box-btn {
    background-color: #37474F;
    color: #fff;
    justify-content: center;
    display: flex;
    max-width: 296px;
    min-width: 296px;
    height: 48px;
    text-align: center;
    border-radius: 8px;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 9;
    position: relative;
    padding: 16px 12px 16px 16px;
}

.hero-immigration-reserve-box-btn::after {
    content: url(../images/arrow_back_white.svg);
    width: 16px;
    height: 16px;
    position: relative;
    bottom: 0px;
    right: 15px;
}

.hero-immigration-reserve-box-motivation {
    font-size: 13px;
    margin-top: 10px;
}

.hreo-immigration-quick-access {
    display: flex;
    padding: 0 20px;
    gap: 10px;
    list-style: none;
    margin-bottom: 50px;
}

.hreo-immigration-quick-access li {
    flex: 1;
}

.hreo-immigration-quick-access li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 1px solid #D7DADC;
    color: #37474F;
    font-weight: 800;
    border-radius: 16px;
    padding: 16px;
    margin: 6px 0;
    transition: all 0.3s;
    gap: 8px;
    white-space: nowrap;
}
.hreo-immigration-quick-access li a svg { 
    flex-shrink: 0; 
}
@media only screen and (max-width: 1200px) {
    .hero-immigration-reserve-box {
        width: 371px;
    }

    .hero-immigration-col-2 img {
        max-width: 430px;
    }

    .hreo-immigration-quick-access {
        overflow-x: scroll;
    }

    .hreo-immigration-quick-access li {
        max-width: 295.5px;
        min-width: 195.5px;
    }
}

@media only screen and (max-width: 945px) {
    .hero-immigration-reserve-box {
        width: 100%;
    }

}

@media only screen and (max-width: 850px) {
    .hero-container-immigration {
        display: block;
    }

    .hero-immigration-col-2 {
        margin-top: 20px;
        text-align: center;
    }

    .hero-immigration-reserve-box {
        width: 431px;
    }
}

@media only screen and (max-width: 768px) {
    .hero-immigration-col-2 {
        min-height: 390px;
    }

    .hero-immigration-col-1 h1 {
        font-size: 23px;
        font-weight: 800;
    }

    .hero-immigration-flags {
        background-size: auto 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
        background-position: calc(var(--flag-index) * -34px) 0;
    }

    .hero-immigration-reserve-box {
        max-width: 100%;
    }

    .hero-immigration-col-2 img {
        max-width: 399px;
    }

    .hero-container-immigration {
        display: block;
        padding: 15px 15px 0;
        margin-bottom: 40px;
    }

    .hero-immigration-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 14px;
        place-content: center;
    }

    .hero-immigration-list li {
        display: block;
        flex-basis: 48%;
        border: 1px solid #D7DADC;
        border-radius: 8px;
        padding: 5px;
        margin-bottom: 0px;
        text-align: center;

    }

    .hero-immigration-value {
        display: block;
        text-align: center;
    }

    .hero-immigration-list li::before {
        position: relative;
        top: 7px;
    }
    .hreo-immigration-quick-access{
        margin-bottom: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .hero-immigration-col-2 img {
        max-width: 100%;
    }
}