/**
 * Theme Name:     Nocodevn
 * Author:         Nocodevn
 * Template:       flatsome
 * Text Domain:	   k-tech
 * Description:    Theme Build by Dai
 * Theme URI:      https://nocodevn.dev/
 * Author URI:     https://nocodevn.dev/
 * Version:        05.2026
 * License:        2NRJM-B46WR-K6VQR-Y4T3D-QRWPX
 * License URI:    https://nocodevn.dev/
 */



/*************** ADD CUSTOM CSS HERE.   ***************/


/* title */
.title_name {
    font-family: "Montserrat", Sans-serif;
    font-size: 30px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2em;
}

.title_name h2 {
    color: #003366;
    margin: 0;
}

/* vertical line */
.text_vertical_line {
    /* display: flex; */
    border-left: 2px solid var(--primary-color);
    padding-left: 12px;
    height: 18px;
    margin-bottom: 10px;
}

.text_vertical_line p {
    /* margin: 0; */
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* p */
.txt {
    font-family: "Montserrat", Sans-serif;
    font-size: 17px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5em;
    color: var(--e-global-color-text);
}

.txt p {
    margin: 0;
}


.sec-contact .txt,
.sec-footer .txt {
    padding-bottom: 10px;
}


/* Header */
#top-bar .header-block {
    padding: 0 !important;
    margin: 0 !important;
}

#top-bar .header-contact {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 36px !important;
}

#top-bar .header-contact>.col {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

#top-bar .header-contact .col-inner {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

#top-bar .header-contact .icon-box {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#top-bar .header-contact .icon-box-img {
    width: 22px !important;
    max-width: 22px !important;
    height: auto !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transform: translateY(-3px) !important;
}

#top-bar .header-contact .icon-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    height: auto !important;
}

#top-bar .header-contact .icon-inner svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    color: #fff !important;
    stroke: rgba(0, 0, 0, 0.5) !important;
}

#top-bar .header-contact>.col:nth-child(2) svg {
    stroke: #fff !important;
}

#top-bar .header-contact .icon-box-text {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

#top-bar .header-contact .icon-box-text p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    display: block !important;
}













/* Trang chủ */

/* Progress */
.tc-progress {
    width: 100%;
    margin-bottom: 26px;
}

/* Thanh progress */
.tc-progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.tc-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #CC0000;
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

.tc-progress.is-visible .tc-progress-bar span {
    width: 100%;
}




/* =========================================================
   SEC - BÀI VIẾT
========================================================= */
.sec-tc-recent-news .col-inner {
	box-shadow: none !important;
}

.sec-tc-recent-news .row-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
    gap: 20px;
    height: auto !important;
    position: static !important;
    margin: 0 !important;
}


/* =========================================================
   RESET ITEM
========================================================= */

