body {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 16px;
    color: #404041;
}

.clamp {
    overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.clamp1 {
    -webkit-line-clamp: 1;
}

.clamp2 {
    -webkit-line-clamp: 2;
}

.clamp3 {
    -webkit-line-clamp: 3;
}

.clamp4 {
    -webkit-line-clamp: 4;
}

.clamp5 {
    -webkit-line-clamp: 5;
}
h1,
h2 {
    line-height: 130% !important;
}
main {
    position: relative;
    padding-bottom: 200px;
}
main:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg-footer.png");
    background-position: bottom center;
    background-repeat: no-repeat;
}
/* Smooth transitions for line-box and description-box */
.line-box,
.description-box {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Smooth transitions for icons */
.icon-minus,
.icon-plus {
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none !important;
}
.box-number-bottom::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: url("../img/line-banner-home.png") !important;
    background-repeat: no-repeat;
}

/* BOX 3: Chương trình đào tạo - Owl center style */
.box3-owl .owl-stage-outer {
    overflow: visible;
}

.box3-owl .owl-stage {
    margin-right: -160px !important;
}

/* BOX 4: Hai slider tách biệt */
.box4-owl-main .owl-stage-outer,
.box4-owl-side .owl-stage-outer {
    overflow: visible;
}

.box4-owl-main .owl-item,
.box4-owl-side .owl-item {
    display: flex;
    justify-content: center;
}

.box4-item-main {
    max-width: 100%;
    overflow: hidden;
    height: 520px;
}

.box4-item-side {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .box4-item-side {
        min-height: 750px !important;
    }
}


/* Main card layout */
.box4-item-main .main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.box4-item-main .main-content .main-desc {
    flex: 1;
}

.box4-item-main .main-img {
    height: 100%;
}

.box4-item-main .main-img img {
    height: 100%;
}

/* Side card layout */


.box4-item-side .side-body {
    flex-shrink: 0;
}

/* Text vertical (Học viên tiêu biểu) */
.box4-title-rotate {
    position: relative;
    transform: rotate(90deg);
    transform-origin: center;
    gap: 8px;
    align-items: center;
}

.box4-title-rotate .title-small {
    font-size: 28px;
    letter-spacing: 0.3em;
}

.box4-title-rotate .title-big {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.05;
    color: transparent;
    -webkit-text-stroke: 2.4px #ffffff;
}

@media (min-width: 1024px) {
    .box4-title-rotate .title-small {
        font-size: 32px;
        letter-spacing: 0.35em;
    }
    .box4-title-rotate .title-big {
        font-size: 64px;
    }
}

/* Tabs đối tác / khách hàng */

.partners-grid.inactive {
    display: none;
}
.customers-grid {
    display: none;
}
.customers-grid.active {
    display: grid;
}

/* Owl rows for partners/customers */
.partners-owl .owl-stage-outer,
.customers-owl .owl-stage-outer {
    overflow: visible;
}

.partners-owl .owl-item,
.customers-owl .owl-item {
    padding: 0 8px;
}

.tab-partner.text-primary,
.tab-customer.text-primary {
    position: relative;
}
.tab-partner.text-primary::before,
.tab-customer.text-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #d9141e;
}

/* Dropdown select với background image */
.form-select-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../img/dropdown-selected.png");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px 10px;
    padding-right: 45px;
    cursor: pointer;
}

.form-select-dropdown:focus {
    background-image: url("../img/dropdown-selected.png");
}

.form-select-dropdown option {
    background-color: white;
    color: #404041;
    padding: 10px;
}

/* BOX 6: お客様の声 (Customer Voices) */
.box6-testimonials .owl-dots {
    text-align: left;
    margin-top: 20px;
}

.box6-testimonials .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    margin: 0 4px;
    transition: all 0.3s;
}

.box6-testimonials .owl-dot.active {
    background: #0ea5e9;
    width: 24px;
    border-radius: 6px;
}

/* Layout vòng tròn bên phải */
.box-6 .relative svg {
    overflow: visible;
}

.box-6 .relative svg line {
    stroke: #d1d5db;
    stroke-width: 1.5;
}

.text-banner-home span {
    color: #d9141e;
    font-weight: 700;
}
.text-home-banner-title span {
    color: #d9141e;
}
.text-contact-hn span {
    color: #d9141e;
    font-weight: 700;
}
.box_content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #177ebe;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.3;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.box_content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #177ebe;
    margin-top: 28px;
    margin-bottom: 18px;
    line-height: 1.4;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}

.box_content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e40af;
    margin-top: 24px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.box_content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e40af;
    margin-top: 20px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.box_content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-top: 18px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.box_content h6 {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    margin-top: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Paragraphs */
.box_content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
}

/* Links */
.box_content a {
    color: #177ebe;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.box_content a:hover {
    color: #1e40af;
    text-decoration: none;
}

/* Lists */
.box_content ul,
.box_content ol {
    margin-bottom: 20px;
    padding-left: 30px;
    line-height: 1.8;
}

.box_content ul {
    list-style-type: disc;
}

.box_content ol {
    list-style-type: decimal;
}

.box_content ul ul,
.box_content ol ol,
.box_content ul ol,
.box_content ol ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.box_content li {
    margin-bottom: 8px;
    color: #374151;
}

.box_content li::marker {
    color: #177ebe;
}

/* Images */
.box_content img {
    max-width: 100%;
    height: auto !important;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tables */
.box_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.box_content table th {
    background-color: #177ebe;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #1e40af;
}

.box_content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.box_content table tr:last-child td {
    border-bottom: none;
}

.box_content table tr:nth-child(even) {
    background-color: #f9fafb;
}

.box_content table tr:hover {
    background-color: #f3f4f6;
}

/* Blockquotes */
.box_content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid #177ebe;
    background-color: #f0f9ff;
    border-radius: 4px;
    font-style: italic;
    color: #1e40af;
}

.box_content blockquote p {
    margin-bottom: 0;
}

/* Code */
.box_content code {
    background-color: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    color: #d32b27;
}

.box_content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    line-height: 1.6;
}

.box_content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    font-size: 14px;
}

/* Text Formatting */
.box_content strong,
.box_content b {
    font-weight: 700;
    color: #1f2937;
}

.box_content em,
.box_content i {
    font-style: italic;
}

.box_content u {
    text-decoration: underline;
}

/* Horizontal Rule */
.box_content hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 30px 0;
}

/* Iframes */
.box_content iframe {
    max-width: 100%;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* First and Last Child */
.box_content > *:first-child {
    margin-top: 0;
}

.box_content > *:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .box_content {
        font-size: 15px;
    }

    .box_content h1 {
        font-size: 26px;
    }

    .box_content h2 {
        font-size: 22px;
    }

    .box_content h3 {
        font-size: 20px;
    }

    .box_content h4 {
        font-size: 18px;
    }

    .box_content table {
        font-size: 14px;
    }

    .box_content table th,
    .box_content table td {
        padding: 8px 12px;
    }
}
.ul-tamnhin li{
    position: relative;
    padding-left: 75px;
}
.ul-tamnhin li::before{
    content: "";
    position: absolute;
    left: 25px;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #EAA0A0;
    border-radius: 50%;
}
.text-number-hot span{
    font-weight: bold;
}
.box_content a{
    color: #428bca;
    text-decoration: none;
}
.box_content p,.box_content span{
    font-family: "Google Sans Flex", sans-serif !important;
    font-size: 16px !important;
}