
html, body{
  font-family: "SVN-Gotham-Book";
  font-size: 16px;
  scroll-behavior: smooth;
}

#navBar a.nav-link {
    text-transform: uppercase;
    color: var(--tcg-text-color);
    padding: 0.5rem 1rem;
}
.active {
    color: var(--tcg-text-primary-color) !important;
}
#navBar a.nav-link:hover {
    color: var(--tcg-text-primary-color) !important;
}
#navBar li:first-child a.nav-link {
    padding-left: 0 !important;
}
.text-yellow{
    color: var(--tcg-text-primary-color);
}
.text-indent {
    list-style: none;
    margin-left: 2rem;
}
ul.text-indent li{
    position: relative;
}
ul.text-indent li::before{
    content: "•";               /* thay thế bullet */
    color: var(--tcg-bg-primary-color);             /* xanh lá, có thể đổi mã màu */
    font-weight: bold;
    position: absolute;
    left: -1.2rem;   
}

/* giới thiệu */
.video-wrapper {
  position: relative;
  /* padding-bottom: 56.25%; */
  height: 0;
  overflow: hidden;
  /* border-radius: 10px;  */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  border: 5px solid #fff;
}
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  border: 5px solid #fff;
}
.intro-right{
    width: calc(100% - 15px);
    height: 100%;
    position: relative;
    /* margin-left: 24px; */
    padding: 0px 0px 0px 15px;
}
.intro_img{
    position: relative;
    /* z-index: 1; */
    border-radius: 15px;
    border-width: 5px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    /* border-image: initial; */
    width: 100%;
    height: 100%;
}
.intro_img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 18px;
    left: -18px;
    background: rgb(42, 128, 32);
    border-radius: 15px;
}
.contentBx{
    padding: 0 1rem 0 0;
}
#intro h2{
    position: relative;
}
/* #intro h2::after{
    content: "";
    border-bottom: 8px solid red;
    width: 25%;
    position: absolute;
    left: 2px;
    bottom:-2px;
    border-radius: 5px;
}
#intro .contentBx h2::after{
    content: "";
    border-bottom: 8px solid red;
    width: 25%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom:-2px;
    border-radius: 5px;
} */
#intro .contentBx h2, #intro .box-item h2{
    font-size: 2.25rem;
}
/* #intro .contentBx h2 span{
   display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #f70505;
    border: 4px solid #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    bottom: -7px;
} */

/* sản phẩm  */
.bg-image {
    background-color: var(--tcg-bg-primary-color);
    width: 100%;
    /* height: 650px; */
}

h2.head{
    position: relative;
}
/* h2.head::after{
    content: "";
    border-bottom: 8px solid red;
    width: 25%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom:-3px;
    border-radius: 5px;
} */
/* h2.head span{
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #f70505;
    border: 4px solid #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    bottom: -7px;
} */
.item-head {
    padding: .5rem;
    transition: box-shadow .25s ease, transform .25s ease;
}
.item-head:hover {
     box-shadow: 10px 10px 20px rgba(184, 234, 6, 0.2);
    cursor: pointer;
    transform: translate(-2px) scale(0.99);
}
.head-title{
    font-size: 1.25rem;
    font-family: "SVN-Gotham-Regular";
}
.item {
    width: 100%;
    /* height: 25rem; */
    height: calc(100vw / 4);
}
.item div.img {
    width: 100%;
    height: 65%;
}
.item  .item-content{
    width: 100%;
    height: 35%;
}
.item {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all .3s ease-in;
}
.item:hover{
    cursor: pointer;
    box-shadow: 10px 10px 20px rgba(184, 234, 6, 0.2);
}
div.img{
    display: block;
    overflow: hidden;
    object-fit: cover;
    transition: all .5s ease;
}
.item div.img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
}
div.img img {
    opacity: .9;
    transition: all 2s ease;
    cursor: pointer;
}
div.img img:hover {
    transform: scale(1.5); 
    cursor: pointer;
    opacity: 1;
}
.item-content{
    /* height: 6rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-content:hover p{
    color: #fff;
}
.item-content:hover a{
    color: var(--tcg-text-primary-color) !important;
}
#tcg-pro .item-content a:hover{
    color: var(--tcg-text-primary-color) !important;
}

#doi-tac{
    display: block;
}
.partners-grid{
  display: grid;
  gap: .5rem;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(2, 1fr);           /* mobile mặc định */
}