.sec-tc-recent-news .row-grid > .post-item {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   BÀI LỚN BÊN TRÁI
   = 3 bài bên phải + 2 khoảng gap
========================================================= */

.sec-tc-recent-news .row-grid > .post-item:first-child {
    grid-column: 1;
    grid-row: 1 / 4;
    height: 580px !important;
}

.sec-tc-recent-news .row-grid > .post-item:first-child .box-text {
    text-align: start;
	background-color: hsl(0deg 0% 92.45% / 95%) !important;
}


/* =========================================================
   CARD 3 BÀI BÊN PHẢI
========================================================= */
.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-blog-post {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;

    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;

    position: relative !important;
    overflow: hidden !important;

    background: #fff !important;
}


/* =========================================================
   ẢNH - TRÁI
========================================================= */

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-image {
    position: relative !important;

    width: 36% !important;
    min-width: 36% !important;
    max-width: 36% !important;

    flex: 0 0 36% !important;

    height: 180px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .image-cover {
    position: relative !important;

    width: 100% !important;
    height: 180px !important;

    padding-top: 0 !important;
    margin: 0 !important;
}

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .image-cover img {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}


/* =========================================================
   THÔNG TIN - PHẢI
========================================================= */

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-text {
    position: static !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;

    width: 64% !important;
    max-width: 64% !important;
    min-width: 0 !important;

    height: 180px !important;
    min-height: 180px !important;

    flex: 1 1 64% !important;

    margin: 0 !important;
    padding: 18px 25px !important;

    background: #0000000d !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    text-align: left !important;
}


/* =========================================================
   BOX TEXT INNER
========================================================= */

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-text-inner {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    text-align: left !important;
}


/* =========================================================
   TIÊU ĐỀ
========================================================= */

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .post-title {
    display: block !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    font-size: 18px !important;
    line-height: 1.35 !important;

    text-align: left !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .post-title a {
    display: block !important;

    color: #333 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   MÔ TẢ
========================================================= */
.sec-tc-recent-news .row-grid > .post-item:not(:first-child) .from_the_blog_excerpt {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #555 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   DIVIDER
========================================================= */
.sec-tc-recent-news .row-grid > .post-item .is-divider {
    display: none !important;
}


/* =========================================================
   XEM THÊM
========================================================= */
.sec-tc-recent-news .row-grid > .post-item .button {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
	padding-top: 10px !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #222 !important;
    font-size: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sec-tc-recent-news .row-grid > .post-item .button::after {
    content: "Xem thêm →";
    font-size: 15px !important;
    font-weight: 400;
    color: #222 !important;
	 text-transform: none !important;
}


/* =========================================================
   ẨN NGÀY
========================================================= */
.sec-tc-recent-news .row-grid > .post-item .post-date {
    display: none !important;
}

.sec-tc-recent-news .row-grid > .post-item .box-blog-post {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .sec-tc-recent-news .row-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .sec-tc-recent-news .row-grid > .post-item {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-blog-post {
        min-height: 200px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {

    .sec-tc-recent-news .row-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
    }

    .sec-tc-recent-news .row-grid > .post-item {
        width: 100% !important;
    }

    /* Bài lớn */
    .sec-tc-recent-news .row-grid > .post-item:first-child .box-text {
        padding: 20px !important;
    }

    /* Bài nhỏ */
    .sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-blog-post {
        min-height: 150px;
    }

    .sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-image {
        width: 35% !important;
        min-width: 35% !important;
        max-width: 35% !important;
        flex-basis: 35% !important;
    }

    .sec-tc-recent-news .row-grid > .post-item:not(:first-child) .box-text {
        width: 65% !important;
        max-width: 65% !important;
        padding: 15px !important;
    }

    .sec-tc-recent-news .row-grid .post-title {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 8px !important;
    }

    .sec-tc-recent-news .row-grid .from_the_blog_excerpt {
        display: none !important;
    }
}

/* ========================================
   HOVER ALL POST
======================================== */

.sec-tc-recent-news .row-grid > .post-item .box-blog-post {
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Card hover */
.sec-tc-recent-news .row-grid > .post-item .box-blog-post:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
}

/* Tiêu đề đổi màu nhẹ */
.sec-tc-recent-news .row-grid > .post-item .post-title a {
    transition: color 0.3s ease !important;
}

/* sec-tc-why */
.sec-tc-why {
    background-color: #000000;
}

.sec-tc-why .text-box-content {
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* sec-tc-value */
.sec-tc-value .icon-box-text h3 {
    margin: 0 0 5px;
    color: #fff;
    font-weight: 600;
}

/* ========================================
   DESCRIPTION
======================================== */
.sec-tc-value .icon-box-text .txt {
    margin: 0;
}

.sec-tc-value .icon-box-text .txt p {
    margin: 0;
    color: #fff;
    font-weight: 400;
}


/* sec-tc-lecturer */

.sec-tc-lecturer .col-box-img .box {
    border-radius: 10px;
    overflow: hidden;
}






/* sec-tc-course */








/* sec-tc-feel */
.sec-tc-feel .txt-cmt {
    font-size: 16px;
    line-height: 2em;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.sec-tc-feel .txt-cmt p {
    font-style: italic;
    color: #333333 !important;
}


/* ========================================
   INFO / STUDENT
======================================== */

.sec-tc-feel .col-info .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: fit-content;
    margin: 0 auto !important;
}

/* Avatar */
.sec-tc-feel .col-info .icon-box-img {
    width: 110px !important;
    max-width: 110px !important;
    flex: 0 0 110px;
    margin: 0 !important;
}

.sec-tc-feel .col-info .icon-box-img .icon,
.sec-tc-feel .col-info .icon-box-img .icon-inner {
    width: 110px;
    height: 110px;
}

.sec-tc-feel .col-info .icon-box-img img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Nội dung */
.sec-tc-feel .col-info .icon-box-text {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
}

/* Tên */
.sec-tc-feel .col-info .icon-box-text h4 {
    margin: 0 0 5px;
}

/* Chức danh */
.sec-tc-feel .col-info .icon-box-text p {
    margin: 0;
}


/* sec-tc-cometo */
/* ========================================
   BUTTON LIÊN HỆ
======================================== */

.sec-tc-cometo .button {
    margin: 0;
}

.txt-tc-lienhe h4 {
    margin: 0 !important;
}

/* Mũi tên */
.txt-tc-lienhe h4::after {
    content: " →";
    line-height: 1;
    color: #fff;
}

/* Hover */
.txt-tc-lienhe h4 a:hover::after {
    transform: translateX(3px);
}

/* Giới thiệu */


/* ========================================
   TITLE GIỚI THIỆU - TẦM NHÌN
======================================== */

.title_gioithieu h2 {
    position: relative;
    display: inline-block !important;
    width: auto !important;
    font-weight: 600;
    text-transform: uppercase;
}

/* SVG Gạch chân cong đỏ */
.title_gioithieu .ktech-title-svg,
h2.title_gioithieu .ktech-title-svg {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    pointer-events: none;
    overflow: visible;
    box-sizing: border-box;
    z-index: 1;
}

.title_gioithieu .ktech-title-svg path,
h2.title_gioithieu .ktech-title-svg path {
    stroke: var(--primary-color);
    stroke-width: 9px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    opacity: 0;
}

.title_gioithieu .ktech-title-svg.is-visible path,
.title_gioithieu.is-visible .ktech-title-svg path,
h2.title_gioithieu.is-visible .ktech-title-svg path {
    animation: ktechSvgUnderlineLoop 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.title_gioithieu .ktech-title-svg.is-visible path:nth-child(2),
.title_gioithieu.is-visible .ktech-title-svg path:nth-child(2),
h2.title_gioithieu.is-visible .ktech-title-svg path:nth-child(2) {
    animation-delay: 0.25s;
}

@keyframes ktechSvgUnderlineLoop {
    0% {
        stroke-dashoffset: 600;
        opacity: 0;
    }

    6% {
        opacity: 1;
    }

    35% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    68% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    82% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    88% {
        stroke-dashoffset: 600;
        opacity: 0;
    }

    100% {
        stroke-dashoffset: 600;
        opacity: 0;
    }
}

/* sec-tc-news */

.sec-tc-news .item-news .col-inner {
	background-color: transparent;
    background-image: linear-gradient(150deg, #CC0000 0%, #003366 100%);
	padding: 20px !important;
	border-radius: 10px !important;
}

.sec-tc-news .item-news .col-inner img {
	border-radius: 10px !important;
	border: solid 2px #fff;
}

.sec-tc-news .item-news .col-inner .icon-box-text {
	align-items: center;
    display: flex;
	padding-left: 5px !important;
}

.sec-tc-news .item-news .col-inner .button > span {
	color: var(--primary-color) !important;
}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .title_gioithieu h2,
    .title_gioithieu .elementor-heading-title,
    h2.title_gioithieu {
        font-size: 32px;
        padding-bottom: 12px;
    }
}








/* Visa */













/* Chương trình du học */

.sec-studying-abroad .row-overview {
    position: relative;
    z-index: 2;
    margin-top: -250px !important;
}

.sec-studying-abroad .img-inner img {
    border-radius: 10px;
}










/* Học bổng */
.sec-scholarship .img-inner img {
    border-radius: 10px;
}

.row-tuvan .row.has-block {
    position: relative !important;
    /* max-width: 650px !important; */
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.row-tuvan .row.has-block::before {
    content: "";
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg,
            #0087bd 0%,
            #079bd2 50%,
            #2ca94f 100%) !important;
    z-index: 10 !important;
}

.row-tuvan .icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    /* margin: 0 0 8px !important;
    padding: 0 !important; */
    text-align: center !important;
}


/* Icon container */
/* .row-tuvan .icon-box-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 22px !important;
    max-width: 22px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
} */


/* Icon */
/* .row-tuvan .icon-box-img .icon-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
} */


.row-tuvan .icon-box-img img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    object-fit: contain !important;
}


/* Title container */
.row-tuvan .icon-box-text {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}


/* Title */
.row-tuvan .icon-box h3 {
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}


@media (max-width: 767px) {

    .row-tuvan .has-block>.col {
        padding: 0 !important;
    }

    .row-tuvan .has-block .col-inner {
        padding: 30px 15px 0px 15px !important;
    }

}






/* Tin tức */
















/* Liên hệ */















/* Footer */

.sec-footer .bn-logo {
    border-radius: 10px;
}

.sec-footer .ux-menu-link__link {
    color: #fff !important;
}

.sec-footer .col-map iframe {
    border-radius: 10px;
}








/* Form contact */

/* ================================
   CONTACT FORM 7
================================ */

.wpcf7-form .form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 16px;
}

.wpcf7-form .form-col {
    min-width: 0;
}

.wpcf7-form .form-col.full {
    width: 100%;
}

.wpcf7-form .form-col.half {
    width: 50%;
}

/* Input + select */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    margin: 0;
    border: 1px solid #ccd3dc;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    font-size: 15px;
    color: #222;
}

/* Input */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form select {
    height: 38px;
    padding: 0 12px;
}

/* Textarea */
.wpcf7-form textarea {
    height: 98px;
    min-height: 98px;
    padding: 10px 12px;
    resize: vertical;
}

/* Placeholder */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #718096;
    opacity: 1;
}

/* Focus */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(226, 2, 3, 0.08);
    outline: none;
}

/* Select */
.wpcf7-form select {
    color: #222;
    cursor: pointer;
}

/* Submit */
.wpcf7-form input[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 2px 25px;
    font-size: 15px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 767px) {
    .wpcf7-form .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .wpcf7-form .form-col.half {
        width: 100%;
    }
}




/* Form tư vấn miễn phí */
.form-tu-van .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
}

.form-tu-van .form-col {
    width: 50%;
}

.form-tu-van .form-col.full {
    width: 100%;
}

.form-tu-van .form-col label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-tu-van .form-col label span {
    color: #e20203;
}

.form-tu-van .form-col input,
.form-tu-van .form-col select {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
}

.form-tu-van input[type="submit"] {
    width: 100%;
    height: 48px;
}

/* Mobile */
@media (max-width: 767px) {

    .form-tu-van .form-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }

    .form-tu-van .form-col,
    .form-tu-van .form-col.full {
        width: 100%;
    }

}

@media only screen and (max-width: 48em) {

    .gtranslate_wrapper {
        display: flex !important;
        gap: 3px !important;
    }

    .gtranslate_wrapper .glink {
        display: flex !important;
    }

    .gtranslate_wrapper .glink img {
        max-width: none !important;
        max-height: none !important;
    }
}