/*
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.   ***************/


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


}
.header .searchform-wrapper {
    width: 500px !important;
    border-radius: 20px;
}
/*header*/
.header.show-on-scroll, .stuck .header-main {
    height: 60px !important;
}
.stuck #logo img {
    max-height: 60px !important;
}
/* ===== Menu chính ===== */
.header-nav-main > li > a.nav-top-link {
  color: #fff;
  padding: 20px 16px;
  font-weight: 600;
/*   font-size: 15px; */
  letter-spacing: 0.02em;
}
.header-nav-main > li {
  position: relative;
}
.header-nav-main > li:hover {
  background: #a91b14;
}

/* Mũi tên dropdown */
.header-nav-main .has-dropdown > a .icon-angle-down {
  margin-left: 6px;
  font-size: 12px;
}

/* ===== Dropdown ===== */

.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a {
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    border-bottom: 1px solid #ececec;
}
.nav-dropdown.nav-dropdown-default {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
  z-index: 9999;
}
.header-nav-main > li:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .menu-item a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-dropdown .menu-item:last-child a {
  border-bottom: none;
}
.nav-dropdown .menu-item a:hover {
  background: rgba(0,0,0,0.03);
}
.nav-dropdown .menu-item a:hover {
  color: #c6161d; 
  background: rgba(0,0,0,0.03);
}
.header-nav-main > li {
  border-left: 1px solid rgba(255,255,255,0.2);
}
.header-nav-main > li:first-child {
  border-left: none;
}
/*icon banner*/
.icon-feature-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}

.icon-feature {
  text-align: center;
  font-family: sans-serif;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 24px;
}
.icon-banner {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}


.icon-circle i {
  transition: color 0.3s ease;
}

