/* Info Section */
.section_recruitment_info {
    padding: 9rem 0 6rem 0;
}
.main {
    margin-top: 0;
}

.section_recruitment_info {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}

.recruitment_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.recruitment_background img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}
    
.recruitment_info_content_v1 {
    position: relative;
    z-index: 2;
    color: #ffffff;
}
.recruitment_info_content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.desc_recruitment_info {
    display: flex;
    align-items: end;
    justify-content: right;
    border-right: #ffffff 1px solid;
    padding-right: 1rem;
}
.desc_recruitment_info p {
    width: 30%;
    text-align: end;
}
.title_section_recruitment {
    font-size: 2rem;
    width: 50%;
    font-weight: 700;
    text-transform: uppercase;
}

.google_ads_hero_subtitle p {
    color: #ffffff;
    font-weight: 300;
    font-size: 1rem;
}
.google_ads_hero_subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}
.hosting_hero_cta {
    margin-top: 1rem;
}


.job_detail_content .summit_button_position .btn-submit {
    width: auto;
    margin: 1rem auto;
    width: 175px;
    height: 50px;
}

.btn-advise {
    font-size: 15px;
}

.btn-text {
    font-family: "MONTSERRAT";
}

.tabs-list {
    flex-direction: column;
}

.list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 2rem;
}

.list_item {
    padding-left: 1.5rem;
    border-left: 4px solid #3970FF;
}

.list_item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.top {
    top: 1rem;
    left: 1rem;
}

.bot {
    bottom: 1rem;
    left: 1rem;
}

.sub_content {
    padding: 6px 10px;
    background: #fff;
    border-radius: 8px;
    font-size: 15px;
}

.mb_4 {
    margin-bottom: 4px;
}

