
:root {
  --color-primary:#15447A;;
  --color-secondary: rgba(21, 68, 122, 0.5);
  --color-accent: #715c32;
  --color-green:#255e4b;
  --color-dark: #1e293b;
  --color-light: #fffcf4;
  --color-red:red;

  /* Cấu hình chung */
  --trans-default: all 350ms ease-in-out;
  --container-max-width: 96%;
}
@font-face {
  font-family: "Montserrat-L";
  src: url("../../assets/fonts/Montserrat-Light.ttf") format("truetype");
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "Montserrat-R";
  src: url("../../assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 500; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "Montserrat-M";
  src: url("../../assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 700; /* Medium */
  font-style: normal;
}

@font-face {
  font-family: "Montserrat-B";
  src: url("../../assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight:900; /* Bold */
  font-style: bold;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat-L", sans-serif;
  color: var(--color-dark);
  background-color:#fff;
  max-width: 1920px;
  margin: 0 auto;
  line-height: 1.5;

  /* Chỉ dùng dòng transition này nếu bạn làm Dark Mode */
  /* transition: background-color 350ms ease-in-out, color 350ms ease-in-out; */
}

a,a{
  text-decoration:none;
}
.color-primary{
   color:var(--color-primary);
}
.text-truncate-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-4 {
  display: -webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rounded-md{
  border-radius:15px;
}
.rounded-sm{
  border-radius:10px;
}
.rounded-xs{
  border-radius:5px;
}
.heading-main .container{
  max-width:100%;
}
.typography{
  font-size:1.1rem;
  line-height:1.625;
}
#nav_main {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#nav_main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Kiểu dáng chung cho các thẻ <a> */
#nav_main a {
  text-decoration: none;
  color: #333;
}

/* Menu cấp 1 */
#nav_main > li > a {
  color: #fff;
  display: block;
  line-height: 3rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-size:0.9rem;
}

#nav_main > li.current > a,
#nav_main > li > a:hover {
  color: var(--color-red,#F6B241);
}

#nav_main > li > a > .icon {
  margin-left: 0.2rem;
}

#nav_main > li > ul > li > a,
#nav_main > li > ul > li > ul > li > a {
  display:inline-block;
  line-height: 1.3;
  padding: 0.5rem 0.7rem 0.5rem 0;
  white-space: nowrap;
  color:#333;
  -webkit-transition: padding-left 0.2s ease;
    transition: padding-left 0.2s ease;
}

#nav_main > li > ul > li > a {
  font-size:0.9rem;
  position:relative;
}
#nav_main > li > ul > li > a > span{
  position:relative;
  display:inline-block;
  padding-bottom:0.3rem;
}
#nav_main > li > ul > li > a > span:after{
   position:absolute;
   width:0;
   height:1px;
   content:'';
   left:0;
   bottom:0;
   background-color:var(--color-light);
   -webkit-transition:width 0.4s ease;
    transition: width 0.4s ease;
}

#nav_main > li > ul > li > a:hover > span:after{
   width:100%;
}


#nav_main > li > ul > li > ul > li > a {
  font-size: 0.9rem;
}

#nav_main > li > ul > li:hover > a,
#nav_main > li > ul > li > ul > li:hover > a {
  color:var(--color-primary);
  padding-left:1.2rem;
}

.title-rpmenu {
	padding: 0.2rem 0.2rem;
	color: var(--color-1);
	font-size: 1rem;
	position: relative !important;
	z-index: 999;
	display: flex;
	flex-direction: column;
	top: unset !important;
	right: unset !important;
}

.title-rpmenu .icon-bar:last-child {
	margin-bottom: 0;
}

.title-rpmenu .wrap {
	display: flex;
	flex-direction: column;
	position: relative;
}

.title-rpmenu .icon-bar {
	width: 2rem;
	height: 0.25rem;
	background:#fff;
	margin-bottom: 0.35em;
	border-radius: 0;
	overflow: hidden;
}

#responsive-menu .close {
	position: absolute;
	top:5px;
	right:5px;
	z-index:999;
	opacity: 1;
	font-weight: 600;
	background: transparent;
	border-color: transparent;
	padding: 0;
	display: inline-block;
	line-height: 1;
}
#responsive-menu .close img{
   height:1.7rem;
}

#responsive-menu.show{
  height:100vh;
}

#responsive-menu {
	border-top: none;
	width: 100%;
	overflow: hidden;
	background: var(--color-primary);
	position: absolute;
	z-index: 9999;
	top:0;
  left:0;
	border-radius: 0.15rem;
  display:none;
}

/* Đã xóa mã "#responsive-menu.show" bị vô hiệu hóa */

#responsive-menu .search {
	position: relative;
	padding: 0 5px;
	margin-top: 25px;
}