.blue i { color: #007bff; }
.red i { color: #e60000; }
.purple i { color: #6f42c1; }
.green i { color: #17a2b8; }

.icon-circle:hover i {
  color: #fff;
}

.icon-circle.blue:hover { background-color: #007bff; }
.icon-circle.red:hover { background-color: #e60000; }
.icon-circle.purple:hover { background-color: #6f42c1; }
.icon-circle.green:hover { background-color: #17a2b8; }
.dot-separator {
  width: 8px;
  height: 8px;
  background-color: #b60000;
  border-radius: 50%;
  margin: 0 10px;
}

.custom-subtitle {
  text-align: center;
  display: inline-block;
}

.custom-subtitle h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0 auto;
  line-height: 1.4;
}

.custom-subtitle strong {
  font-weight: 700;
  color: #000;
}

.custom-subtitle .red-text {
  color: #a0191f;
  font-weight: 700;
}

.custom-subtitle .gradient-text {
  font-weight: 700;
  background: linear-gradient(to right, #a0191f, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-underline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.title-underline .line {
  height: 1px;
  background-color: #a0191f;
  flex-grow: 1;
  max-width: 100%;
}

.title-underline .diamond {
  width: 8px;
  height: 8px;
  background-color: #a0191f;
  transform: rotate(45deg);
  margin: 0 10px;
}
/*sát cánh*/
.tab-gene .nav-tabs > li.active > a {
    border-top-color: #dd3333;
    background: #C21B17;
    color: #fff;
	 min-width: 190px;
/* 	border-radius: 9px; */
}
.tab-gene li.tab.has-icon ,li.tab.active.has-icon {
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, .1);
}
.tab-gene .nav-tabs>li>a {
    border-top: none;
    border-left: none;
    border-right: none;
    padding-left: 15px;
    padding-right: 15px;
    background: #fff;
}
.tab-gene li.tab.has-icon, li.tab.active.has-icon {
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, .1);
    min-width: 190px;
}
.tab-gene ul.nav.nav-tabs.nav-uppercase.nav-size-normal.nav-center {
    text-align: center;
}
.nav-tabs+.tab-panels {
    border: none;
    background-color: #fff;
    padding: 30px;
}
./*sản phẩm*/

.product-card {
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: sans-serif;
  text-align: left;
}

.card-header .card-category {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
    padding-top: 10px;
  font-weight: 600;
}

.card-header .card-title {
  font-size: 20px;
  font-weight: bold;
  color: #d22630;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.card-subtitle {
  font-size: 14px;
  color: #888;
}

.info-icon {
  font-size: 14px;
  color: #d22630;
  cursor: pointer;
}

.card-features {
  list-style: disc;

  margin-bottom: 20px;
}

.card-features li {
  font-size: 14px;
  margin-bottom: 8px;
}

.card-price {
  font-size: 14px;
text-align: left;
  margin-bottom: 20px;
}

.card-price .price {
  color: #d22630;
  font-weight: bold;
  font-size: 18px;
}

.card-price .unit {
  color: #d22630;
  font-weight: 500;
}

.card-button {
  text-align: center;
}

.card-button .learn-more {
  display: inline-block;
  background: #d22630;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.card-button .learn-more:hover {
  background: #a51925;
}
.chung {
    border-top: 1px solid #b9b9b9c2;
    background: #fff;
    padding-top: 10px;
	border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
 padding-bottom: 30px;
	
}
.product-card {
    border-bottom: 1px solid #b9b9b9c2;
    margin-top: 10px 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.price-sp .box-text.text-center {
    padding: 0 !important;
}
.prchung1{
	padding-left: 10px;
    padding-right: 10px;
}
.grantie-sp {
    background: linear-gradient(to top,#ffebcc , #ffe1f3 );
	border-radius: 15px;
	margin-right: 20px;
}
.grantie-sp2{
	    background: linear-gradient(to top,#fff7f5 , #cffdff );
		border-radius: 15px;
}
.grantie-sp img.attachment-medium.size-medium {
    border-radius: 100%;
}

.sp-icon .icon-box-img svg,.sp-icon .icon-box-img img {
    padding-top: 30%;
    width: 100%;
}
/*Trang sp*/
.tabsanpham {
  max-height: 450px; 
  overflow-y: auto;   
  background: #fff;
}



/* Scrollbar */

.tab-dep .tabbed-content .nav-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
border:none;
  background: #fff;
}


.tab-dep .tabbed-content .nav-tabs .tab a {
  display: block;
  padding: 41px;
  color: #666;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
	font-size:16px;
}

.tab-dep .tabbed-content .nav-tabs .tab.active a {
  color: #000;
  font-weight: bold;
  border-left: 4px solid #c00000;
}

.tab-dep .tabbed-content .nav-tabs .tab.active a::after {
	  font-family: "Font Awesome 6 Free";
  content: "\f105"; 
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #c00000;
}

.pdf-download-list a {
  display: block;
  margin-bottom: 10px;
  color: #b80000;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
}
.pdf-download-list-red a {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
	padding:0 0 0 20px;
}
.pdf-download-list-red a:hover{
	text-decoration: underline; 
    text-underline-offset: 3px;
	color: #fff;
}
.pdf-download-list a:hover{
	text-decoration: underline; 
    text-underline-offset: 3px;
	color: red;
}

/*bảo hiểm sp6*/

@media screen and (max-width: 767px) {
  .health-benefit-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .health-benefit-table table {
    min-width: 800px; 
    width: 100%;
  }

  .health-benefit-table::-webkit-scrollbar {
    height: 6px;
  }

  .health-benefit-table::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }
}

.health-benefit-table tbody tr:nth-child(odd) {
  background-color: #FBFBFB; 
}

.health-benefit-table tbody tr:nth-child(even) {
  background-color: #ffffff; 
}

.health-benefit-table {
  max-width: 100%;
  overflow-x: auto;
}

.health-benefit-table table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  border: 1px solid #ddd;
  background: #fff;
}

.health-benefit-table thead th {
  background: #ffffff;
  font-weight: bold;
  padding: 15px 10px;
  vertical-align: bottom;
  border: 1px solid #ddd;
  position: relative;
	    text-align: center;
	font-size: 18px;
}

.health-benefit-table thead .sub-title {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-top: 5px;
		    text-transform: none!important;
}

.health-benefit-table tbody td {
  padding: 15px;
  border: 1px solid #ddd;
}

.advice-btn {
  display: inline-block;
  background: linear-gradient(to right, #e4513c, #c5281c);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.advice-btn:hover {
  opacity: 0.9;
}

.tooltip-icon {
  font-size: 14px;
  vertical-align: middle;
  margin-left: 3px;
  color: #c00000;
  cursor: help;
}

.note {
  font-size: 13px;
  color: #333;
  margin-top: 15px;
  line-height: 1.6;

}

.custom-tab-nav {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 0;
  margin: -25px auto 0; 
  max-width: 100%;
  position: relative;
  z-index: 10;
}
/*menu banner*/
.custom-tab-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.custom-tab-nav .tab-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  color: #3c3c3c;
  text-decoration: none;
  border-right: 1px solid #eee;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  background: #fff;
  transition: background 0.3s, color 0.3s;
  flex: 1;
  height: 100%;
}

.custom-tab-nav .tab-item i {
  margin-right: 8px;
  font-size: 16px;
}

.custom-tab-nav .tab-item:hover {
  background: #d9412e;  
  color: #fff;
}

.custom-tab-nav .tab-item:hover i {
  color: #fff;
}

.custom-tab-nav .tab-item.active {
  background: #d9412e;
  color: #fff;
  border: none;
}

.custom-tab-nav .tab-item.active i {
  color: #fff;
}
.banner-li li {
    margin-bottom: 0;
	    margin-left: 0!important;
	width:33%;
}
/* Responsive */
@media screen and (max-width: 767px) {
  .custom-tab-nav .tab-item {
    padding: 12px 10px;
    font-size: 14px;
  }

  .custom-tab-nav .tab-item i {
    margin-right: 5px;
  }
}
/*về chúng tôi*/
.we-uss  li {
    margin-bottom: 0;
	    margin-left: 0!important;
	width:50%;
}
.bong-duoi .section-content.relative {
    box-shadow: 0px 10px 10px 0px #0000001a;
}

.line-weight .title-underline .line {
    height: 1px;
    background-color: #fff;
    flex-grow: 1;
    max-width: 100%;
}

.line-weight .title-underline .diamond {
    width: 8px;
    height: 8px;
    background-color: #ffff;
    transform: rotate(45deg);
    margin: 0 10px;
}
.imagebox-boder .box-text.text-center {
    border-radius: 0 10px 10px 0;
}
.imagebox-boder .box-image {
    border-radius: 10px 0 0 10px;
}

}

.giai-thuong button, .giai-thuong html [type=button], .giai-thuong [type=reset], [type=submit] {
    -webkit-appearance: button;
}

/* Slide mặc định: */
/* wrapper */
.giai-thuong .slider-wrapper,
.giai-thuong .slider {
  overflow: visible;
}

.giai-thuong .flickity-slider > .row {
  transition: transform 0.36s ease, opacity 0.36s ease;
  transform-origin: center center;
}

/* bên trong mỗi row, mặc định các col hơi nhỏ (2 bên) */
.giai-thuong .flickity-slider > .row .col {
  transform: scale(0.6);
  opacity: 0.5;
  transition: transform 0.36s cubic-bezier(.2,.8,.2,1), opacity .36s ease;
}


.giai-thuong .flickity-slider > .row.is-selected .col:nth-child(2) {
  transform: scale(1);
  opacity: 1;
  z-index: 3;
  border-radius: 12px; 
}

/* 2 col */
.giai-thuong .flickity-slider > .row.is-selected .col:nth-child(1),
.giai-thuong .flickity-slider > .row.is-selected .col:nth-child(3) {
  transform: scale(0.7);
  opacity: 0.8;
}

/* Trên mobile  */
@media (max-width: 768px) {
  .giai-thuong .flickity-slider > .row .col { transform: none; opacity: 1; box-shadow: none; }
  .giai-thuong .flickity-slider > .row.is-selected .col:nth-child(2) { transform: none; box-shadow: none; }
}
/*tab lich sử*/
.giai-thuong li.tab.has-icon, .giai-thuong li.tab.active.has-icon {
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, .1);
    min-width: 100px;
/* 	margin-left: 10%; */
	    border-radius: 20px;
    background: #ffffff;
}
.giai-thuong li.tab.active.has-icon {
	background-color:#DD3333;
	border-radius:50px
}
.giai-thuong .nav.nav-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.giai-thuong .nav.nav-pills li {
  position: relative;
  margin: 0 40px; /* Khoảng cách giữa các nút */
}

.giai-thuong .nav.nav-pills li a {
  display: inline-block;
  padding: 8px 28px;
  background: #fff;
  color: #b91c1c;
  border-radius: 999px;
  font-weight: 600;
/*   box-shadow: 0 6px 15px rgba(0,0,0,0.06); */
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.giai-thuong .nav.nav-pills li.active a {
  background: #DD3333;
  color: #fff;
}

/* Đường nối giữa các nút */
.giai-thuong .nav.nav-pills li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
width: 100%;
  height: 2px;
  background: #e5e5e5;
  transform: translateY(-50%);
  z-index: 0;
}

/* Bỏ đường nối ở nút cuối */
.giai-thuong .nav.nav-pills li:last-child::after {
  display: none;
}
/*Sản phẩm*/
.process-container {

    font-family: Arial, sans-serif;
}

.process-container h2 {
    text-align: left;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    background: #d32f2f;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-left: 15px;
}

.step-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content ul {
    margin: 0;
    padding-left: 20px;
}

.step-content li {
    list-style: none;
    margin-bottom: 6px;
    position: relative;
}

.step-content li::before {
    content: "✓";
    position: absolute;
    left: -20px;
    color: red;
}

.step::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 36px;
    bottom: -30px;
    width: 2px;
    background: #ccc;
    z-index: 1;
}

.step:last-child::after {
    display: none;
}
/*form*/
.generali-heading {
  position: relative;
  padding: 40px 20px 100px;
  background: transparent; 
}

.generali-title {
  margin: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  max-width: 600px; 
}

.generali-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px; 
  pointer-events: none;
}
/*giới thiệu*/
.lui .luixuong .col-inner {
    bottom: -15%;
}
.lui  .video.video-fit.mb.box-shadow-2 iframe {

  border-radius: 12px;       

}
/*hợp đồng*/
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;

}

.service-item {
  display: flex;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.service-item:hover {
  background: #f9f9f9;
}

.service-icon img {
  width: 24px;
  height: 24px;
}

.service-text {
  flex: 1;
  margin-left: 12px;
  font-size: 15px;
  color: #333;
}

.service-arrow {
  font-size: 18px;
  color: #d12322;
}

.highlight {
  color: #d12322;
}

/*giải quyết*/
.giai-quyet .service-item {
    background: #fff;
}
/*icon trang chủ*/
.icon-border .icon {
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, .1);
    --tw-shadow-colored: 0px 2px 10px 0px var(--tw-shadow-color);
    border-radius: 99%;
    padding: 10px;
}
/*trang chủ*/
.bortt .box-text .button {
    margin-top: 1em;
    border-radius: 20px;
}
h1.page-title.is-large.uppercase {
    display: none;
}
aside#flatsome_recent_posts-2 li.recent-blog-posts-li a {
    text-align: justify;
}
.widget .widget-title {
    font-size: 18px !important;
    text-transform: uppercase;
    color: #333 !important;
    display: inline-block !important;
    line-height: 23px !important;
    margin: 0;
    width: 100%;
    display: inline-block;
    line-height: 1.2em;
    color: #ccc;
    border-bottom: 1px solid #dbdce0;
    padding-bottom: 10px;
    position: relative;
    margin-top: 0px !important;
    margin-bottom: 20px;
}
.widget .widget-title:before
 {
    content: '';
    border-bottom: 3px solid var(--primary-color);
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 175px;
}
.is-divider {
    height: 3px;
    display: block;
    background-color: rgba(0, 0, 0, .1);
    margin: 1em 0 1em;
    width: 100%;
    max-width: 30px;
    display: none;
}
#comments .comment-respond {
    background-color: rgba(0, 0, 0, .05);
    margin-top: 15px;
    padding: 15px 25px 0;
    display: none;
}
.absolute-footer.dark.medium-text-center.small-text-center {
    display: none;
}
