/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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

/* Button with yellow gradient background */
.btn-yellow {
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    color: #000000 !important;
}

/* Reorder image-box layout: text first, image second */
.section-dich-vu .box.has-hover {
    display: flex !important;
    flex-direction: column-reverse !important;
}

/* Ensure proper spacing */
.section-dich-vu .box.has-hover .box-text {
    order: 1 !important;
    margin-top: 0 !important;
}

.section-dich-vu .box.has-hover .box-image {
    order: 2 !important;
    margin-top: 15px !important;
}

/* Alternative approach using CSS Grid */
.section-dich-vu .box.has-hover {
    display: grid !important;
    grid-template-areas: 
        "text"
        "image";
}

.section-dich-vu .box.has-hover .box-text {
    grid-area: text !important;
}

.section-dich-vu .box.has-hover .box-image {
    grid-area: image !important;
}

/* Force override any existing styles */
.section-dich-vu .box.has-hover.box-text-bottom {
    display: grid !important;
}

/* Style the entire box to match original design */
.section-dich-vu .box.has-hover {
    border-radius: 7px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Add gradient background to text box - seamless connection */
.section-dich-vu .box.has-hover .box-text {
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    color: #000000 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Style the image container */
.section-dich-vu .box.has-hover .box-image {
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* Ensure image fills container */
.section-dich-vu .box.has-hover .box-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

/* Style the title - bold black text */
.section-dich-vu .box.has-hover .box-text h4 {
    margin: 6px 0 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    color: #000000 !important;
}

/* Style Flickity navigation arrows with original gradient and clip-path */
.section-dich-vu .flickity-button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.section-dich-vu .flickity-button.previous {
    left: -40px !important;
}

.section-dich-vu .flickity-button.next {
    right: -40px !important;
}

/* Apply original gradient background with clip-path for previous button */
.section-dich-vu .flickity-button.previous .flickity-button-icon {
    background: linear-gradient(to left, transparent 20%, #eaa50080, #eaa500) !important;
    -webkit-clip-path: polygon(40% 0%, 40% 20%, 100% 20%, 100% 80%, 40% 80%, 40% 100%, 0% 50%) !important;
    clip-path: polygon(40% 0%, 40% 20%, 100% 20%, 100% 80%, 40% 80%, 40% 100%, 0% 50%) !important;
    padding: 15px 0 !important;
}

/* Apply original gradient background with clip-path for next button */
.section-dich-vu .flickity-button.next .flickity-button-icon {
    background: linear-gradient(to right, transparent 20%, #eaa50080, #eaa500) !important;
    -webkit-clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%) !important;
    clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%) !important;
    padding: 15px 0 !important;
}

/* Style active tab with gradient background */
.tabbed-content .nav .tab.active a {
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    color: #000000 !important;
    border: none !important;
}

/* Style active tab text */
.tabbed-content .nav .tab.active a span {
    color: #000000 !important;
    font-weight: bold !important;
}

/* Space between tabs */
.tabbed-content .nav {
    display: flex !important;
    justify-content: space-between !important;
}

/* Add padding to tab links */
.tabbed-content .nav .tab a {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Style testimonial box - only text box has background */
.box-nhan-xet {
    position: relative !important;
    padding-top: 80px !important;
}

.box-nhan-xet .testimonial-image {
    border: solid 4px #cfa100 !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
}

.box-nhan-xet .icon-box-text {
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    padding-top: 80px !important;
    color: #000000 !important;
    margin-top: -30px !important;
}

.box-nhan-xet .testimonial-text {
    color: #000000 !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    font-style: normal !important;
}

.box-nhan-xet .testimonial-name {
    color: #000000 !important;
    font-weight: bold !important;
}

.box-nhan-xet .testimonial-company {
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Style h4 in row-video-box */
.row-video-box h4 {
    color: #da9900 !important;
    text-align: center !important;
}

/* Style box-left-right */
.box-left-right .box-text {
    order: 1;
    flex: 1 1 0;
    text-align: left !important;
    padding-right: 30px;
    margin-right: 30px;
    position: relative;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
    .section-dich-vu .flickity-button.previous {
        left: -20px !important;
    }
    
    .section-dich-vu .flickity-button.next {
        right: -20px !important;
    }
    
    .section-dich-vu .flickity-button .flickity-button-icon {
        width: 30px !important;
        height: 30px !important;
    }
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.xc-footer h3 {
    font-size: 35px;
    color: #da9900;
    margin-bottom: 15px;
}

/* Mobile responsive cho footer h3 */
@media (max-width: 768px) {
    .xc-footer h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}
.text-bold {
    font-weight: bold;
}
.text-uppercase {
    text-transform: uppercase;
}
.xc-footer p {
    color: #fff;
    line-height: 1.5;
}
.footer-txt {
    margin-bottom: 20px;
}
p {
    line-height: 1.5 !important;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}
.absolute-footer {display: none;}
.xc-footer-lien-he {
  --xc-color-text: #ffff00;
  --xc-color-border: #ffff00;
  --xc-color-icon: #f0d472;
}

.xc-footer-lien-he__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xc-footer-lien-he__action {
  flex: 0 0 auto;
}

.xc-footer-lien-he__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--xc-color-border);
  border-radius: 9999px;
  padding: 5px 10px;
  font-weight: 400;
  text-decoration: none;
  color: var(--xc-color-text);
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.xc-footer-lien-he__link:hover {
  background: var(--xc-color-border);
  color: #111827;
}

.xc-footer-lien-he__icon {
  color: var(--xc-color-icon);
  font-size: 18px;
}

.xc-footer-lien-he__icon-zalo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

.xc-footer-lien-he__info {
  color: var(--xc-color-text);
}

.xc-footer-lien-he__info .xc-footer-lien-he__icon {
  color: var(--xc-color-icon);
  margin-right: 8px;
}

.xc-footer-lien-he__info-link {
  color: var(--xc-color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 767.98px) {
  .xc-footer-lien-he__actions {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
  }
  .xc-footer-lien-he__link {
    justify-content: center;
    width: 100%;
  }
}
.footer-contact-box .col-inner {
    background: linear-gradient(to right, #3d3d3d 0%, #5f5e5e 51%, #3d3d3d 100%) !important;
    transition: 0.5s;
    background-size: 200% auto !important;
border-radius: 5px;
    padding: 20px;
}
.main-txt-color {
    color: #da9900 !important;
}
.item-bang-gia {
  background: #fff;
  font-family: "Montserrat", sans-serif;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s ease;
}

.item-bang-gia__title {
  text-align: center;
  padding: 15px 10px;
  background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800);
  color: #202222;
  font-weight: bold;
  transition: background-position 0.5s;
  background-size: 120% auto !important;
}

.item-bang-gia__title:hover {
  background-position: right center !important;
}

.item-bang-gia__price {
  font-size: 28px;
  background: #202222;
  color: #DA9900;
  padding: 8px 12px;
  border-radius: 5px;
  display: inline-block;
  margin: 6px 0;
}

.item-bang-gia__shift {
  font-size: 18px;
  margin: 0;
}

.item-bang-gia__table {
  width: 100%;
  border-collapse: collapse;
}

.item-bang-gia__table td {
  padding: 8px 12px;
  color: #000;
  border-top: 1px solid #ddd;
  line-height: 1.5;
}

.item-bang-gia__table tr:nth-of-type(odd) td {
  background-color: #f9f9f9;
}

@media (max-width: 900px) {
  .item-bang-gia {
    max-width: 400px;
    margin: 0 auto 20px;
    padding: 10px;
  }

  .item-bang-gia__price {
    font-size: 20px;
  }

  .item-bang-gia__shift {
    font-size: 16px;
  }

  .item-bang-gia__table td {
    font-size: 16px;
  }
}
/* =========================
   xc-cam-ket (BEM, scoped)
   ========================= */
.xc-cam-ket {
  /* theme vars */
  --xc-ck-border: #cfa100;
  --xc-ck-glow: #fee8ab;
  --xc-ck-radius: 6px;
  --xc-ck-pad: 24px;

  display: block;
  width: 100%;
}

.xc-cam-ket__inner {
  border: 5px dashed var(--xc-ck-border);
  border-radius: var(--xc-ck-radius);
  padding: var(--xc-ck-pad);
}

/* text with moving shine (no global resets) */
.xc-cam-ket__text {
  margin: 0;
  line-height: 2; /* =200% */
  text-align: justify;
  font-weight: 700;

  /* animated gradient “shine” clipped to text */
  background-image: linear-gradient(
    90deg,
    var(--xc-ck-border) 0%,
    var(--xc-ck-glow) 50%,
    var(--xc-ck-border) 100%
  );
  background-size: 400px 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(255, 255, 255, 0.1);
  animation: xc-cam-ket-shine 2s linear infinite;
}

/* Modifier: larger visual emphasis */
.xc-cam-ket--highlight .xc-cam-ket__text {
  font-size: clamp(18px, 2.2vw, 28px);
}

/* Optional Modifier: compact spacing */
.xc-cam-ket--compact .xc-cam-ket__inner {
  padding: 16px;
  border-width: 3px;
}

@keyframes xc-cam-ket-shine {
  0%   { background-position: left top; }
  100% { background-position: right top; }
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .xc-cam-ket__text { background-size: 110px 100%; }
}

@media (min-width: 1440px) {
  .xc-cam-ket__inner {
    padding: 35px 25px;
    margin-top: 60px; /* keep if you need the top offset like the original */
  }
}
.text-cam-ket {
  display: table;
  width: 100%;
  height: 100%;
  color: #222; /* màu chữ chính */
}

.text-cam-ket__number {
  display: table-cell;
  vertical-align: middle;
  font-size: 55px;
  color: #da9900;
  font-weight: 700;
  width: 80px;
  text-align: center;
}

.text-cam-ket__content {
  display: table-cell;
  vertical-align: middle;
  padding-left: 10px;
}

.text-cam-ket__title {
  font-size: 26px;
  font-weight: 700;
  color: #da9900;
  line-height: 1.3;
  margin-bottom: 5px;
}

.text-cam-ket__desc {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
  .text-cam-ket {
    display: block;
    text-align: center;
  }

  .text-cam-ket__number {
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
  }

  .text-cam-ket__content {
    display: block;
    padding-left: 0;
  }

  .text-cam-ket__title {
    font-size: 22px;
  }

  .text-cam-ket__desc {
    font-size: 18px;
  }
}
/* ==== Layout: text trái – ảnh phải, border ở mép text (bản cũ) ==== */
.box.has-hover.box-left-right{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

/* Text bên trái */
.box-left-right .box-text{
  order:1;
  flex:1 1 0;
  text-align:left !important;
  padding-right:30px;
  margin-right:30px;
  position:relative;              /* để gắn icon ::after */
}

/* Ảnh bên phải */
.box-left-right .box-image{
  order:2;
  flex:1 1 0;
  text-align:center;
}

.box-left-right .box-image img{max-width:100%;height:auto;}
.box-left-right .box-text .box-text-inner{ text-align:left !important; }

/* Icon trang trí ở ĐẦU border (bản gốc) */
.box-left-right .box-text::after{
  content:"";
  position:absolute;
  top:-10px;
  right:-12px;
  width:24px;height:24px;

}

/* Mobile: xếp dọc, ảnh trên 100%, textbox dưới */
@media (max-width:768px){
  .box.has-hover.box-left-right{ 
    flex-direction:column !important; 
    gap:16px !important; 
  }
  
  /* Đảm bảo ảnh luôn ở trên */
  .box.has-hover.box-left-right .box-image{
    order: 1 !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  
  /* Đảm bảo text luôn ở dưới */
  .box.has-hover.box-left-right .box-text{
    order: 2 !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    border-right:none !important;
    padding-right:0 !important; 
    margin-right:0 !important;
    padding-bottom:16px !important;
  }
  
  .box.has-hover.box-left-right .box-text::after{ 
    display:none !important; 
  }
  
  /* Áp dụng cho variant đảo chiều */
  .box.has-hover.box-left-right.is-reverse{ 
    flex-direction:column !important; 
  }
  
  .box.has-hover.box-left-right.is-reverse .box-image{
    order: 1 !important;
  }
  
  .box.has-hover.box-left-right.is-reverse .box-text{
    order: 2 !important;
    border-left:none !important; 
    padding-left:0 !important; 
    margin-left:0 !important;
  }
}

/* ==== Biến thể đảo bên (ảnh trái – text phải) ==== */
.box.has-hover.box-left-right.is-reverse{ flex-direction:row-reverse; }
.box.has-hover.box-left-right.is-reverse .box-text{
  border-right:none;
  padding-right:0; margin-right:0;
  padding-left:30px; margin-left:30px;
}
.box.has-hover.box-left-right.is-reverse .box-text::after{
  right:auto; left:-12px;          /* icon bám sang mép trái */
}

/* Style back to top button */
#top-link.back-to-top {
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    color: #000000 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999 !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

#top-link.back-to-top:hover {
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

#top-link.back-to-top i {
    color: #000000 !important;
    font-size: 20px !important;
}

/* Style FAQ section */
.contain_FAQ {
    background: #ffedce !important;
    padding: 40px 30px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 30px 0 !important;
}

.contain_FAQ .row {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Hide empty rows */
.contain_FAQ .row:empty {
    display: none !important;
}

.contain_FAQ .row .col-xs-12:empty {
    display: none !important;
}

/* Question layout - icon outside, then bubble */
.contain_FAQ .question {
    border-radius: 20px !important;
    background: #FFF !important;
    text-align: left !important;
    padding: 20px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin: 0 auto 20px 20px !important; /* left side with margin */
    max-width: 680px !important;
    clear: both !important;
    margin-top: 15px !important;
}

/* Answer layout - icon outside, then bubble */
.contain_FAQ .answer {
    border-radius: 20px !important;
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    text-align: left !important;
    padding: 20px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin: 0 20px 20px auto !important; /* right side with margin */
    max-width: 680px !important;
    clear: both !important;
    margin-top: 15px !important;
}

/* Avatar positioning - outside the bubbles */
.contain_FAQ .question .avatar,
.contain_FAQ .answer .avatar {
    display: block !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    position: relative !important;
}

.contain_FAQ .question .avatar { 
    text-align: left !important;
    float: left !important;
    margin-right: 10px !important;
}

.contain_FAQ .answer .avatar { 
    text-align: right !important;
    float: right !important;
    margin-left: 10px !important;
}

.contain_FAQ .question .avatar img,
.contain_FAQ .answer .avatar img {
    border-radius: 50% !important;
    border: 3px solid #fff !important;
}

.contain_FAQ .question p,
.contain_FAQ .answer p {
    color: #000 !important;
    font-size: 16px !important;
    font-family: inherit !important;
    text-align: left !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* chat tails */
@media (min-width: 900px) {
  .contain_FAQ .question::after {
      content: '' !important;
      position: absolute !important;
      left: -12px !important;
      top: 20px !important;
      width: 0 !important; height: 0 !important;
      border-top: 10px solid transparent !important;
      border-bottom: 10px solid transparent !important;
      border-right: 12px solid #FFF !important;
  }
  .contain_FAQ .answer::after {
      content: '' !important;
      position: absolute !important;
      right: -12px !important;
      top: 20px !important;
      width: 0 !important; height: 0 !important;
      border-top: 10px solid transparent !important;
      border-bottom: 10px solid transparent !important;
      border-left: 12px solid #AB7800 !important;
  }
}

@media (max-width: 900px) {
  .contain_FAQ {
    padding: 20px 15px !important;
    margin: 20px 0 !important;
  }
  
  .contain_FAQ .question,
  .contain_FAQ .answer { 
    max-width: 100% !important; 
    margin-left: 0 !important; 
    margin-right: 0 !important; 
    padding: 15px !important;
  }
  
  .contain_FAQ .question .avatar { 
    left: 0 !important; 
    margin-bottom: 8px !important;
  }
  
  .contain_FAQ .answer .avatar { 
    right: 0 !important; 
    margin-bottom: 8px !important;
  }
}

/* Box giới thiệu - ảnh trái 30%, text phải 70% */
.box.gioi-thieu-left-right {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: transparent !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.box.gioi-thieu-left-right .box-image {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.box.gioi-thieu-left-right .box-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 8px !important;
}

.box.gioi-thieu-left-right .box-text {
    flex: 0 0 70% !important;
    max-width: 70% !important;
    background: #DA9900 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin: 0 !important;
    text-align: left !important;
    min-height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.box.gioi-thieu-left-right .box-text-inner {
    text-align: left !important;
}

.box.gioi-thieu-left-right .box-text p {
    color: #000 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Đảo chiều - ảnh phải, text trái */
.box.gioi-thieu-left-right.dao-chieu {
    flex-direction: row-reverse !important;
}

.box.gioi-thieu-left-right.dao-chieu .box-image {
    flex: 0 0 30% !important;
    max-width: 30% !important;
}

.box.gioi-thieu-left-right.dao-chieu .box-text {
    flex: 0 0 70% !important;
    max-width: 70% !important;
}

/* Equal-height columns for gioi-thieu-left-right */
.box.gioi-thieu-left-right { align-items: stretch !important; }
.box.gioi-thieu-left-right .box-image, 
.box.gioi-thieu-left-right .box-text { display: flex !important; }
.box.gioi-thieu-left-right .box-text { align-items: center !important; }
.box.gioi-thieu-left-right .box-image > div { width: 100% !important; height: 100% !important; }
.box.gioi-thieu-left-right .box-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Equal-height for reversed variant */
.box.gioi-thieu-left-right.dao-chieu { align-items: stretch !important; }
.box.gioi-thieu-left-right.dao-chieu .box-image, 
.box.gioi-thieu-left-right.dao-chieu .box-text { display: flex !important; }
.box.gioi-thieu-left-right.dao-chieu .box-text { align-items: center !important; }
.box.gioi-thieu-left-right.dao-chieu .box-image > div { width: 100% !important; height: 100% !important; }
.box.gioi-thieu-left-right.dao-chieu .box-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

/* Spacing between gioi-thieu-left-right boxes */
.box.gioi-thieu-left-right { margin-bottom: 20px !important; }
.box.gioi-thieu-left-right.dao-chieu { margin-bottom: 20px !important; }

/* In reversed variant, remove background on text column */
.box.gioi-thieu-left-right.dao-chieu .box-text {
    background: transparent !important;
}

/* In reversed variant, use a light white background on text column */
.box.gioi-thieu-left-right.dao-chieu .box-text {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Mobile responsive - ảnh trên 100%, textbox dưới - OVERRIDE MẠNH */
@media (max-width: 768px) {
    .box.gioi-thieu-left-right {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    
    /* Đảm bảo ảnh luôn ở trên - OVERRIDE TẤT CẢ CSS DESKTOP */
    .box.gioi-thieu-left-right .box-image {
        order: 1 !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }
    
    .box.gioi-thieu-left-right .box-image > div {
        width: 100% !important;
        height: auto !important;
    }
    
    .box.gioi-thieu-left-right .box-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: initial !important;
    }
    
    /* Đảm bảo text luôn ở dưới - OVERRIDE TẤT CẢ CSS DESKTOP */
    .box.gioi-thieu-left-right .box-text {
        order: 2 !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        align-items: initial !important;
        min-height: auto !important;
    }
    
    /* Áp dụng cho cả variant đảo chiều */
    .box.gioi-thieu-left-right.dao-chieu {
        flex-direction: column !important;
    }
    
    .box.gioi-thieu-left-right.dao-chieu .box-image {
        order: 1 !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .box.gioi-thieu-left-right.dao-chieu .box-text {
        order: 2 !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Section nhận biết paragraph styling */
.section-nhan-biet p {
    border: 2px solid #da9900 !important;
    padding: 15px 20px !important;
    color: #FFF !important;
    margin-bottom: 35px !important;
    line-height: 1.5em !important;
    font-size: 20px !important;
    text-align: center !important;
}

/* Box kinh nghiệm cho Flatsome - dựa trên bản gốc */
.box.kinh-nghiem-left-right {
    background-color: #202221 !important;
    color: #fff !important;
    border-radius: 35px !important;
    margin-bottom: 35px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

.box.kinh-nghiem-left-right .box-image {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    line-height: 0 !important;
    border-radius: 38px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 3px !important;
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
}

.box.kinh-nghiem-left-right .box-image img {
    border-radius: 35px !important;
    padding: 10px !important;
    background: var(--main-color) !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.box.kinh-nghiem-left-right .box-text {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 40px !important;
    font-size: 14pt !important;
    background: transparent !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 100% !important;
    text-align: left !important;
}

.box.kinh-nghiem-left-right .box-text h2 {
    font-size: 22px !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
    position: relative !important;
}

.box.kinh-nghiem-left-right .box-text h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 0 !important;
    width: 20% !important;
    height: 5px !important;
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    border-radius: 3px !important;
}

.box.kinh-nghiem-left-right .box-text p.line {
    background: linear-gradient(90deg, #AB7800, #F1DFB1, #AB7800) !important;
    width: 20% !important;
    height: 5px !important;
    margin-bottom: 20px !important;
    border: none !important;
    border-radius: 3px !important;
}

.box.kinh-nghiem-left-right .box-text p {
    color: #fff !important;
    text-align: left !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
}

/* Arrow indicators cho Flatsome */
.box.kinh-nghiem-left-right .box-image::after {
    content: '' !important;
    position: absolute !important;
    left: calc(100% - 15px) !important;
    top: 45% !important;
    background-image: url(https://saigonsecurity.vn/views/template/img/chuyennha/arrow.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 20px !important;
    height: 30px !important;
}

/* Đảo chiều - ảnh phải, text trái */
.box.kinh-nghiem-left-right.dao-chieu {
    flex-direction: row-reverse !important;
}

.box.kinh-nghiem-left-right.dao-chieu .box-image::after {
    left: -35px !important;
    transform: rotate(180deg) !important;
}

/* Mobile responsive cho Flatsome */
@media (max-width: 767px) {
    .box.kinh-nghiem-left-right {
        flex-direction: column !important;
    }
    
    .box.kinh-nghiem-left-right .box-image,
    .box.kinh-nghiem-left-right .box-text {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    
    .box.kinh-nghiem-left-right .box-text {
        padding: 25px 15px 15px 15px !important;
    }
    
    .box.kinh-nghiem-left-right .box-image::after {
        left: 50% !important;
        top: unset !important;
        bottom: -25px !important;
        transform: rotate(90deg) !important;
    }
    
    .box.kinh-nghiem-left-right.dao-chieu .box-image::after {
        left: 50% !important;
        top: unset !important;
        bottom: -25px !important;
        transform: rotate(90deg) !important;
    }
}

/* ===== CSS OVERRIDE MẠNH CHO MOBILE LAYOUT ===== */
/* Đảm bảo mobile layout được áp dụng với specificity cao nhất */
@media (max-width: 768px) {
    /* Override cho box-left-right */
    .box.has-hover.box-left-right,
    .box.has-hover.box-left-right.is-reverse {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }
    
    .box.has-hover.box-left-right .box-image,
    .box.has-hover.box-left-right.is-reverse .box-image {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .box.has-hover.box-left-right .box-text,
    .box.has-hover.box-left-right.is-reverse .box-text {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 16px !important;
        border: none !important;
    }
    
    /* Override cho gioi-thieu-left-right */
    .box.gioi-thieu-left-right,
    .box.gioi-thieu-left-right.dao-chieu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
    }
    
    .box.gioi-thieu-left-right .box-image,
    .box.gioi-thieu-left-right.dao-chieu .box-image {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .box.gioi-thieu-left-right .box-text,
    .box.gioi-thieu-left-right.dao-chieu .box-text {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        display: block !important;
        align-items: initial !important;
        min-height: auto !important;
    }
    
    .box.gioi-thieu-left-right .box-image img,
    .box.gioi-thieu-left-right.dao-chieu .box-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: initial !important;
    }
    
    /* Override cho kinh-nghiem-left-right */
    .box.kinh-nghiem-left-right,
    .box.kinh-nghiem-left-right.dao-chieu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        border-radius: 15px !important;
    }
    
    .box.kinh-nghiem-left-right .box-image,
    .box.kinh-nghiem-left-right.dao-chieu .box-image {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 15px !important;
        background: none !important;
    }
    
    .box.kinh-nghiem-left-right .box-image img,
    .box.kinh-nghiem-left-right.dao-chieu .box-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: initial !important;
        border-radius: 15px !important;
        padding: 0 !important;
        background: none !important;
    }
    
    .box.kinh-nghiem-left-right .box-text,
    .box.kinh-nghiem-left-right.dao-chieu .box-text {
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        display: block !important;
        align-items: initial !important;
        min-height: auto !important;
        justify-content: initial !important;
        flex-direction: initial !important;
    }
    
    /* Ẩn arrow trên mobile */
    .box.kinh-nghiem-left-right .box-image::after,
    .box.kinh-nghiem-left-right.dao-chieu .box-image::after {
        display: none !important;
    }
}

