/* Ceragem Responsive Styles (Consolidated & Ordered High to Low) */

/* ==========================================================================
   BREAKPOINT: 1399px
   ========================================================================== */
@media (max-width: 1399px) {
    .cert-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ==========================================================================
   BREAKPOINT: 1200px
   ========================================================================== */
@media (max-width: 1200px) {
    .global-stats-bar {
        max-width: 95%;
    }

    .principles-title .large-num {
        font-size: 60px;
    }

    .principles-title {
        font-size: 26px;
    }

    .item-text {
        font-size: 15px;
    }

    .hero-title {
        font-size: 32px;
    }

    .header-center ul {
        gap: 12px;
    }

    .header-center ul li a {
        font-size: 13px;
    }

    .logo-box {
        padding: 5px 30px 5px 30px;
    }

    .main-logo {
        max-height: 28px;
    }

    .phone-box {
        padding: 6px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .lang-box>a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ==========================================================================
   BREAKPOINT: 1199px
   ========================================================================== */
@media (max-width: 1199px) {
    .news-highlight-card {
        max-width: 100%;
    }

    .news-highlight-content {
        padding: 28px 28px 28px 20px;
    }

    .news-grid-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .news-detail-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 22px;
    }

    .news-detail-body {
        font-size: 18px;
    }

    .popular-post-title {
        font-size: 16px;
    }

    .product-category-item {
        min-width: 140px;
    }

    .product-category-link {
        min-height: 152px;
        padding: 20px 16px 16px;
    }

    .product-category-name {
        font-size: 17px;
    }
}

/* ==========================================================================
   BREAKPOINT: 1120px
   ========================================================================== */
@media (max-width: 1120px) {
    ul#example>li>a {
        font-size: 15px;
        padding: 8px 5px;
    }

    .custom-left-menu a {
        padding: 40px 20px 40px 79px !important;
    }

    .main_menu .active a {
        font-size: 40px !important;
    }
}

/* ==========================================================================
   BREAKPOINT: 992px
   ========================================================================== */
@media (max-width: 992px) {
    .main_mobile_menu {
        display: block;
    }

    .menu_head_mb_desktop {
        display: none;
    }

    .menu-desktop {
        display: none;
    }

    .logo_head {
        max-width: 500px;
        margin: 0px auto;
        display: block;
        text-align: center;
    }

    .about-content .box-custom-content-about {
        margin-top: 39px;
    }

    .full-list-tm {
        width: 100%;
    }

    .box-colums .title-h {
        text-align: center;
        font-size: 30px;
        line-height: 45px;
    }

    .form-title {
        font-size: 30px;
        line-height: 45px;
        font-family: 'Roboto-Bold';
    }
}

/* ==========================================================================
   BREAKPOINT: 991px
   ========================================================================== */
@media (max-width: 991px) {
    .lang-box>a i {

        margin-left: 6px;
        position: relative;
        left: -10px;
    }

    .full-history {
        width: 100%;
    }

    .history-year-tag {
        margin-left: 15px;
    }

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

    .section-global {
        padding: 60px 0 0 0;
    }

    .global-title {
        font-size: 32px;
    }

    .global-stats-bar {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .stat-col {
        border-right: none;
        margin-bottom: 30px;
    }

    .stat-col:nth-child(-n+2) {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 20px;
    }

    .global-stats-bar .stat-number {
        font-size: 32px;
    }

    .section-principles {
        padding: 80px 0;
    }

    .principles-wrapper {
        max-width: 100%;
    }

    .principles-header {
        margin-bottom: 40px;
    }

    .principles-list {
        padding-left: 35px;
    }

    .item-marker {
        left: -40.5px;
    }

    .principles-list::before {
        left: 0;
    }

    .history-info-box {
        margin-left: 0;
        margin-right: 0;
        padding: 40px 30px;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .year-bg {
        font-size: 150px;
        bottom: -40px;
    }

    .red-frame {
        width: 60px;
        height: 100px;
    }

    .info-text {
        margin-bottom: 30px;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 0;
    }

    .hero-container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero-content,
    .hero-image,
    .hero-stats {
        position: static;
        width: 100%;
        max-width: 100%;
        text-align: center;
        transform: none;
        order: unset;
    }

    .hero-image {
        height: auto;
        margin-top: 20px;
        order: 3;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .hero-building {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 0;
        vertical-align: bottom;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        margin-top: 20px;
        order: 2;
    }

    .header-center {
        display: none;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-desc {
        margin: 0 auto 30px;
    }

    .cta-link {
        justify-content: center;
    }

    .footer {
        padding-top: 50px;
        text-align: center;
    }

    .section-certs {
        padding: 120px 0px 60px 0;
    }

    .cert-title {
        font-size: 24px;
        line-height: 42px;
    }

    .cert-box {
        padding: 20px 10px;
    }

    .cert-icon {
        font-size: 32px;
    }

    .cert-desc {
        font-size: 13px;
    }

    .footer::before {
        display: none;
    }

    .contact-info li {
        justify-content: center;
        text-align: center;
    }

    .recruitment-box {
        margin: 20px auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        font-size: 42px;
    }

    .footer-bottom {
        padding: 30px 0;
    }

    .main-header {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 999 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
    }

    .logo-box {
        padding: 0 15px !important;
        filter: drop-shadow(0 3px 0 #d61821) !important;
        height: 100%;
    }

    .main-logo {
        max-height: 60px;
        padding: 12px 27px;
    }

    .container-header {
        padding: 0 15px;
    }

    .mobile-toggle {
        display: block;
        order: 1;
        align-self: center;
    }

    .header-left {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .header-right {
        order: 3;
        flex: 0;
    }

    .phone-box {
        display: none !important;
    }

    .lang-box {
        margin: 0;
        align-self: center;
    }

    .lang-box>a {
        padding: 5px 8px;
        font-size: 12px;
    }

    .section-experience {
        padding: 60px 0;
        text-align: center;
    }

    .experience-title {
        font-size: 24px;
    }

    .experience-info-box {
        padding: 30px 20px;
        text-align: left;
    }

    .section-products {
        padding: 60px 0;
    }

    .product-detail-view {
        min-height: auto;
        display: block !important;
    }

    .custom-product-layout {
        flex-direction: column;
    }

    .custom-product-left,
    .custom-product-right {
        width: 100%;
        justify-content: center;
        padding: 0;
        transform: translateY(0);
        margin-bottom: 20px;
    }

    .custom-product-center {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .product-name {
        font-size: 32px;
        white-space: normal;
        text-align: center;
    }

    .detail-img {
        max-height: 250px;
        margin: 20px auto;
    }

    .product-nav-carousel .owl-nav {
        display: block !important;
    }

    .product-nav-carousel .owl-nav button {
        font-size: 60px !important;
    }

    .item.active .product-thumb::before {
        width: 120px;
        height: 120px;
    }

    /* From style.css */
    .section-locations {
        padding: 60px 0;
    }

    .map-display-wrapper iframe {
        min-height: 400px;
        height: 400px;
    }

    .locations-list-card {
        margin-bottom: 30px;
    }

    .section-center-system {
        padding: 60px 0;
    }

    #branchesModal .modal-dialog {
        margin: 15px;
    }

    .news-highlight-section {
        padding: 28px 0 46px;
        background-position: center top;
    }

    .news-highlight-tabs {
        gap: 14px;
        margin-bottom: 20px;
    }

    .news-highlight-tab {
        font-size: 18px;
        padding: 10px 14px;
    }

    .news-highlight-card {
        grid-template-columns: 1fr;
    }

    .news-highlight-media img {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .news-highlight-content {
        padding: 24px 22px;
    }

    .news-highlight-excerpt {
        -webkit-line-clamp: 5;
    }

    .news-grid-section {
        padding-bottom: 60px;
    }

    .news-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .news-grid-card-title {
        font-size: 18px;
    }

    .news-hero-section,
    .news-hero-content {
        min-height: 420px;
    }

    .news-hero-content {
        padding: 50px 0;
    }

    .news-hero-breadcrumb {
        font-size: 16px;
    }

    .news-detail-section {
        padding: 28px 0 56px;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-detail-title {
        font-size: clamp(28px, 4vw, 40px);
    }

    .news-detail-body {
        font-size: 17px;
    }

    .news-detail-sidebar {
        margin-top: 8px;
    }

    .product-category-list {
        justify-content: flex-start;
    }

    .product-category-item {
        min-width: 132px;
    }

    .product-category-link {
        min-height: 142px;
        padding: 18px 14px 14px;
    }

    .product-category-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }

    .product-category-name {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* ==========================================================================
   BREAKPOINT: 876px
   ========================================================================== */
@media (max-width: 876px) {
    .main_mobile_menu .logo_head_mobile img {
        max-width: 140px;
        padding: 10px 0px;
        width: 100%;
    }
}

/* ==========================================================================
   BREAKPOINT: 768px
   ========================================================================== */
@media (max-width: 768px) {
    .success-section .about-img {
        position: relative;
        padding: 0;
        z-index: 1;
    }

    .success-section .about-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 10px solid #ffaa17;
        z-index: 9;
        transition: width 2s linear 1s;
    }

    .education-img-wrap .education-img-3 {
        top: 38px;
        left: 15px;
    }

    .education-img-wrap .education-img-2 {
        text-align: right;
        margin-top: 30px;
    }

    .education-img-wrap .education-img-4 {
        display: none;
    }

    .about-content .box-custom-content-about {
        margin-top: 10px;
    }

    .list-partner-items .partner-full {
        width: calc(100%/3 - 45px);
    }

    .full-b-cjdc {
        width: 100%;
        position: relative;
    }

    .home-colums-box-9 .box-colums .fix-center-title {
        position: relative;
        transform: none;
    }

    .full-b-cjdc .info-custom {
        margin: 0 15px;
    }

    .home-colums-box-9 .colums-item.colums-item-1 {
        padding: 30px 0px;
    }

    .home-colums-box-9 .box-colums:after {
        content: none;
    }

    .f-list-new-footer-items {
        width: 100%;
        background: #0077c0;
    }

    .home-colums-box-9 {
        padding-top: 0px;
    }

    .colums-contact-form tr .percent_01,
    .colums-contact-form tr .percent_02 {
        width: 100%;
        float: left;
    }

    table.colums-contact-form td:first-child span.s0 {
        width: initial;
    }

    table.colums-contact-form td span.s1 {
        color: #fff;
        margin-left: 10px;
    }
}

/* ==========================================================================
   BREAKPOINT: 767px
   ========================================================================== */
@media (max-width: 767px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    /* From style.css */
    .news-highlight-section {
        padding: 24px 0 38px;
    }

    .news-highlight-breadcrumb {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .news-highlight-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .news-highlight-tabs::-webkit-scrollbar {
        display: none;
    }

    .news-highlight-tab {
        white-space: nowrap;
        font-size: 16px;
    }

    .news-highlight-content {
        padding: 20px 16px;
    }

    .news-highlight-title {
        font-size: 18px;
    }

    .news-highlight-excerpt {
        font-size: 15px;
        -webkit-line-clamp: 6;
    }

    .news-grid-section {
        padding-bottom: 46px;
    }

    .news-grid-list {
        gap: 16px;
    }

    .news-grid-content {
        padding: 16px 14px 12px;
    }

    .news-grid-date {
        font-size: 14px;
    }

    .news-grid-card-title {
        font-size: 17px;
    }

    .news-grid-more {
        font-size: 15px;
    }

    .related-posts-header {
        margin-bottom: 25px !important;
        padding-bottom: 15px !important;
    }

    .view-all-link {
        padding: 8px 18px;
        font-size: 12px;
    }

    .page-header-banner {
        padding: 60px 0;
        min-height: 200px;
    }

    .page-header-banner h2 {
        font-size: 28px;
    }

    .news-hero-section,
    .news-hero-content {
        min-height: 340px;
    }

    .news-hero-content {
        padding: 40px 0;
    }

    .news-hero-title {
        margin-bottom: 10px;
    }

    .news-hero-breadcrumb {
        font-size: 15px;
    }

    .news-detail-section {
        padding: 24px 0 42px;
    }

    .news-detail-category {
        margin-bottom: 18px;
    }

    .news-detail-category a {
        min-height: 38px;
        padding: 8px 14px;
        font-size: 16px;
    }

    .news-detail-header {
        margin-bottom: 16px;
    }

    .news-detail-title {
        font-size: 28px;
    }

    .news-detail-date,
    .news-detail-source {
        font-size: 14px;
    }

    .news-detail-body {
        font-size: 16px;
    }

    .popular-posts-title {
        font-size: 18px;
    }

    .popular-post-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .popular-post-title {
        font-size: 15px;
    }

    .product-category-item {
        min-width: 120px;
    }

    .product-category-link {
        min-height: 128px;
        padding: 16px 12px 12px;
    }

    .product-category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .product-category-name {
        font-size: 15px;
    }
}

/* ==========================================================================
   BREAKPOINT: 665px
   ========================================================================== */
@media (max-width: 665px) {

    .ab-full,
    .full-list-hvng,
    .cb-full,
    .list-recruitment-itengineer .item-custom-colums-list {
        width: 100%;
    }

    .list-recruitment-itengineer .colums-disone-img {
        position: relative;
        z-index: 9;
        padding: 0;
    }

    .colums-company-form-title {
        font-size: 30px;
        line-height: 45px;
    }

    .item-right-description .colums-disone-description {
        height: 100%;
        display: grid;
        align-items: center;
        justify-content: center;
        background: #EEEDEE;
        padding: 20px;
        position: relative;
        z-index: 2;
    }
}

/* ==========================================================================
   BREAKPOINT: 576px
   ========================================================================== */
@media (max-width: 576px) {
    .cert-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .global-title {
        font-size: 24px;
    }

    .global-stats-bar .stat-number {
        font-size: 28px;
    }

    .global-stats-bar .stat-text {
        font-size: 13px;
    }

    .global-stats-bar {
        padding: 40px 0;
    }

    .stat-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        border: none !important;
        border-bottom: 2px solid #f0f0f0 !important;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .stat-col:last-child {
        border-bottom: none !important;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .section-principles {
        padding: 60px 0;
    }

    .principles-title .large-num {
        font-size: 50px;
    }

    .principles-title {
        font-size: 20px;
    }

    .item-number {
        min-width: 50px;
        font-size: 16px;
        padding: 10px 14px;
    }

    .item-text {
        font-size: 14px;
        padding: 10px 20px;
    }

    .principles-list {
        padding-left: 30px;
    }

    .item-marker {
        left: -35.5px;
        width: 10px;
        height: 10px;
    }

    .history-title {
        font-size: 24px;
    }

    .years-nav .item span {
        padding: 6px 15px;
        font-size: 15px;
    }

    .info-month {
        font-size: 20px;
    }

    .info-text {
        font-size: 15px;
    }

    .year-bg {
        font-size: 100px;
        bottom: -20px;
    }

    .history-custom-nav {
        position: relative;
        justify-content: flex-end;
        margin-top: 20px;
        padding-right: 15px;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }

    .footer-logo {
        font-size: 32px;
    }

    .product-name {
        font-size: 26px;
    }

    .detail-img {
        max-height: 200px;
    }
}

/* ==========================================================================
   BREAKPOINT: 575px
   ========================================================================== */
@media (max-width: 575px) {

    /* From style.css */
    .news-highlight-card {
        border-radius: 12px;
    }

    .news-highlight-title {
        font-size: 17px;
    }

    .news-highlight-date {
        font-size: 14px;
    }

    .news-grid-list {
        grid-template-columns: 1fr;
    }

    .news-grid-card {
        border-radius: 12px;
    }

    .news-grid-thumb img {
        aspect-ratio: 1.55 / 1;
    }

    .news-hero-section,
    .news-hero-content {
        min-height: 280px;
    }

    .news-hero-content {
        padding: 32px 0;
    }

    .news-hero-breadcrumb {
        font-size: 14px;
    }

    .news-detail-title {
        font-size: 24px;
    }

    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-source {
        text-align: left;
    }

    .popular-posts-box {
        padding: 14px 10px;
    }

    .popular-post-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .popular-post-meta time,
    .popular-post-cat {
        font-size: 13px;
    }

    .product-category-item {
        min-width: 108px;
    }

    .product-category-link {
        min-height: 118px;
        padding: 14px 10px 10px;
    }

    .product-category-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }

    .product-category-name {
        font-size: 14px;
    }
}

/* ==========================================================================
   BREAKPOINT: 568px
   ========================================================================== */
@media (max-width: 568px) {
    .full-mobile {
        width: 100%;
    }
}

/* ==========================================================================
   BREAKPOINT: 556px
   ========================================================================== */
@media (max-width: 556px) {
    .list_menu_mobile.navbar-cates .navbar-link {
        position: relative;
        top: 20px;
    }

    .full-items-box {
        width: 100%;
    }

    .home-colums-box-4 .colums-img {
        max-width: none;
        float: none;
        margin-right: 0px;
        text-align: center;
        margin-bottom: 10px;
    }

    .list-box-tm .description-vj {
        padding-left: 0px;
    }

    .home-colums-box-4 .list-box-tm {
        padding: 10px 20px;
        margin-bottom: 10px;
    }

    .home-colums-box-4 .list-sf-items {
        text-align: center;
    }
}

/* ==========================================================================
   BREAKPOINT: 480px
   ========================================================================== */
@media (max-width: 480px) {

    /* From style.css */
    .related-posts-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
        border-bottom: none !important;
    }

    .related-posts-header .section-title {
        width: 100%;
        border-bottom: 2.5px solid #d61821;
        padding-bottom: 12px;
        font-size: 22px;
    }

    .view-all-link {
        align-self: flex-end;
    }
}

/* ==========================================================================
   BREAKPOINT: 456px
   ========================================================================== */
@media (max-width: 456px) {
    .description-list-n-h .description-6 {
        font-size: 15px;
        display: none;
    }

    .description-list-n-h .t-6-title a {
        color: #0091D2;
        font-size: 16px;
    }
}

/* ==========================================================================
   BREAKPOINT: 405px
   ========================================================================== */
@media (max-width: 405px) {
    .list_menu_mobile.navbar-cates .navbar-link {
        position: relative;
        top: 15px;
    }

    .full-new {
        width: 100%;
    }
}

/* ==========================================================================
   BREAKPOINT: 370px
   ========================================================================== */
@media (max-width: 370px) {
    .list_menu_mobile.navbar-cates .navbar-link {
        position: relative;
        top: 10px;
    }
}

/* ==========================================================================
   BREAKPOINT: 310px
   ========================================================================== */
@media (max-width: 310px) {
    .list_menu_mobile.navbar-cates .navbar-link {
        position: relative;
        top: 0px;
        margin-top: 8px;
    }
}