#responsive-menu .content {
	width: 100%;
}

#responsive-menu .content ul {
	list-style: none;
	padding: 0;
	width: 100%;
}

#responsive-menu .content>ul {
	padding: 0;
	margin: 0;
}

#responsive-menu .content .toggle-menu {
	float: right;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 10px;
}

#responsive-menu .content .toggle-menu i {
	font-size: 16px;
	font-weight: 500;
	transition: .1s all;
}

#responsive-menu .content ul li a {
	color:#fff;
	font-size: 1rem;
	padding-left: 10px;
	display: block;
	max-width: calc(100% - 15px);
	line-height: 40px;
}

#responsive-menu .content ul li {
	transition: all 0.1s ease;
	border-bottom: 1px solid rgba(247, 246, 246, 0.25);
	position: relative;
	cursor: pointer;
	float: none;
}

#responsive-menu .content ul li:last-child {
	border-bottom: none;
}

#responsive-menu .content ul li:hover {
	background: var(--color-1);
}

#responsive-menu .content ul li ul {
	display: none
}

#responsive-menu .content li li:first-child {
	border-top: 1px solid #c4c4c4;
}

#responsive-menu .content>ul>li ul {
	position: relative;
}

#responsive-menu .content>ul li ul li {
	text-indent: 10px;
}

#responsive-menu .content>ul li ul li a {
	font-size: 0.9rem;
	text-transform: capitalize;
}

#responsive-menu .content>ul li ul li ul li {
	text-indent: 10px
}

#responsive-menu .content>ul li ul li ul li a {
	text-indent: 1rem;
}
.heading-main{
  background-color:var(--color-primary);
  position:relative;
}
a.logo{
  max-width:6rem;
}

/* Container chính */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin:0 0.2rem;
}

/* Nút bấm chính (tận dụng lại style cũ) */
.select-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    padding:3px 6px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    min-width: 65px;
}

/* Danh sách ẩn đi mặc định */
.lang-list {
  display: none; /* Ẩn danh sách */
  position: absolute;
  top: 100%; /* Hiển thị ngay dưới nút */
  left: 0;
  padding:0;
  background-color: #fff;
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
  border: 1px solid #eee;
}

/* Từng dòng ngôn ngữ trong danh sách */
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-item:hover {
  background-color: #f1f1f1;
}

/* Hiển thị danh sách khi hover vào dropdown */
.lang-dropdown:hover .lang-list {
  display: block;
}

