/*-- site general css --*/
:root {
    --primary-color: #136451;
    --second-color: #edf9ec;
}

strong {
    display: inline;
}

.custom-container {
    margin-left: auto;
    margin-right: auto;
    width: 1280px;
    max-width: 100%;
}

.content-wrapper {
    padding: 6.25rem 0;
}

.content-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 160%;
    color: #414141;
}

.content-title span {
    color: var(--primary-color);
}

.content-description {
    font-size: 16px;
    line-height: 24px;
}

.img-content {
    width: 100%;
}

.hover-img-wrapper {
    margin-bottom: -5px;
    width: 100%;
    display: inline-block;
    overflow: hidden !important;
}

.hover-img {
    transition: all .5s ease-in-out;
}

.past-course-card:hover .hover-img,
.list-news .child:hover .hover-img,
.staff-content:hover .hover-img,
.list .child:hover .hover-img {
    transform: scale(1.1);
}
/*-- end site general css --*/

/*-- site header css --*/
header .header-wrapper .container .wrap .main-navigation > .menu-items > li:nth-last-child(1) a img {
    border-radius: 4px;
    height: 1.15rem !important;
}
/*-- end site header css --*/

/*-- site home page css --*/
main .section-banner-home {
    height: 45rem;
}

.customer-swiper-wrapper .customerSwiper img,
.customer-page-swiper-wrapper .customerSwiper img {
    padding: 24px 0;
    height: 67px;
    border-radius: 8px;
    object-fit: contain;
}

.customer-swiper-wrapper .customerSwiper img {
    background: #fff;
}

.customer-page-swiper-wrapper .customerSwiper {
    padding-bottom: 1px;
}

.customer-page-swiper-wrapper .customerSwiper img {
    border: solid 1px #edf9ec;
    background: #edf9ec;
}

.customer-page-swiper-wrapper .customerSwiper {
    margin-bottom: 6.25rem;
}

.customer-page-swiper-wrapper .customerSwiper img:hover {
    cursor: pointer;
    border: solid 1px #3da333;
}

main .section-6-home .container .bottom .right.active .child .date-and-views {
    align-items: center;
}
/*-- end site home page css --*/

/*-- site about page css --*/
.section-establish,
.section-legal,
.section-staff {
    background: var(--second-color);
}

.establish-content-top {
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    max-width: 100%;
    text-align: center;
}

.establish-title,
.legal-title,
.structure-title,
.cooperation-title {
    margin-bottom: 12px;
}

.establish-content-bottom {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 960px;
    max-width: 100%;
    position: relative;
}

.img-establish {
    height: 540px;
    border-radius: 16px;
    object-fit: cover;
}