.bot h3 {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.icon_background {
    background-color: #fff;
    padding: 0.25rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-apply {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px !important;
    padding: 0.5rem;
    border-radius: 2rem;
}

.btn-icon {
    justify-content: center;
    width: 36px;
    height: 36px;
}

.btn-recruitment {
    padding: 6px 8px 6px 20px;
    font-weight: 700;
    font-family: "Montserrat";
}

.text {
    margin-left: 6px;
    font-weight: 600;
}

.stats {
    grid-template-columns: 1fr;
}

.stats_item {
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 0.5rem;
}

.item_head {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.item_head h3,
.item_head span {
    font-weight: bold;
    font-size: 36px;
}

.item_head img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

/* POSITION */
.position {
    padding-top: 2.25rem;
    padding-bottom: 6rem;
}
.positions_item {
    display: flex;
}
.positions_item img {
    padding-right: 1.5rem;
}
.summit_button_position {
    display: flex;
    justify-content: end;
    margin-top: 1rem;
}
.btn-submit {
    background: #012EB4;
}

.position_box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

.stats {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}
.stats_item {
    transition: all 0.3s ease-in-out;
}

.stats_item:hover {
    transform: translateY(-0.35rem);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.stats_item:hover .item_head h3,
.stats_item:hover .item_head span {
    color: #3970FF;
}

.left img {
    width: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
}

/* Job Section  */
.job_section {
    background: #EAEAEAA3;
    position: relative;
    color: #fff;
}
.box_job_section {
    background-image: url('../images/recruitment/bg-job.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.job_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    margin: 0 auto;
    border-top: 1px solid #fd822659;
    border-left: 1px solid #fd822659;
}

.job_item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background-color: rgba(0, 4, 48, 0.55);
    border-bottom: 1px solid #fd822659;
    border-right: 1px solid #fd822659;
    min-height: 300px;
    transition: background-color 0.3s ease;
}

.job_item:hover {
    background-color: transparent;
}
.job_item:hover .job_item_arrow i {
    background-color: rgba(41, 100, 255, 1);
    border-radius: 50%;
    padding: 13px;
}

.job_item_content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.job_item_content p {
    font-size: 1rem;
    font-weight: 400;
    color: #f1f1f1;
    line-height: 1.5;
}

.job_item_arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
    color: #fff;
}

.job_item_arrow i {
    transition: transform 0.3s ease;
}

.job_item.hiding .job_item_arrow i {
    transform: rotate(180deg);
}
.job_item.hiding .job_item_arrow  i,
.job_item.active .job_item_arrow i{
    background-color: rgba(41, 100, 255, 1);
    border-radius: 50%;
    padding: 13px;
    transform: rotate(180deg);
}

.job_item_arrow.special i {
    font-size: 1rem;
    color: #fff;
}
.job_detail_content .summit_button_position {
    margin-top: 0;
}

.job_detail_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #333;
    padding: 2rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.job_item.active .job_detail_box {
    opacity: 1;
    visibility: visible;
    transform: scale(1.01);
}

.job_detail_content {
    text-align: left;
}

.job_detail_box .btn-apply {
    width: 170px !important;
    margin-top: 1rem;
    background-color: #012EB4;
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    justify-content: space-between;
}

.job_detail_box .btn-apply .btn-icon {
    background-color: #fff;
    color: #012EB4;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VOICE CHAT */
.voice_chat {
    padding-bottom: 3rem;
    padding-top: 3rem;
    background-color: #ffffff;
}

.bridging-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.bridging-header h3 {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    color: #111;
}

.bridging-header p {
    font-size: 1rem;
    text-align: center;
    color: #262626;
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.hidden-item {
    display: none;
}

.gallery-item.show {
    display: block;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Layout theo hình ảnh */
.gallery-item:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(7n + 2) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(7n + 3) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:nth-child(7n + 4) {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:nth-child(7n + 5) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(7n + 6) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(7n + 7) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-load-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-load-more {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 32px;
    background-color: #012EB4;
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: #3970FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 46, 180, 0.3);
}

.btn-load-more i {
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateY(3px);
}

.btn-load-more.active i {
    transform: rotate(180deg);
}

/* APPLY FORM */
.form_recruitment {
    background-image: url("../images/recruitment/bg-contact.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 6rem 0;
    position: relative;
}

.form_recruitment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    z-index: 1;
}

.form_recruitment .container {
    position: relative;
    z-index: 2;
}

.form_content {
    color: #fff;
    padding-right: 2rem;
}

.form_title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.form_subtitle {
    font-size: 1.1rem;
    color: #f1f1f1;
    line-height: 1.6;
    margin-bottom: 0;
}

.recruitment_form_wrapper {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form_group {
    margin-bottom: 1.5rem;
}

.form_group label {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #111827;
    margin-bottom: 0.5rem;
}

.form_group input,
.form_group select,
.form_group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    border: none;
    color: #333;
    background: rgba(240, 242, 255, 1);
    transition: all 0.3s ease;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: #012EB4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(1, 46, 180, 0.1);
}

.form_group input::placeholder,
.form_group textarea::placeholder {
    color: #999;
}

.form_group select {
    cursor: pointer;
}

.form_group textarea {
    resize: vertical;
    min-height: 100px;
}

.file_upload {
    position: relative;
}

.file_input_wrapper {
    position: relative;
    cursor: pointer;
}

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

.file_input_display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.file_input_display:hover {
    border-color: #012EB4;
    background: #fff;
}

.file_input_display.file-selected {
    border-color: #012EB4;
    background: #fff;
    color: #012EB4;
}

.btn_submit_recruitment {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #012EB4 0%, #3970FF 100%);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn_submit_recruitment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 46, 180, 0.3);
}


@media (min-width: 575px) {
    section {
        padding: 6rem 0;
    }

    .position {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .right,
    .left {
        flex: 1;
        max-width: 100%;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Job Section Tablet */
    .job_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .job_item_content h3 {
        font-size: 1.75rem;
    }

    .grid_3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bridging-header h3,
    .bridging-header p {
        text-align: left;
    }

    .bridging-header h3 {
        font-size: 2rem;
    }
    .bridging-desc,
    .bridging-title {
        max-width: 100%;
    }

    .content_box {
        flex: 1;
        max-width: 600px;
        text-align: left;
    }

    .form {
        max-width: 558px;
    }

    .form_recruitment {
        padding-bottom: 6rem;
    }

    /* Apply Form Tablet */
    .form_content {
        padding-right: 1rem;
        margin-bottom: 2rem;
    }

    .form_title {
        font-size: 2rem;
    }

    .recruitment_form_wrapper {
        padding: 2rem;
    }

    .tabs-list {
        flex-direction: row;
    }

    .right > h3 {
        text-align: left;
    }

    .job_head h3 {
        text-align: left;
        margin-bottom: 2.25rem;
    }

    .section_info {
        padding-top: 6rem;
    }

    .title_info {
        margin-bottom: 3.25rem;
    }
}

@media (min-width: 991px) {
    .grid_3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .position_box {
        flex-direction: row;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Job Section Desktop */
    .job_grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    
    .job_item {
        padding: 4rem 2rem;
        min-height: 300px;
    }
    
    .job_item_content h3 {
        font-size: 2rem;
    }
    
    .job_item_content p {
        font-size: 1rem;
    }
    
    .job_detail_box {
        padding: 2rem;
    }
    
    .job_detail_box .btn-apply {
        width: 170px !important;
        padding: 12px 20px;
    }

    .right,
    .left {
        flex: 1;
        max-width: 600px;
    }

    .flex_contact {
        flex-direction: row;
        margin-top: 1.5rem;
    }

    .bridging-title {
        max-width: 50%;
    }

    .bridging-desc {
        max-width: 588px;
    }

    .bridging-header {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 3rem;
    }

    .item_head h3,
    .item_head span {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    /*  Info Section */
    .section_recruitment_info {
        padding: 6rem 0 4rem 0;
    }
    
    .recruitment_info_content {
        text-align: center;
    }
    
    .title_section_recruitment {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }
    
    .google_ads_hero_subtitle {
        justify-content: center;
    }
    
    .google_ads_hero_subtitle p {
        font-size: 1rem;
    }
    
    .hosting_hero_cta {
        display: flex;
        justify-content: center;
    }
    
    .desc_recruitment_info {
        justify-content: center;
        border-right: none;
        border-top: #ffffff 1px solid;
        padding-right: 0;
        padding-top: 1rem;
    }
    
    .desc_recruitment_info p {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .recruitment_background img {
        height: 100%;
        object-position: center top;
    }
    /* Position Section */
    .list_item {
        padding-left: 1rem;
    }
    .positions_item img {
        padding-right: 1rem;
    }
    .list_item h3 {
        font-size: 1rem;
    }
    .list_item p {
        font-size: 0.875rem;
    }
    .summit_button_position {
        justify-content: center;
    }
    .list {
        gap: 2rem;
    }
    /* Job Section  */
    .job_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .job_item {
        min-height: 310px;
    }
    
    .job_item_content h3 {
        font-size: 1.5rem;
    }
    
    .job_item_content p {
        font-size: 0.875rem;
    }
    
    .job_detail_box {
        padding: 1.5rem;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 1rem;
    }
    
    /* Reset all nth-child rules for mobile - all items same size */
    .gallery-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Fix mobile gallery show/hide */
    .gallery-item.show {
        display: block !important;
    }
    
    /* Voice Chat Section Mobile */
    .voice_chat {
        padding: 2rem 0;
    }
    
    .bridging-header {
        margin-bottom: 1.5rem;
    }
    
    .bridging-header h3 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .bridging-header p {
        font-size: 0.875rem;
        text-align: center;
    }
    
    /* Apply Form Mobile */
    .form_recruitment {
        padding: 4rem 0;
    }
    
    .form_content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .form_title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .form_subtitle {
        font-size: 1rem;
    }
    
    .recruitment_form_wrapper {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form_group {
        margin-bottom: 1.25rem;
    }
    
    .form_group label {
        font-size: 0.95rem;
    }
    
    .form_group input,
    .form_group select,
    .form_group textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .btn_submit_recruitment {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