/* Style cho icon cờ */
.flag-icon {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

/* Mũi tên xoay khi hover */
.lang-dropdown:hover .arrow-down {
  transform: rotate(-135deg);
  margin-top: 5px;
}

.arrow-down {
  border: solid #666;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: auto; /* Đẩy mũi tên về bên phải */
  transition: 0.3s;
}

.df-heading .center a{
    color:#fff;
    text-decoration:none;
    padding:0 0.5rem;
}

.font-medium{
   font-family: "Montserrat-M", sans-serif;
}
.font-bold{
   font-family: "Montserrat-B", sans-serif;
}

.tab-titles {
    display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 7px 10px;
  border: 2px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius:3px;
  font-weight: bold;
  transition: all 0.3s;
  font-size:0.8rem;
}

/* Kiểu dáng cho Tab đang được chọn (Active) */
.tab-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.pn-category-card:hover{
   box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.pn-category-card__content {
  position: relative;
  margin-top: -2rem;
  background-color: var(--color-primary);
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  padding-top: 1.5rem;
  min-height:100px;
}
.pn-category-card__content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #f3f3f3;
  z-index: -1; /* Đẩy xuống dưới nội dung */

  /* 4. CÔNG THỨC VÀNG: Tạo đường cắt thứ 2 song song với đường cắt thứ 1
     Giả sử bạn muốn viền dày 4px, hãy cộng thêm 4px vào trục Y của 2 điểm trên cùng */
  clip-path: polygon(0 calc(10% + 5px), 100% 5px, 100% 100%, 0 100%);
}

.pn-category-card a{
  color:#333;
}
.pn-category-card__title:hover{
   color:var(--color-primary);
}
.pn-home-banner__img{
  max-height:200px;
}
.pn-category-card__wt{
  right:3rem;
  top:0;
}
.pn-category-card{
  border-radius:1rem;
  transition:all 0.2s ease;
}
.d-hb{
  flex-direction:column;
}
.d-hb .left, .d-hb .right {
    width:100%;
    position: relative;
    background-color:var(--color-primary);
}
.pn-homeBanner{
   background-color:var(--color-primary);
}
.pn-why__l-gird{
  display:grid;
  grid-template-columns:1fr;
  grid-gap:1rem;
}
.pn-service-home,.pn-why,.pn-footer{
  background-size:cover!important;
}
.pn-service-card{
  box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
}
.pn-service-card:after{
  position:absolute;
  width:8rem;
  height:8rem;
  content:'';
  background-color: rgba(231, 237, 245, 1);
  border-radius:50%;
  right:-3rem;
  top:-3rem;
   transition: all 0.6s ease-in-out;
}
.pn-service-card:hover:after{
  right:-2rem;
  top:-2rem;
}
.pn-contact-card .pn-contact-card__icon{
  width:1.5rem;
}
.pn-contact-card .pn-contact-card__desc{
  width:calc(100% - 2rem);
}
.btn-fc{
  border-radius: 10px;
  background:linear-gradient(to right,#15447A, #277DE0);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
}
#frmAdv_01 label.error{
  color:red;
}
.pn-contact-home,.pn-news-home,.pn-vision-mission,.pn-services{
  background-size:cover!important;
}
.pn-news-card{
  background:#e9f6fe;
}
.is-hover-red:hover{
  color:red!important;
}
.flex-footer{
  flex-direction:column;
}
.pn-copyright_desc{
  font-size:0.8rem;
}
.pn-core-value{
  background-color:rgba(21, 68, 122, 1);
}
.pn-core-card__img{
  height:55px;
}
.image-cover{
  object-fit:cover!important;
}
.image-contain{
  object-fit:contain!important;
}
.site-his__header{
  max-width:800px;
}
.pn-his{
  background-color:#F9FAFB;

}
.item-dis-card{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.item-dis-card_label{
  opacity:0.25;
}
.item-dis-card{
   min-height:220px;
}
.pn-page-contact__img{
   height:1.6rem;
}

.ratio-3x4 {
  position: relative;
  width: 100%;
  padding-top: 133.33%; /* 4/3 */
}

.ratio-3x4 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.Swiper_spct .images-cover{
  cursor:pointer;
}
.swiper-slide-thumb-active img{
   border-color:var(--color-primary);
}

.pn-page-contact__card{
  border-color:var(--color-primary)!important;
}
.wapper-map{
   position:relative;
   width:100%;
   height:0;
   padding-bottom:70%;
}
.wapper-map iframe{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
}
.pn-posts-list{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  grid-gap:1.5rem;
}
.pn-page-contact__desc{
   word-break: break-all;
}
.author-blog-card__meta{
  font-size:0.8rem;
}
.pn-list-product{
  display:grid;
  grid-template-columns:1fr;
  grid-gap:1.8rem;
}
.item-product-card{
  background-color:rgba(244, 244, 244, 1);
}
.item-product-card{
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
.item-product-card__title:hover{
  color:red;
}
.item-product-card__v{
  border:1px solid var(--color-primary);
  color:var(--color-primary);
}
.current-cate{
  color:var(--color-primary)!important;
}
.item-product-card__title{
  font-size:1.1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
}
.breadcrumb__full ol.breadcrumb{
  margin-bottom:0;
}

.breadcrumb__full  li a{
  color:var(--color-primary);
  font-size:0.9rem;
  font-family:'Montserrat-M';
}

.logo img{
   max-width:5rem;
}
.df-heading .nav{
  display:none;
}
.tab-btn{
  text-align:left;
}
.grecaptcha-badge{
   visibility:hidden;
}
.breadcrumb__full .breadcrumb{
  justify-content:center;
}
/* Tạo hiệu ứng chuyển động trượt từ trên xuống */
@keyframes slideDown {
  0% {
    transform: translateY(-100%); /* Bắt đầu ẩn ở phía trên màn hình */
  }
  100% {
    transform: translateY(0); /* Trượt xuống vị trí ban đầu */
  }
}
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Keeps it above other content */
  /* Add any background colors or box-shadows here */
  /* Thêm hiệu ứng animation vào class fixed */
  animation: slideDown 0.4s ease-in-out forwards;

  /* Tùy chọn: Thêm một chút bóng đổ (shadow) để header nổi bật hơn khi cuộn */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
img{
  max-width:100%;
}
.flex-footer .nd img{
  max-width:100%!important;
   height:auto!important;
}
.flex-footer .nd,.pn-contact-card {
  overflow-wrap: break-word; /* Modern standard */
  word-wrap: break-word;
}
.br-xemthem {
    background: linear-gradient(to bottom, rgba(255 255 255/0), rgba(255 255 255/62.5), rgba(255 255 255/1));
    height: 105px;
    left: 0;
    position: absolute;
    width: 100%;
    bottom: 0;
    padding-top: 51px;
}

.btn-xemthem {
    border: 1px solid;
    border-radius: 30px;
    padding: 5px 30px 7px;
    background-color:var(--color-primary);
    color:#fff;
}
.chitiet_danhmuc img{
   max-width:100%!important;
   height:auto!important;
}