.icon-play-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: rgba(0,0,0, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.icon-play {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.legal-content-top {
    margin-left: auto;
    margin-right: auto;
    width: 756px;
    max-width: 100%;
    text-align: center;
}

.legal-content-bottom {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}

.legal-content-bottom .left {
    width: 664px;
    max-width: 100%;
}

.legal-content-wrapper {
    display: flex;
}

.legal-content-wrapper:not(:last-child) {
    margin-bottom: 32px;
}

.icon-check {
    margin-right: 8px;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.legal-content .title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
    color: var(--primary-color);
}

.legal-content .content {
    font-size: 16px;
    line-height: 180%;
}

.legal-content-bottom .right {
    width: 536px;
    max-width: 100%;
}

.structure-content-top {
    margin-left: auto;
    margin-right: auto;
    width: 790px;
    max-width: 100%;
    text-align: center;
}

.img-structure-wrapper {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 940px;
    max-width: 100%;
}

.staffSwiper {
    margin-top: 60px;
}

.staff-content-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.staff-content-top .left {
    width: 800px;
    max-width: 100%;
}

.staff-content-top .right {
    display: flex;
}

.staff-swiper-right {
    margin-left: 16px;
}

.icon-swiper {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-swiper:hover {
    cursor: pointer;
}

.swiper-left-hover,
.swiper-right-hover,
.swiper-left-wrapper:hover .swiper-left,
.swiper-right-wrapper:hover .swiper-right {
    display: none;
}

.swiper-left-wrapper:hover .swiper-left-hover,
.swiper-right-wrapper:hover .swiper-right-hover {
    display: block;
}

.staff-content {
    padding: 16px;
    border-radius: 16px;
    border: solid 1px #e0e0e0;
    background: #fff;
}

.staff-content .hover-img-wrapper,
.img-staff-content {
    border-radius: 8px;
}

.img-staff-content {
    height: 311px;
    object-fit: cover;
}

.staff-content-title {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
    color: var(--primary-color);
}

.staff-content-subtitle {
    font-size: 14px;
    line-height: 100%;
    color: #666;
}

main .section-3-about {
    margin-top: 6.25rem;
}

main .section-4-about {
    margin-bottom: 0 !important;
}

.section-cooperation {
    margin-bottom: 13.75rem;
}

.cooperation-content-top {
    margin-left: auto;
    margin-right: auto;
    width: 790px;
    max-width: 100%;
    text-align: center;
}

.cooperation-swiper-wrapper,
.product-swiper-wrapper,
.service-swiper-wrapper {
    position: relative;
}

.cooperation-swiper-left,
.cooperation-swiper-right,
.product-swiper-left,
.product-swiper-right,
.service-swiper-left,
.service-swiper-right {
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}

.cooperation-swiper-left {
    left: -75px;
}

.product-swiper-left,
.service-swiper-left {
    left: -50px;
}

.cooperation-swiper-right {
    right: -75px;
}

.product-swiper-right,
.service-swiper-right {
    right: -50px;
}

.cooperationSwiper {
    margin-top: 60px;
}

.cooperation-content {
    padding: 24px 16px;
    border-radius: 12px;
    border: solid 1px #e0e0e0;
    text-align: center;
}

.img-cooperation-content {
    margin-bottom: 16px;
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.cooperation-content-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 50px;
    overflow: hidden;
}

.btn-cooperation-content {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.btn-cooperation-content,
.btn-cooperation-content:hover,
.btn-cooperation-content:focus,
.btn-cooperation-content:visited {
    color: #fe3131;
}

/* Keep the cooperation action clean after mouse/touch click. */
.btn-cooperation-content:focus,
.btn-cooperation-content:active {
    outline: none !important;
    box-shadow: none !important;
}

.btn-cooperation-content .icon-right {
    margin-left: 8px;
    width: 20px;
    height: 20px;
    object-fit: contain;
}
/*-- end site about page css --*/

/*-- site register certify css --*/
main .section-register-cretify .container .form .wpcf7-form h3 {
    margin-bottom: 1.25rem;
}

main .section-register-cretify .container .form .wpcf7-form .line .form-group label {
    top: -0.75rem !important;
}

.bg-cretify {
    top: -100px;
    right: 50px;
    width: 1280px;
    height: 1185px;
    object-fit: contain;
    position: absolute;
}

.section-cretify .left,
.section-cretify .right {
    width: 50% !important;
}

.section-cretify .left .list-tab,
.section-cretify .left ul {
    width: 100% !important;
}
/*-- end site register certify css --*/

/*-- site nqi page css --*/
.product-service-wrapper {
    margin-left: auto;
    margin-right: auto;
    padding-top: 6.25rem;
    width: 1426px;
    max-width: 100%;
}

.product-title,
.service-title,
.information-title {
    margin-bottom: 40px;
    text-align: center;
}

.product-content {
    padding: 16px;
    border-radius: 16px;
    border: solid 1px #e5e7eb;
    display: flex;
    align-items: center;
}

.product-content a {
    flex-shrink: 0;
}

.img-product-content {
    width: 291px;
    height: 190px;
    border-radius: 8px;
    object-fit: cover;
}

.product-content-right {
    margin-left: 16px;
}

.product-content-title {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 130%;
    font-weight: 700;
    color: var(--primary-color);
}

.product-content-description {
    font-size: 16px;
    line-height: 24px;
    height: 74px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.service-wrapper {
    margin-top: 77px;
}

.section-halal-nqi-wrapper {
    padding-top: 6.25rem;
    padding-bottom: 12.5rem;
}

main .section-halal-nqi .container {
    padding: 0;
}
/*-- end site nqi page css --*/

/*-- site training page css --*/
.past-course-section {
    padding-top: 6.25rem;
}

.past-course-title {
    margin-bottom: 40px;
    text-align: center;
}

.past-course-swiper {
    padding: 0 12px;
}

.past-course-swiper .swiper-slide {
    padding: 24px 0;
}

.past-course-swiper .past-course-card {
    border-radius: 10px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.025),
        0 12px 30px rgba(0, 0, 0, 0.06);
}

.past-course-card .hover-img-wrapper,
.past-course-thumb {
    border-radius: 10px;
}

.past-course-thumb {
    width: 100%;
    height: 276px;
    object-fit: cover;
}

.past-course-content {
    padding: 16px;
}

.past-course-name {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}

.past-course-name,
.past-course-name a,
.past-course-name a:hover,
.past-course-name a:focus,
.past-course-name a:visited {
    color: var(--primary-color);
}

.past-course-desc,
.past-course-meta {
    font-size: 14px;
    line-height: 24px;
}

.past-course-desc {
    height: 48px;
    overflow: hidden;
}

.past-course-meta {
    margin-top: 12px;
}

.past-course-meta-item {
    display: flex;
    gap: 15px;
}

.past-course-meta-item:not(:last-child) {
    margin-bottom: 10px;
}

.icon-past-course {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.past-course-pagination {
    margin-top: 24px;
    padding-bottom: 1px;
    position: unset;
}

.past-course-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 7px !important;
    background: #bdbdbd;
    opacity: 1;
}

.past-course-pagination .swiper-pagination-bullet-active {
    position: relative;
    background: #34ba51;
}

.past-course-pagination .swiper-pagination-bullet-active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    border: 1px solid #34ba51;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

main .section-training .container {
    padding-bottom: 6.25rem;
}

.training-banner-wrapper {
    padding-bottom: 12.5rem;
}
/*-- end site training page css --*/


/*-- site faqs page css --*/
main .section-faqs .container .left {
    width: 1280px !important;
}

main .section-faqs .container .left .child-faq {
    padding: 20px;
    border-radius: 12px;
    border: solid 1px #f2f2f2;
}

main .section-faqs .container .left .child-faq:has(.show) {
    border: solid 1px var(--primary-color);
    background: var(--second-color);
}

.plus-icon,
.minus-icon,
.icon-down {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.section-faq-contact {
    margin-bottom: 13.75rem;
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to bottom, #19786f, #19786f, #136451)
}

.section-faq-contact .title {
    margin-bottom: 24px;
    font-size: 40px;
    font-weight: 700;
    line-height: 160%;
    color: #f8fff7;
}

.section-faq-contact .description {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    max-width: 100%;
    color: #edf9ec;
}

.section-faq-contact .button-wrapper {
    margin-top: 24px;
}

.section-faq-contact .button-wrapper,
.section-faq-contact .button-wrapper a,
.section-faq-contact .button-wrapper a:hover,
.section-faq-contact .button-wrapper a:focus,
.section-faq-contact .button-wrapper a:visited {
    color: #fff;
}

.section-faq-contact .button-1,
.section-faq-contact .button-2 {
    padding: 16px 32px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 10px;
    display: inline-flex;
}

.section-faq-contact .button-1 {
    margin: 0 8px;
    border: solid 1.5px #fe3131;
    background: #fe3131;
}

.section-faq-contact .button-2 {
    border: solid 1.5px #fff;
}
/*-- end site faqs page css --*/

/*-- site customer page css --*/
/* Keep the customer table at its desktop width and scroll only the table area.
   This matches the Figma behaviour: columns do not squeeze down on tablet/mobile. */
main .section-customer .wrap-customer .container {
    min-width: 0;
}

main .section-customer .wrap-customer .container .table-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}

main .section-customer .wrap-customer .container .table-wrapper::-webkit-scrollbar {
    width: 0 !important;
    height: 2px;
}

main .section-customer .wrap-customer .container .table-wrapper .customer-table {
    width: 100% !important;
    min-width: 72rem;
    margin-bottom: 0;
}

.customer-table thead th,
.customer-table tbody td {
    padding: 1.25rem 0.5rem !important;
}

.customer-table thead th {
    font-size: 16px;
    text-align: center !important;
    white-space: nowrap;
}

.customer-logo {
    width: 80px;
    height: 58px;
    object-fit: contain;
}

.customer-address {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.img-cert-mark {
    width: 150px;
    height: 75px;
    object-fit: cover;
}
/*-- end site customer page css --*/

/*-- site footer css --*/
footer .container .bottom .col-1 .logo,
footer .container .bottom .col-1 .social-media {
    align-self: self-start;
}

main .icon-contact .child figure {
    padding: .5rem;
    width: 2rem;
    height: 2rem;
}
/*-- end site footer css --*/

@media (max-width: 768px) {
    .section-cretify .left,
    .section-cretify .right {
        width: 100% !important;
    }
}

@media (min-width: 600px) and (max-width: 960px) {
    
}

@media (min-width: 800px) and (max-width: 1280px) {
    
}

@media (min-width: 810px) and (max-width: 1080px) {
    
}

@media (min-width: 600px) and (max-width: 960px) and (orientation: landscape) {
    
}

@media (min-width: 800px) and (max-width: 1280px) and (orientation: landscape) {
    
}

@media (min-width: 810px) and (max-width: 1080px) and (orientation: landscape) {
    
}

@media screen and (min-width: 900px) and (max-width: 1440px) {
    .date-and-views,
    .date-and-views .views {
        font-size: 12px !important;
    }

    .product-service-wrapper {
        width: 1152px;
        max-width: 100%;
    }

    .product-swiper-left,
    .service-swiper-left {
        left: -55px;
    }

    .product-swiper-right,
    .service-swiper-right {
        right: -55px;
    }
}

@media (min-width: 992px) and (max-width: 1824px) {
    
}

@media (min-width: 1824px) {
    
}
/*-- FAQ category tabs + responsive layout --*/
.faq-tabs-bar {
    width: 100%;
    padding-top: 40px;
}

.faq-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.faq-tabs::-webkit-scrollbar {
    display: none;
}

.faq-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 20px;
    border-radius: 54px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    background: #ccc;
    transition: all .2s ease-in-out;
}

.faq-tab:hover,
.faq-tab:focus-visible {
    color: var(--primary-color);
    background: #f5fbf4;
}

.faq-tab.active {
    color: #fff;
    border-color: #3ca333;
    background: #3ca333;
}

main .section-faqs .container {
    display: block;
    padding-top: 40px;
    padding-bottom: 100px;
}

main .section-faqs .container .left {
    width: 100% !important;
    gap: 12px;
}

main .section-faqs .container .left .child-faq {
    padding: 18px 16px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease-in-out, background-color .2s ease-in-out;
}

main .section-faqs .container .left .child-faq:last-child {
    border: 1px solid #e6e6e6;
}

main .section-faqs .container .left .child-faq:has(.answer.show) {
    border-color: #68c968;
    background: var(--second-color);
}

main .section-faqs .container .left .child-faq[hidden] {
    display: none !important;
}

main .section-faqs .container .left .child-faq .question {
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}

main .section-faqs .container .left .child-faq .question .title {
    flex: 1 1 auto;
    padding-right: 0;
    color: #17634f;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

main .section-faqs .container .left .child-faq .question .title.show {
    color: #17634f;
}

main .section-faqs .container .left .child-faq .question .icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}

main .section-faqs .container .left .child-faq .answer {
    margin-top: 10px;
    padding-right: 48px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 22px;
}

main .section-faqs .container .left .child-faq .answer > :last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 1312px) {
    .faq-tabs-bar .custom-container,
    main .section-faqs .container {
        width: calc(100% - 32px);
    }
}

@media only screen and (max-width: 767px) {
    .faq-tabs-bar {
        padding: 14px 0 10px;
        border-bottom-width: 2px;
    }

    .faq-tabs-bar .custom-container {
        width: 100%;
    }

    .faq-tabs {
        justify-content: flex-start;
        gap: 8px;
        padding: 0 16px;
    }

    .faq-tab {
        min-height: 36px;
        padding: 7px 13px;
        border-radius: 10px;
        font-size: 13px;
        line-height: 20px;
    }

    main .section-faqs .container {
        width: calc(100% - 32px);
        padding-top: 20px;
        padding-bottom: 64px;
    }

    main .section-faqs .container .left {
        gap: 10px;
    }

    main .section-faqs .container .left .child-faq {
        padding: 15px 14px;
    }

    main .section-faqs .container .left .child-faq .question {
        gap: 12px;
    }

    main .section-faqs .container .left .child-faq .question .title {
        font-size: 15px;
        line-height: 22px;
    }

    main .section-faqs .container .left .child-faq .question .icon,
    main .section-faqs .container .left .child-faq .question .icon .plus-icon,
    main .section-faqs .container .left .child-faq .question .icon .minus-icon,
    main .section-faqs .container .left .child-faq .question .icon .icon-down {
        width: 28px;
        height: 28px;
    }

    main .section-faqs .container .left .child-faq .question .icon {
        flex-basis: 28px;
    }

    main .section-faqs .container .left .child-faq .answer {
        padding-right: 0;
        font-size: 14px;
        line-height: 21px;
    }
}
/*-- end FAQ category tabs + responsive layout --*/

/*-- FAQ load more --*/
.faq-load-more-wrap {
    width: 100%;
    padding-top: 28px;
    text-align: center;
}

.faq-load-more-wrap[hidden] {
    display: none !important;
}

.faq-load-more {
    min-width: 82px;
    padding: 16px 32px;
    border: 1px solid #fe4a4a;
    border-radius: 10px;
    color: #fe4a4a;
    background: #fff;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.faq-load-more:hover,
.faq-load-more:focus-visible {
    color: #fff;
    background: #fe4a4a;
}

@media only screen and (max-width: 767px) {
    .faq-load-more-wrap {
        padding-top: 20px;
    }
}
/*-- end FAQ load more --*/


/*-- Training filter loading --*/
main .section-training .training-filter-results {
    position: relative;
}

main .section-training .training-filter-loading {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.82);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

main .section-training .training-filter-results.is-loading .training-filter-loading {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

main .section-training .training-filter-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #dce8e5;
    border-top-color: #136451;
    border-radius: 50%;
    animation: training-filter-spin .7s linear infinite;
}

main .section-training .training-filter-loading-text {
    color: #136451;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

main .section-training .training-filter-results.is-loading table {
    opacity: .55;
}

main .section-training .training-filter-results table {
    transition: opacity .2s ease;
}

@keyframes training-filter-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    main .section-training .training-filter-spinner {
        animation-duration: 1.4s;
    }
}
/*-- end Training filter loading --*/

/*-- site contact page css --*/
main .section-contact .container .form-and-infor .infor .infor-detail .address span svg {
    flex-shrink: 0;
}
/*-- site contact page css --*/

/*-- Training page responsive --*/
@media only screen and (max-width: 1060px) {
    .past-course-section {
        padding-top: 4.5rem;
    }

    .past-course-swiper {
        padding-left: 8px;
        padding-right: 8px;
    }

    main .section-training .container form {
        gap: 12px;
        margin-bottom: 28px;
    }

    main .section-training .container form .search,
    main .section-training .container form .filter {
        min-width: 0;
    }
}

@media only screen and (max-width: 767px) {
    .past-course-section {
        padding-top: 3rem;
    }

    .past-course-title {
        margin-bottom: 22px;
    }

    .past-course-swiper {
        padding: 0 4px;
        overflow: hidden;
    }

    .past-course-swiper .swiper-slide {
        padding: 10px 0 18px;
    }

    .past-course-swiper .past-course-card {
        height: 100%;
    }

    .past-course-thumb {
        height: clamp(180px, 54vw, 230px);
    }

    .past-course-content {
        padding: 14px;
    }

    .past-course-name {
        font-size: 16px;
        line-height: 22px;
    }

    .past-course-meta-item {
        gap: 10px;
        align-items: flex-start;
    }

    main .section-training .container {
        padding-top: 3rem;
        padding-bottom: 4.5rem;
    }

    main .section-training .container form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    main .section-training .container form .search {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    main .section-training .container form .filter {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

    main .section-training .container form .search input,
    main .section-training .container form .filter input {
        width: 100%;
        min-width: 0;
        height: 48px;
        font-size: 14px;
        line-height: 1.2;
        background: #fff;
    }

    main .section-training .container form .search input {
        padding: 0 12px 0 42px;
    }

    main .section-training .container form .search button {
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    main .section-training .container form .filter input {
        padding: 0 10px 0 72px;
    }

    main .section-training .container form .filter label {
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        gap: 5px;
        white-space: nowrap;
        font-size: 13px;
        line-height: 1;
    }

    main .section-training .container form .filter label svg {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
    }

    main .section-training .container .pagination {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 24px;
    }

    main .section-training .training-filter-loading {
        position: fixed;
        z-index: 9999;
        inset: 0;
        min-height: 100dvh;
        background: rgba(255, 255, 255, 0.88);
    }

    .training-banner-wrapper {
        padding-bottom: 5rem;
    }

    .training-banner-wrapper .img-traning-banner {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 520px) {
    main .section-training .container form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    main .section-training .container form .search,
    main .section-training .container form .filter {
        grid-column: 1;
    }

    main .section-training .container form .search input,
    main .section-training .container form .filter input {
        height: 50px;
    }

    main .section-training .container form .filter input {
        padding-left: 80px;
    }


    .past-course-pagination {
        margin-top: 14px;
    }
}

/*-- end Training page responsive --*/

/*-- Responsive: About sections + Halal NQI product/service --*/
@media (max-width: 1365px) {
    .custom-container {
        width: auto;
        max-width: none;
        margin-left: 32px;
        margin-right: 32px;
    }

    .product-service-wrapper {
        width: auto;
        max-width: none;
        margin-left: 32px;
        margin-right: 32px;
    }

    .cooperation-swiper-left {
        left: -24px;
    }

    .cooperation-swiper-right {
        right: -24px;
    }

    .product-swiper-left,
    .service-swiper-left {
        left: -24px;
    }

    .product-swiper-right,
    .service-swiper-right {
        right: -24px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .content-title,
    .section-faq-contact .title {
        font-size: 34px;
        line-height: 1.35;
    }

    .custom-container,
    .product-service-wrapper {
        margin-left: 24px;
        margin-right: 24px;
    }

    .establish-content-bottom {
        margin-top: 32px;
        width: min(100%, 820px);
    }

    .img-establish {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .legal-content-bottom {
        margin-top: 48px;
        gap: 40px;
    }

    .legal-content-bottom .left,
    .legal-content-bottom .right {
        width: calc(50% - 20px);
    }

    .img-legal,
    .img-structure {
        height: auto;
    }

    .img-structure-wrapper {
        margin-top: 40px;
    }

    .staffSwiper,
    .cooperationSwiper {
        margin-top: 40px;
    }

    .staff-content-top .left {
        width: calc(100% - 130px);
    }

    .staff-content {
        height: 100%;
    }

    .img-staff-content {
        height: auto;
        aspect-ratio: 1 / 1.12;
    }

    .section-cooperation {
        margin-bottom: 120px;
    }

    .cooperation-swiper-wrapper,
    .product-swiper-wrapper,
    .service-swiper-wrapper {
        padding-bottom: 64px;
    }

    .cooperation-swiper-left,
    .product-swiper-left,
    .service-swiper-left {
        top: auto;
        bottom: 0;
        left: calc(50% - 60px);
        right: auto;
    }

    .cooperation-swiper-right,
    .product-swiper-right,
    .service-swiper-right {
        top: auto;
        bottom: 0;
        left: auto;
        right: calc(50% - 60px);
    }

    .product-service-wrapper {
        padding-top: 72px;
    }

    .product-title,
    .service-title {
        margin-bottom: 32px;
    }

    .product-content {
        flex-direction: column;
        align-items: stretch;
        height: 100%;
    }

    .img-product-content {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .product-content-right {
        margin-top: 16px;
        margin-left: 0;
    }

    .product-content-description {
        height: auto;
        min-height: 72px;
    }

    .service-wrapper {
        margin-top: 64px;
    }
}

@media (max-width: 900px) {
    .legal-content-bottom {
        flex-direction: column;
        gap: 36px;
    }

    .legal-content-bottom .left,
    .legal-content-bottom .right {
        width: 100%;
    }

    .legal-content-bottom .right {
        display: flex;
        justify-content: center;
    }

    .img-legal {
        width: min(100%, 620px);
    }
}

@media (max-width: 767px) {
    .content-wrapper {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .content-title,
    .section-faq-contact .title {
        font-size: 28px;
        line-height: 1.3;
    }

    .content-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .custom-container,
    .product-service-wrapper {
        margin-left: 16px;
        margin-right: 16px;
    }

    .section-establish,
    .section-legal,
    .section-structure {
        padding-left: 16px;
        padding-right: 16px;
    }

    .establish-title,
    .legal-title,
    .structure-title,
    .cooperation-title {
        margin-bottom: 10px;
    }

    .establish-content-top,
    .legal-content-top,
    .structure-content-top,
    .cooperation-content-top {
        width: 100%;
    }

    .establish-content-bottom {
        margin-top: 24px;
    }

    .img-establish,
    .icon-play-wrapper {
        border-radius: 10px;
    }

    .icon-play {
        width: 52px;
        height: 52px;
    }

    .legal-content-bottom {
        margin-top: 32px;
        gap: 28px;
    }

    .legal-content-wrapper:not(:last-child) {
        margin-bottom: 24px;
    }

    .icon-check {
        width: 20px;
        height: 20px;
    }

    .legal-content .title {
        margin-bottom: 6px;
        font-size: 16px;
    }

    .legal-content .content {
        font-size: 15px;
        line-height: 1.65;
    }

    .img-structure-wrapper {
        margin-top: 28px;
        width: 100%;
    }

    .img-structure {
        display: block;
        width: 100%;
        height: auto;
    }

    .staff-content-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .staff-content-top .left,
    .staff-content-top .right {
        width: 100%;
    }

    .staff-content-top .right {
        justify-content: flex-end;
    }

    .staffSwiper {
        margin-top: 28px;
    }

    .icon-swiper {
        width: 42px;
        height: 42px;
    }

    .staff-swiper-right {
        margin-left: 12px;
    }

    .staff-content {
        padding: 12px;
        border-radius: 12px;
    }

    .img-staff-content {
        border-radius: 8px;
    }

    .staff-content-title {
        margin-top: 12px;
        font-size: 16px;
    }

    .staff-content-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    .section-cooperation {
        margin-bottom: 72px;
    }

    .cooperationSwiper {
        margin-top: 28px;
    }

    .cooperation-content {
        padding: 20px 14px;
        border-radius: 10px;
    }

    .img-cooperation-content {
        margin-bottom: 12px;
        width: 120px;
        height: 120px;
    }

    .cooperation-content-title {
        height: auto;
        min-height: 45px;
        font-size: 16px;
    }

    .btn-cooperation-content {
        margin-top: 12px;
        font-size: 15px;
    }

    .product-service-wrapper {
        padding-top: 48px;
    }

    .product-title,
    .service-title {
        margin-bottom: 24px;
    }

    .product-content {
        padding: 12px;
        border-radius: 12px;
    }

    .img-product-content {
        border-radius: 8px;
        aspect-ratio: 16 / 9;
    }

    .product-content-right {
        margin-top: 14px;
    }

    .product-content-title {
        margin-bottom: 6px;
        font-size: 16px;
        line-height: 1.4;
    }

    .product-content-description {
        min-height: 0;
        font-size: 15px;
        line-height: 1.55;
    }

    .service-wrapper {
        margin-top: 52px;
    }

    .cooperation-swiper-wrapper,
    .product-swiper-wrapper,
    .service-swiper-wrapper {
        padding-bottom: 58px;
    }

    .cooperation-swiper-left,
    .product-swiper-left,
    .service-swiper-left {
        left: calc(50% - 54px);
    }

    .cooperation-swiper-right,
    .product-swiper-right,
    .service-swiper-right {
        right: calc(50% - 54px);
    }
}

@media (max-width: 480px) {
    .content-title,
    .section-faq-contact .title {
        font-size: 26px;
    }

    .custom-container,
    .product-service-wrapper {
        margin-left: 14px;
        margin-right: 14px;
    }

    .section-establish,
    .section-legal,
    .section-structure {
        padding-left: 14px;
        padding-right: 14px;
    }

    .icon-play {
        width: 46px;
        height: 46px;
    }

    .staff-content-top .right {
        justify-content: flex-start;
    }

    .img-cooperation-content {
        width: 105px;
        height: 105px;
    }

    .product-content-description {
        -webkit-line-clamp: 4;
    }

    .button-wrapper {
        text-align: center;
    }
    .section-faq-contact .button-1,
    .section-faq-contact .button-2 {
        min-width: 200px;
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }

    .section-faq-contact .button-1 {
        margin: 0 0 12px 0;
    }
}
/*-- end responsive: About sections + Halal NQI product/service --*/

/*-- Keep custom-container responsive width consistent with main .container --*/
.custom-container {
    width: 80rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1480px) {
    .custom-container {
        width: 72rem;
    }
}

@media only screen and (max-width: 1280px) {
    .custom-container {
        width: 60rem;
    }
}

@media only screen and (max-width: 1060px) {
    .custom-container {
        width: 44rem;
    }
}

@media only screen and (max-width: 767px) {
    .custom-container {
        width: 28rem;
    }
}

@media only screen and (max-width: 480px) {
    .custom-container {
        width: 22rem;
    }
}

/*-- Final responsive alignment: custom wrappers use the exact same horizontal width as main .container --*/
.custom-container {
    box-sizing: border-box;
}

@media only screen and (max-width: 1060px) {
    main .custom-container,
    main .establish-content-top,
    main .establish-content-bottom,
    main .legal-content-top,
    main .structure-content-top,
    main .img-structure-wrapper,
    main .cooperation-content-top,
    main .product-service-wrapper {
        width: 44rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 767px) {
    main .custom-container,
    main .establish-content-top,
    main .establish-content-bottom,
    main .legal-content-top,
    main .structure-content-top,
    main .img-structure-wrapper,
    main .cooperation-content-top,
    main .product-service-wrapper {
        width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 480px) {
    main .custom-container,
    main .establish-content-top,
    main .establish-content-bottom,
    main .legal-content-top,
    main .structure-content-top,
    main .img-structure-wrapper,
    main .cooperation-content-top,
    main .product-service-wrapper {
        width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/*-- Responsive: Register certificate page --*/
.page-register-cretify {
    overflow: hidden;
}

.page-register-cretify .section-register-cretify {
    overflow: hidden;
    width: 100%;
}

.page-register-cretify .section-register-cretify .container,
.page-register-cretify .section-register-cretify .container .form,
.page-register-cretify .section-register-cretify .container .form .wpcf7,
.page-register-cretify .section-register-cretify .container .form .wpcf7-form {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.page-register-cretify .section-register-cretify .container .form .wpcf7-form .line,
.page-register-cretify .section-register-cretify .container .form .wpcf7-form .form-group,
.page-register-cretify .section-register-cretify .container .form .wpcf7-form .wpcf7-form-control-wrap {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.page-register-cretify .section-register-cretify .container .form .wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.page-register-cretify .section-register-cretify .container .form .wpcf7-form select,
.page-register-cretify .section-register-cretify .container .form .wpcf7-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
    /* Banner: the original 39.375rem content width overflows phones. */
    .page-register-cretify .section-banner {
        width: 100%;
        overflow: hidden;
    }

    .page-register-cretify .section-banner .banner img {
        object-fit: cover;
        object-position: center;
    }

    .page-register-cretify .section-banner .container {
        width: calc(100% - 2rem);
        max-width: 28rem;
        padding-top: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .page-register-cretify .section-banner .container .bot {
        flex-wrap: wrap;
        row-gap: 0.35rem;
        margin-bottom: 0.75rem;
    }

    .page-register-cretify .section-banner .container h2.title {
        font-size: 1.625rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
        overflow-wrap: anywhere;
    }

    .page-register-cretify .section-banner .container > span {
        display: block;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .page-register-cretify .section-register-cretify .container {
        width: calc(100% - 2rem);
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
        padding-top: 3rem;
        padding-bottom: 5rem;
        box-sizing: border-box;
    }

    .page-register-cretify .section-register-cretify .container h2.title {
        font-size: 1.625rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .page-register-cretify .section-register-cretify .container .description {
        padding: 0;
        margin-bottom: 2rem;
        font-size: 0.875rem;
        line-height: 1.55;
    }

    .page-register-cretify .section-register-cretify .container .form {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2.5rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form {
        width: 100%;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form h3 {
        width: 100%;
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    /* All two-column CF7 rows become one column on mobile. */
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-1,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-3,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-5,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-7,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-9 {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line .form-group label {
        top: -0.7rem !important;
        left: 0.65rem;
        max-width: calc(100% - 1.3rem);
        padding: 0 0.4rem;
        font-size: 0.875rem;
        line-height: 1.35;
        white-space: normal;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form select,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form textarea {
        min-height: 3.125rem;
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
        line-height: 1.45;
        border-radius: 0.625rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form textarea {
        min-height: 7.5rem;
        resize: vertical;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .form-register {
        width: 100%;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .form-register a {
        gap: 0.75rem;
        padding: 0.75rem 0.875rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .form-register a span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-10 {
        height: 6.75rem;
        margin-bottom: 2rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-10 label {
        padding: 1rem;
        text-align: center;
        flex-wrap: wrap;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form button[type="submit"] {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
    }

    .page-register-cretify .section-register-cretify .container .form .notice {
        width: 100%;
        margin-top: 0;
        box-sizing: border-box;
    }

    .page-register-cretify .section-register-cretify .container .form .notice h3 {
        font-size: 1.125rem;
        margin-bottom: 0.875rem;
    }

    .page-register-cretify .section-register-cretify .container .form .notice strong,
    .page-register-cretify .section-register-cretify .container .form .notice > ul li {
        font-size: 0.875rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .page-register-cretify .section-register-cretify .container .form .notice > ul {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        padding-left: 1.25rem;
    }

    .page-register-cretify .section-register-cretify .container .form .notice .infor {
        gap: 1rem;
    }

    .page-register-cretify .section-register-cretify .container .form .notice .infor .child {
        gap: 0.875rem;
        min-width: 0;
    }

    .page-register-cretify .section-register-cretify .container .form .notice .infor .child .icon {
        flex: 0 0 auto;
    }

    .page-register-cretify .section-register-cretify .container .form .notice .infor .child .right {
        min-width: 0;
    }

    .page-register-cretify .section-register-cretify .container .form .notice .infor .child .right span {
        font-size: 0.875rem;
        overflow-wrap: anywhere;
    }

    /* Decorative background must never create horizontal page overflow. */
    .page-register-cretify .section-register-cretify .bg-cretify {
        width: 52rem;
        max-width: none;
        height: auto;
        top: 3rem;
        left: 50%;
        transform: translateX(-35%);
        object-fit: contain;
        pointer-events: none;
    }
}

@media only screen and (max-width: 480px) {
    .page-register-cretify .section-banner {
        height: 18rem;
    }

    .page-register-cretify .section-banner .container,
    .page-register-cretify .section-register-cretify .container {
        width: calc(100% - 2rem);
        max-width: none;
    }

    .page-register-cretify .section-banner .container h2.title {
        font-size: 1.375rem;
    }

    .page-register-cretify .section-register-cretify .container {
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }

    .page-register-cretify .section-register-cretify .container h2.title {
        font-size: 1.5rem;
    }

    .page-register-cretify .section-register-cretify .container .description {
        margin-bottom: 1.75rem;
    }

    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-1,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-3,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-5,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-7,
    .page-register-cretify .section-register-cretify .container .form .wpcf7-form .line-9 {
        gap: 1.35rem;
    }

    .page-register-cretify .section-register-cretify .container .form .notice .infor .child .icon svg {
        padding: 0.75rem;
    }

    .page-register-cretify .section-register-cretify .bg-cretify {
        width: 44rem;
        top: 7rem;
        transform: translateX(-34%);
    }
}
/*-- end responsive: Register certificate page --*/

/* =========================================================
   Subpage banner Swiper
   ========================================================= */
.section-banner.section-banner-slider {
    display: block;
    overflow: hidden;
}

.section-banner-slider .subpage-banner-swiper,
.section-banner-slider .swiper-wrapper,
.section-banner-slider .subpage-banner-slide {
    width: 100%;
    height: 100%;
}

.section-banner-slider .subpage-banner-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-banner-slider .subpage-banner-slide .banner,
.section-banner-slider .subpage-banner-slide .banner picture,
.section-banner-slider .subpage-banner-slide .subpage-banner-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.section-banner-slider .subpage-banner-slide .banner img,
.section-banner-slider .subpage-banner-slide .subpage-banner-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-banner-slider .subpage-banner-slide .subpage-banner-video {
    border: 0;
    background: #000;
}

.section-banner-slider .subpage-banner-slide .backdrop-banner {
    z-index: 1;
}

.section-banner-slider .subpage-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.section-banner-slider .subpage-banner-content a {
    pointer-events: auto;
}

.section-banner-slider .subpage-banner-description {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .01rem;
}

.section-banner-slider .subpage-banner-description > *:last-child {
    margin-bottom: 0;
}

.section-banner-slider .subpage-banner-pagination {
    z-index: 5;
    bottom: 1.5rem !important;
}

.section-banner-slider .subpage-banner-pagination .swiper-pagination-bullet {
    width: .625rem;
    height: .625rem;
    margin: 0 .35rem !important;
    background: #fff;
    opacity: .5;
}

.section-banner-slider .subpage-banner-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.section-banner-slider .subpage-banner-prev,
.section-banner-slider .subpage-banner-next {
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .18);
    transition: background .25s ease, border-color .25s ease;
}

.section-banner-slider .subpage-banner-prev {
    left: 2rem;
}

.section-banner-slider .subpage-banner-next {
    right: 2rem;
}

.section-banner-slider .subpage-banner-prev::after,
.section-banner-slider .subpage-banner-next::after {
    font-size: 1rem;
    font-weight: 700;
}

.section-banner-slider .subpage-banner-prev:hover,
.section-banner-slider .subpage-banner-next:hover {
    border-color: #fff;
    background: rgba(0, 0, 0, .4);
}

/* Override rule cũ `.container > span` vì mô tả slider dùng div. */
.section-banner-slider .subpage-banner-description p {
    margin: 0;
}

@media only screen and (max-width: 1060px) {
    .section-banner-slider .subpage-banner-prev {
        left: 1rem;
    }

    .section-banner-slider .subpage-banner-next {
        right: 1rem;
    }
}

@media only screen and (max-width: 767px) {
    .section-banner-slider .subpage-banner-content {
        width: min(28rem, calc(100% - 2rem));
        padding-left: 0;
        padding-right: 0;
    }

    .section-banner-slider .subpage-banner-description {
        font-size: .875rem;
    }

    .section-banner-slider .subpage-banner-prev,
    .section-banner-slider .subpage-banner-next {
        display: none;
    }

    .section-banner-slider .subpage-banner-pagination {
        bottom: .875rem !important;
    }
}

@media only screen and (max-width: 480px) {
    .section-banner-slider .subpage-banner-content {
        width: min(22rem, calc(100% - 2rem));
    }

    .section-banner-slider .subpage-banner-description {
        font-size: .8125rem;
        line-height: 1.5;
    }
}

/* =========================================================
   Fix responsive subpage banner content
   Keep breadcrumb/title/description fully inside the mobile viewport.
   ========================================================= */
main .section-banner.section-banner-slider .subpage-banner-content {
    width: min(39.375rem, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    box-sizing: border-box;
}

main .section-banner.section-banner-slider .subpage-banner-description,
main .section-banner.section-banner-slider .subpage-banner-description p {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
    main .section-banner.section-banner-slider .subpage-banner-content {
        width: calc(100% - 2rem);
        max-width: 28rem;
        padding: 0;
        margin: 0;
    }

    main .section-banner.section-banner-slider .subpage-banner-content .bot {
        flex-wrap: wrap;
        row-gap: .25rem;
        margin-bottom: .75rem;
    }

    main .section-banner.section-banner-slider .subpage-banner-content h2.title {
        margin-bottom: .75rem;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    main .section-banner.section-banner-slider .subpage-banner-description {
        display: block;
        font-size: .875rem;
        line-height: 1.5;
    }

    main .section-banner.section-banner-slider .subpage-banner-description p {
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    main .section-banner.section-banner-slider {
        height: 22rem;
    }

    main .section-banner.section-banner-slider .subpage-banner-content {
        width: calc(100% - 2rem);
        max-width: 22rem;
    }

    main .section-banner.section-banner-slider .subpage-banner-description {
        font-size: .8125rem;
        line-height: 1.45;
    }
}

/* =========================================================
   Fix mobile footer newsletter overlap
   Reserve the space occupied by the absolutely-positioned
   newsletter card so it no longer covers the last content
   of pages such as Training and Certification Registration.
   Desktop layout is unchanged.
   ========================================================= */
@media only screen and (max-width: 767px) {
    footer {
        margin-top: 7.5rem;
    }

    footer .container {
        width: min(28rem, calc(100% - 2rem));
        max-width: calc(100% - 2rem);
    }

    footer .container .top {
        width: 100%;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 480px) {
    footer {
        margin-top: 6rem;
    }

    footer .container {
        width: min(22rem, calc(100% - 2rem));
    }
}

/* =========================================================
   Customer table: mouse drag horizontal scroll + vertical align
   ========================================================= */
main .section-customer .wrap-customer .container .table-wrapper {
    cursor: grab;
}

main .section-customer .wrap-customer .container .table-wrapper.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

main .section-customer .wrap-customer .container .table-wrapper .customer-table th,
main .section-customer .wrap-customer .container .table-wrapper .customer-table td {
    vertical-align: middle !important;
}

main .section-customer .wrap-customer .container .table-wrapper .customer-table td p {
    margin-top: 0;
    margin-bottom: 0;
}

main .section-customer .wrap-customer .container .table-wrapper .customer-table .customer-logo,
main .section-customer .wrap-customer .container .table-wrapper .customer-table .img-cert-mark {
    display: block;
}


/* =========================================================
   Customer search results: keep AJAX rows identical to normal table rows
   ========================================================= */
main .section-customer .wrap-customer .container .table-wrapper .customer-table .customer-no-results {
    text-align: center !important;
    padding: 2rem 1rem !important;
    white-space: normal;
}

/*-- Halal NQI: responsive for physical 1366-1600 displays.
     125% Windows scale maps these displays to ~1093-1280 CSS px.
     The resolution guard prevents 1920px @ 125% (1536 CSS px) from matching. --*/
@media only screen and (min-width: 1080px) and (max-width: 1280px) and (min-resolution: 1.15dppx) and (max-resolution: 1.35dppx) {
    main .product-service-wrapper {
        width: calc(100% - 180px);
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    main .product-content {
        min-width: 0;
        padding: 14px;
    }

    main .product-content > a {
        width: 42%;
        flex: 0 0 42%;
        min-width: 0;
    }

    main .img-product-content {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 291 / 190;
        object-fit: cover;
    }

    main .product-content-right {
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 14px;
        overflow: hidden;
    }

    main .product-content-title {
        font-size: 17px;
        line-height: 1.35;
    }

    main .product-content-title a,
    main .product-content-description {
        overflow-wrap: anywhere;
    }

    main .product-content-description {
        font-size: 15px;
        line-height: 22px;
        height: 66px;
    }

    /* Keep NQI navigation fully outside the slide cards. */
    main .product-swiper-left,
    main .service-swiper-left {
        left: -64px;
    }

    main .product-swiper-right,
    main .service-swiper-right {
        right: -64px;
    }
}

@media only screen and (min-width: 1281px) and (max-width: 1600px) and (max-resolution: 1.10dppx) {
    main .product-service-wrapper {
        width: calc(100% - 200px);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    main .product-content {
        min-width: 0;
        padding: 14px;
    }

    main .product-content > a {
        width: 44%;
        flex: 0 0 44%;
        min-width: 0;
    }

    main .img-product-content {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 291 / 190;
        object-fit: cover;
    }

    main .product-content-right {
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 16px;
        overflow: hidden;
    }

    main .product-content-title a,
    main .product-content-description {
        overflow-wrap: anywhere;
    }

    /* Keep NQI navigation fully outside the slide cards. */
    main .product-swiper-left,
    main .service-swiper-left {
        left: -64px;
    }

    main .product-swiper-right,
    main .service-swiper-right {
        right: -64px;
    }
}
/*-- end Halal NQI desktop responsive --*/

/*-- About: International cooperation detail popup (Figma 6033:21076) --*/
body.cooperation-modal-open {
    overflow: hidden;
}

.cooperation-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    isolation: isolate;
}

.cooperation-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cooperation-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
}

.cooperation-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: center;
    column-gap: 32px;
    width: min(732px, calc(100vw - 48px));
    min-height: 268px;
    max-height: calc(100vh - 48px);
    padding: 50px;
    overflow-y: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    outline: none;
    transform: translateY(12px) scale(.985);
    transition: transform .2s ease;
}

.cooperation-modal.is-open .cooperation-modal__dialog {
    transform: translateY(0) scale(1);
}

.cooperation-modal__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 270px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5faf5;
}

.cooperation-modal__image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 24px;
    object-fit: contain;
}

.cooperation-modal__content {
    min-width: 0;
}

.cooperation-modal__title {
    margin: 0 0 14px;
    color: #333;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.cooperation-modal__description,
.cooperation-modal__description p {
    color: #414141;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

.cooperation-modal__description p {
    margin: 0;
}

.cooperation-modal__description p + p {
    margin-top: 10px;
}

.cooperation-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #414141;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease;
}

.cooperation-modal__close:hover,
.cooperation-modal__close:focus {
    background: #f1f1f1;
    outline: none;
}

.cooperation-modal__close {
    display: none;
}

@media (max-width: 767px) {
    .cooperation-modal {
        padding: 16px;
    }

    .cooperation-modal__dialog {
        grid-template-columns: 1fr;
        row-gap: 22px;
        width: min(100%, 560px);
        max-height: calc(100vh - 32px);
        min-height: 0;
        padding: 24px;
        overflow-y: auto;
        border-radius: 14px;
    }

    .cooperation-modal__image-wrap {
        width: 100%;
        height: 190px;
        padding: 16px;
        box-sizing: border-box;
    }

    .cooperation-modal__image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .cooperation-modal__title {
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 1.35;
    }

    .cooperation-modal__description,
    .cooperation-modal__description p {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .cooperation-modal__dialog {
        padding: 24px 18px;
    }

    .cooperation-modal__image-wrap {
        height: 165px;
        padding: 14px;
    }
}
/*-- end About international cooperation popup --*/

/* About cooperation popup - desktop image size / spacing update */
@media (min-width: 768px) {
    .cooperation-modal__dialog {
        grid-template-columns: 305.61px minmax(0, 1fr);
        padding: 24px;
    }

    .cooperation-modal__image-wrap {
        width: 305.61px;
        height: 203px;
        padding: 20px;
        box-sizing: border-box;
    }

    .cooperation-modal__image {
        width: 100%;
        height: 100%;
        padding: 0;
        object-fit: contain;
    }
}
