/**handles:mona-about-style**/
.head-hori{
    text-transform: uppercase;
}

.bn-custom-ctn {
    -webkit-box-pack: center;
    justify-content: center;
    text-transform: uppercase;
}

.bn-custom-tt {
    text-align: center;
}

.bn-custom-tags {
    margin-left: auto;
    margin-right: auto;
}

/* Combined Section Styling with Flexbox */
.ab-combined-section {
    padding-top: var(--pd-sc);
    /* padding-bottom: var(--pd-sc); */
}

/* Desktop Flexbox Container */
.ab-flexbox-container {
    display: flex;
    flex-wrap: nowrap;           /* ❗ QUAN TRỌNG: không cho wrap nếu muốn bằng chiều cao */
    align-items: stretch;        /* Các cột sẽ kéo giãn theo chiều cao lớn nhất */
    gap: 30px;
}
.ab-flexbox-column.ab-column-image {
    display: flex;
    align-items: stretch;
    flex: 1;
    flex-basis: 40%;
    max-width: 40%;
}

.imgFull, .imgFull-inner {
    height: 100%;
}

.imgFull-inner img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

/* Left Column - Content */
.ab-flexbox-column.ab-column-content {
    flex: 1;
    flex-basis: 55%;
    max-width: 55%;
}

/* Right Column - Images */
.ab-flexbox-column.ab-column-image {
    flex: 1;
    flex-basis: 40%;
    max-width: 40%;
}

/* Mobile Layout */
.ab-mobile-layout {
    display: flex;
    flex-direction: column;
}

.ab-mobile-images {
    /* margin: 40px 0; */
    width: 100%;
}

/* Common styling */
.ab-cic-content {
    margin-bottom: var(--pd-sc);
}

.ab-who-content {
    margin-bottom: 20px;
}

.imgFull.mb-48 {
    margin-bottom: 48px;
}

.ab-view {
    margin-top: unset;
}

/* Vision & Core Values Section */
.sec-ab-vision-core {
    padding: var(--pd-sc) 0;
    margin: 0;
}

.ab-vision-core-bg {
    position: relative;
    padding: var(--pd-sc) 0;
    background-image: url(/template/assets/images/tamnhinsumenh.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.ab-vision-core-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5); /* Thay đổi thành overlay trắng */
    z-index: 1;
}

.ab-vision-core-bg .container {
    position: relative;
    z-index: 2;
    color: #333; /* Thay đổi màu chữ thành đen */
}

/* Vision Items */
.ab-vision-wrap {
    margin-bottom: var(--pd-sc);
}

.ab-vision-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ab-vision-item {
    text-align: center;
    width: 100%;
}

/* Cấu trúc tiêu đề kiểu mới giống hình */
.vision-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 15px;
}

.vision-title-wrapper .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vision-title-wrapper .icon img {
    max-width: 100%;
    height: auto;
    filter: none;
}

/* Tiêu đề màu xanh lớn */
.vision-title-wrapper .title-blue {
    font-size: 32px;
    font-weight: 700;
    color: #204099;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.ab-vision-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ab-vision-content .desc {
    margin: 0;
    line-height: 1.6;
    color: black;
    /* font-size: 16px; */
}

/* Core Values styling */
.ab-cores-wrap {
    text-align: center;
    margin: 0 auto;
}

/* Sử dụng lại class từ phần Vision & Mission */
.ab-cores-wrap .vision-title-wrapper .title-blue {
    color: #204099;
}

.ab-cores-wrap .justify-content-center {
    justify-content: center;
}

/* Hàng giá trị cốt lõi */
.core-values-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    position: relative;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Item giá trị cốt lõi */
.core-value-item {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 160px;
    width: auto;
}

/* Thêm đường gạch ngang và mũi tên */
.core-value-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 15px);
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right, #204099 50%, transparent 50%);
    background-size: 10px 100%;
    background-repeat: repeat-x;
    z-index: 1;
}

/* Tạo keyframes cho animation */
@keyframes arrowMove {
    0% {
        left: 100%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        left: 135%;
        opacity: 1;
    }
}

/* Thêm mũi tên */
.core-value-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 51%;
    left: 100%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23204099' d='M10,17l5-5l-5-5V17z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    animation: arrowMove 2s ease-in-out infinite;
}