.item-img{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 0 10px rgba(5, 167, 66, 0.3)
}
.item-img:hover{
    cursor: pointer;
    box-shadow: 10px 10px 10px rgba(4, 163, 38, 0.5);
}
.item-img img{
  width: 100%;
  max-height: 100%;
  object-fit: contain;
    border-radius:10px
}

/* responsive: 7 ảnh mỗi hàng trên màn hình rộng */
@media (min-width: 576px){ .partners-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px){ .partners-grid{ grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px){ .partners-grid{ grid-template-columns: repeat(5, 1fr); } }
/* @media (min-width:1200px){ .partners-grid{ grid-template-columns: repeat(6, 1fr); } } */


/* tin tức  */


.box-news{
    position: relative;
    overflow: hidden;
}
.box-news .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box-news .img{
    position: relative;
    overflow: hidden;
}
.box-news p{
    margin-bottom: 1px !important;
}
.box-news h5{
    font-family: "SVN-Gotham-Book";
    margin:0;                  
    width:100%;
    position:absolute;
    left:0; bottom:0;
    background: rgba(0,0,0,0.5);
    transition: background-color .3s ease;
}
.box-news h5 a{
    display: block;
    color: #fff600;
    opacity: 1;
}
.box-news h5:hover{
    background-color:rgba(5, 167, 66, .7); 
}
.box-news h5:hover a{
    color: #fff;
}
.news-content a{
    line-height: 1;
    color: #212529;
    cursor: pointer;
}
.news-right {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
}
.news-left .news-right{
    height: 650px;
    border: 1px solid #000;
}
.news-right > .box-news {
    width: calc(50% - 0.5rem);
    height: calc(325px - 0.5rem);
}
.news-left > .box-news {
    width: 100%;
    height: 650px;
}
.news-left > .box-news .img{
    width: 100%;
    height: 80%;
}

.news-left > .box-news .news-content{
    width: 100%;
    height: 20%;
}
.news-right > .box-news .img{
    width: 100%;
    height: 65%;
}
.news-right > .box-news .news-content{
    width: 100%;
    height: 35%;
}

.news-right a:hover{
    color: #05a742;
}
.box-news .news-content:hover{
    background-color: #fff600;
    transition: all 3s ease;
    cursor: pointer;
}
.news-right .news-content{
    transition: background-color 3s ease;
}
#zone6 .box-news {
    height: 25rem;
}
#zone6 .box-news .img{
    height: 72%;
}
#zone6 .box-news .news-content{
    height: 28%;
}
.icontime {
    font-size: 12px;
    color: #686767;
}

.box-news h6{
    font-family: "SVN-Gotham-Book";
    margin:0;                  
    width:100%;
    position:absolute;
    left:0; bottom:0;
    background: rgba(0,0,0,0.5);
    transition: background-color .3s ease;
}
.box-news h6 a{
    display: block;
    color: #fff600;
    opacity: 1;
}
.box-news h6:hover{
    background-color:rgba(5, 167, 66, .7); 
}
.box-news h6:hover a{
    color: #fff;
}
#zone7 .box-news {
    height: 30rem;
}
#zone7 .box-news .img{
    height: 75%;
}
#zone7 .box-news .news-content{
    height: 25%;
}

#lienHe input,
#lienHe textarea,
#lienHe .form-control {
    border-radius: 0 !important;
    border: 1px solid rgba(5, 167, 66, 0.5);
    padding: .5rem;
    transition: all 0.3s ease-in-out;
}

