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: -45px;
    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 {
    height: 520px;
    display: flex;
    flex-direction: column;
}


/* 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-thumb {
    flex: 1;
}

.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;
    display: inline-flex;
    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{
    position: relative;
}
.tab-partner.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;
}