.core-value-icon {
    width: 150px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-value-icon img {
    max-width: 100%;
    height: auto;
}

/* Thêm lại tiêu đề */
.core-value-title {
    color: #2b4da3;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 10px;
    line-height: 1.3;
}

/* Responsive cho các giá trị */
@media (max-width: 991px) {
    .core-values-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 15px;
    }
    
    .core-value-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        margin-bottom: 20px;
    }
    
    .core-value-item:not(:last-child)::after,
    .core-value-item:not(:last-child)::before {
        display: none;
    }
    
    .core-value-icon {
        width: 80%;
        box-shadow: 0px 3px 6px rgba(0,0,0,0.16), 
            0px 3px 6px rgba(0,0,0,0.23);
        border-radius: 6px;
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .core-values-row {
        gap: 20px 15px;
    }
    
    .core-value-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 15px;
    }
    
    .core-value-icon {
        width: 80%;
        box-shadow: 0px 3px 6px rgba(0,0,0,0.16), 
            0px 3px 6px rgba(0,0,0,0.23);
        border-radius: 6px;
        overflow: hidden;
    }
}

/* Better styling for the buttons on mobile */
@media (max-width: 768px) {
    .ab-cic-btn {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .ab-cic-btn {
        margin-top: 10px;
    }
    
    .ab-cic-btn .btn-box {
        width: 100%;
        margin: 0;
    }
    
    .ab-cic-btn .btn {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        min-width: unset !important;
    }
    
    .ab-cic-btn .btn .txt-inner {
        font-size: 14px;
        white-space: normal;
    }
    
    /* Vision & Core Values mobile layout */
   
    /* Mobile layout specific adjustments */
    .ab-cic-content {
        margin-bottom: var(--pd-sc);
    }
    
    .ab-mobile-images .imgFull{
        margin-bottom: var(--pd-sc)
    }
    
    .vision-title-wrapper {
        justify-content: center;
    }
    
    .vision-title-wrapper .title-blue {
        font-size: 21px;
    }
    .ab-who-content{
        margin-bottom: 0;
    }

    .ab-vision-content .desc{
        font-size: 17px;
        /* text-align: justify; */
    }

    /* Mobile Collapse styles for Business Activities */
    .pj-proc-it.mobile-collapse .inner-l {
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
        padding-right: 35px;
    }
    
    /* Collapse icon (plus/minus) */
    .pj-proc-it.mobile-collapse .collapse-icon {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        transition: all 0.3s ease;
    }
    
    .pj-proc-it.mobile-collapse .collapse-icon::before,
    .pj-proc-it.mobile-collapse .collapse-icon::after {
        content: '';
        position: absolute;
        background-color: var(--color-pri);
        transition: all 0.3s ease;
    }
    
    .pj-proc-it.mobile-collapse .collapse-icon::before {
        width: 100%;
        height: 2px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
    
    .pj-proc-it.mobile-collapse .collapse-icon::after {
        height: 100%;
        width: 2px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Active state - minus sign */
    .pj-proc-it.mobile-collapse.active .collapse-icon::after {
        transform: translateX(-50%) rotate(90deg);
        opacity: 0;
    }
    
    /* Collapsible content */
    .pj-proc-it.mobile-collapse .inner-r {
        display: none;
        padding-top: 15px;
    }
    
    .pj-proc-it.mobile-collapse.active .inner-r {
        display: block;
    }
    
    /* View more button */
    .pj-proc-it .view-more-link {
        margin-top: 15px;
        text-align: right;
    }
    
    .pj-proc-it .view-more-link .btn {
        display: inline-block;
        padding: 0 !important;
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s ease;
        background: transparent;
        border: none;
        position: relative;
        padding-left: 0;
        text-align: left;
    }
    
    .pj-proc-it .view-more-link .btn::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--color-pri);
        top: unset;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .pj-proc-it .view-more-link .btn:hover::after {
        width: 0;
    }
    
    .pj-proc-it .view-more-link .btn .txt {
        color: #000;
        font-weight: 500;
        text-align: center;
        position: relative;
    }
    
    /* Thêm pseudo-element trên text để gạch chân chỉ theo độ dài chữ */
    .pj-proc-it .view-more-link .btn .txt::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--color-pri);
        transition: all 0.3s ease;
    }
    
    .pj-proc-it .view-more-link .btn:hover .txt::after {
        width: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ab-flexbox-column.ab-column-content,
    .ab-flexbox-column.ab-column-image {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Background Core Image for About Page */
.sec-partners-link.with-core-bg {
    position: relative;
}

.sec-partners-link.with-core-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/template/assets/images/core-img.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Adjust transparency as needed */
    z-index: 0;
}

.sec-partners-link.with-core-bg .container {
    position: relative;
    z-index: 1;
}

.pj-proc-it .inner-l .txt {
    text-transform: uppercase;
}

.pj-proc-it .inner-l .txt a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pj-proc-it:hover .inner-l {
    color: var(--color-pri);
}
.pj-proc-it .inner-l .txt a:hover {
    color: var(--color-pri);
}