#lienHe input:focus,
#lienHe textarea:focus,
#lienHe .form-control:focus,
#lienHe input:hover,
#lienHe textarea:hover,
#lienHe .form-control:hover {
    border-color: #fff600; /* vàng */
    box-shadow: 0 0 6px rgba(5, 167, 66, 0.5); /* viền sáng xanh lá */
    background-color: #f9fff9; /* nền nhạt */
    outline: none;
}
#lienHe form label {
    color: #fff600;
}
/* Riêng textarea cho phép thay đổi chiều cao */
#lienHe textarea {
    resize: vertical;
}
.equal-cols > [class*="col-"] {
  display: flex;
}

.equal-cols .box-contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* (tuỳ chọn) Form chiếm phần còn lại để cột phải luôn đầy chiều cao */
.equal-cols .box-contact form {
  flex: 1;            /* hoặc: flex-grow: 1; */
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 35px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 35px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    height: 35px;
    margin-right: 20px;
    padding-right: 0px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 0px;
}

.bg-gray-overlay {
  background: rgba(0, 0, 0, 0.15);  
  inset: 0;
  border-radius: 0;
  z-index: 1;
}

.head {
  font-weight: 800;
  letter-spacing: 1px;
}

.head-title {
  font-size: 1.1rem;
  font-style: italic;
}
.model-item .img {
    position: relative;
}
.model-item .img h5{
    font-family: "SVN-Gotham-Book";
    margin:0;                  
    width:100%;
    position:absolute;
    left:0; bottom:0;
    background: rgba(0,0,0,0.5);
    transition: background-color .3s ease;
}
.model-item .img h5 a{
    display: block;
    color: #fff600;
    opacity: 1;
    padding: 2rem .5rem;
}
.model-item .img:hover h5{
    background-color:rgba(5, 167, 66, .7); 
}
.model-item .img:hover h5 a{
    color: #fff;
}

.model-item .img h6{
    font-family: "SVN-Gotham-Book";
    margin:0;                  
    width:100%;
    position:absolute;
    left:0; bottom:0;
    background: rgba(0,0,0,0.5);
    transition: background-color .3s ease;
}
.model-item .img h6 a{
    display: block;
    color: #fff600;
    opacity: 1;
    padding: 2rem .5rem;
}
.model-item .img:hover h6{
    background-color:rgba(5, 167, 66, .7); 
}
.model-item .img:hover h6 a{
    color: #fff;
}

.item-footer{
  color: #fff;
}
.item-footer a{
  color: #fff;
}
.item-footer ul{
  list-style: none;
  margin-left: 2rem;
}
.item-footer ul li{
  list-style: none;
  padding: .25rem 0;
}
.item-footer a:hover{
  color: var(--tcg-bg-secondary-color);
}
.item-footer h4{
  position: relative;
  padding: .75rem 0;
  transition: all 3s ease;
}
/* .item-footer h4::after{
    content: "";
    border-bottom: 5px solid #fff600;
    width: 35%;
    position: absolute;
    left: 2px;
    bottom:-2px;
    border-radius: 5px;
} */
/* .item-footer:hover h4 {
    color:#fff600 !important;
    cursor: pointer;
} */

 .model-item{
    display: flex;
    position: relative;
    height: calc(100vw / 3.5 + 2rem) !important;
  }
 .model-item .row{
    display: flex;
    position: relative;
    height: calc(100vw / 3.5 + 2rem) !important;
  }
 .model-item .img{
    height: 100% !important;
  }
 .model-item .img img{
   height: calc(100vw / 3.5 + 2rem) !important;
    width: 100% !important;
  }



/* menu  */

.navbar , .navbar-nav{
    padding: 0 !important;
}
.nav-item {
    position: relative;
    padding: .5rem 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    /* background: #ffffff; */
    background:var(--tcg-bg-primary-color);
    padding: 10px 0;
    min-width: 200px;
    border-radius: 4px;
    border-top-left-radius:0;
    border-top-right-radius: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: none;
}

.dropdown-item {
    padding: 8px 15px;
    display: block;
    /* color: #333; */
    color: #fff;
    font-weight: 600;
}

.dropdown-item:hover {
    background:var(--tcg-bg-primary-color);
    color: #fff600 !important;
}

/* Hover để hiện menu con */
.nav-item:hover > .dropdown-menu {
    display: block;
}
