/*body trang home*/

/*slider*/

.home-slider { 
	width: 100%; 
	height: 800px; 
	position: relative; 
}

.home-slide-2 { 
	position: relative; 
}

.slide-content {
	position: absolute; 
	top: 50%; 
	left: 13.7%; 
	transform: translateY(-50%);
	z-index: 2; 
	color: white; 
	max-width: 70%;
	opacity: 0; 
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .slide-content { 
	opacity: 1; 
	transform: translateY(-50%); 
}

.slide-content h1 {
	font-family: "Microsoft Yi Baiti";
	font-size: 130px; 
	font-weight: 700; 
	line-height: 1.1; 
	text-transform: uppercase;
}

.btn-slider {
	
	justify-content: center;
	display: inline-flex; 
	align-items: center; 
	gap: 10px;
	background:#000;
	color: #fff; 
	padding: 12px 20px;
	text-decoration: none; 
	font-weight: bold; 
	text-transform: uppercase;
	font-size: 15px; 
	transition: all 0.3s ease;
}
.container .btn-slider {
	height: 100%;
    width: 100%;
	justify-content: center;
	display: inline-flex; 
	align-items: center; 
	gap: 10px;
	
	color: #fff; 
	padding: 12px 20px;
	text-decoration: none; 
	font-weight: bold; 
	text-transform: uppercase;
	font-size: 15px; 
	transition: all 0.3s ease;
}
.btn-slider::before {
	content: '+'; 
	font-size: 20px;
	font-weight: 500; 
	margin-right: 5px;
	transform: scale(1); 
	transition: transform 0.3s ease;
}

.btn-slider:hover { 
	background: #222; 
	transform: translateY(-2px); 
	color: #fff;
}

.btn-slider:hover::before { 
	transform: scale(1.2); 
}

.slide-image { 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	display: block;
	filter: brightness(0.7);
}

@media(max-width: 1400px) {
	.home-slider {
		height: 600px;
	}

	.slide-content h1 {
		font-size: 80px;
	}
}

@media(max-width: 991px) {
	.slide-content h1 {
		font-size: 55px;
	}
}

@media (max-width: 768px) {
	.slide-content h1 { 
		font-size: 2.5rem; 
	}

	.slide-content { 
		max-width: 90%; 
	}
}

@media(max-width: 450px) {
	.slide-content { 
		max-width: 100%;
		left: 5%;
	}

	.btn-slider {
		font-size: 12px;
		padding: 5px 10px;
	}

	.slide-content h1 { 
		font-size: 35px; 
	}
}

/*about us*/

.title-about {
	width: 30%;
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 46px;
    line-height: 1em;
}

.content-about {
    margin-top: 50px;
    padding-right: 20px;
}

.title-about-2 {
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    line-height: 1.06em;
}

.des-about {
	margin-top: 25px;
	font-size: 15px;
    line-height: 1.6em;
    font-weight: 400;
    color: #ccc;
}

.des-about ul {
	list-style: none;
}

.des-about li {
	margin-bottom: 10px;
	text-decoration: underline;
}

@media(max-width: 1400px) {
	.title-about {
		width: 35%;
	}
}

@media(max-width: 1200px) {
	.title-about {
		width: 45%;
	}
}

@media(max-width: 991px) {
	.title-about {
		width: 50%;
		font-size: 40px;
	}
}

@media(max-width: 740px) {
	.title-about {
		width: 65%;
	}
}

@media(max-width: 450px) {
	.title-about {
        width: 100%;
        font-size: 35px;
        line-height: 40px;
	}

	.content-about {
		margin-top: 40px;
		padding-right: 0;
	}
}

/*--------------*/

.gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 30px;
	margin: auto;
}

.gallery-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform 0.4s ease;
}

.image-wrapper {
	overflow: hidden;
	border-radius: 4px;
	
}

.image-wrapper img {
	width: 100%;
	height: 250px;
    object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
	
}
.page-project .image-wrapper img {
	
	filter: grayscale(100%);
}
.page-project .image-wrapper:hover img {
	
	filter: grayscale(0%);
}
.img-diary img {
	height: auto;
}

.image-wrapper:hover img {
	transform: scale(1.05);
	
}

.caption {
	margin-bottom: 30px;
}

.caption h4 {
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    line-height: 1.06em;
    margin-top: 15px;
    margin-bottom: 8px;
}

.caption div {
	font-size: 14px;
	font-style: italic;
	color: #666;
	transition: 0.3s;
}

.caption div:hover {
	text-decoration: underline;
}

/* Responsive for tablet/mobile */

@media (max-width: 768px) {
	.gallery {
		grid-template-columns: 1fr;
	}
}


/*Our team*/

.team-content {
	margin-top: 50px;
}

.team-content img {
	width: 100%;
	height: 450px;
	object-fit: cover;
}

.team-content h4 {
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    line-height: 1.06em;
    margin-top: 15px;
    margin-bottom: 8px;
}

.team-content p {
	font-size: 14px;
	font-style: italic;
	color: #ccc;
}

.swiper-pagination,
.slider-team {
	margin-top: 50px;
}

@media(max-width: 1400px) {
	.team-content img {
		height: 380px;
	}
}

@media(max-width: 991px) {
	.team-content img {
		height: 500px;
	}

	.image-wrapper img {
		height: 300px;
	}
	
	.img-diary img {
		height: auto;
	}
}

/*body trang Projects*/

.project {
	position: relative;
}

.img-project {
	width: 100%;
	height: 500px;
	object-fit: cover;
}

.title-project {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    font-size: 100px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1em;
}

@media(max-width: 1600px) {
	.title-project {
		font-size: 80px;
	}
}

@media(max-width: 740px) {
	.title-project {
		font-size: 60px;
	}

	.img-project {
		height: 400px;
	}
}

@media(max-width: 450px) {
	.title-project {
		font-size: 40px;
	}

	.img-project {
		height: 300px;
	}
}


/*body trang Our Team*/

.des-team {
	margin-top: 25px;
    font-size: 15px;
    line-height: 1.6em;
    font-weight: 400;
    color: #ccc;
}

.des-team p {
	margin-bottom: 10px;
}

.des-team h1,
.des-team h2,
.des-team h3,
.des-team h4,
.des-team h5,
.des-team h6 {
	font-size: 22px;
    color: black;
    font-weight: 700;
    margin: 10px 0;
}

.img-team {
	width: 100%;
	height: auto;
}

.img-team-2,
.img-partner {
	overflow: hidden;
	background: #fff;
}

.img-team-2 img,
.img-partner img {
	cursor: pointer;
	transition: transform 0.5s ease;
}

.img-team-2:hover img,
.img-partner:hover img {
	transform: scale(1.05);
}

.img-partner img {
    width: 100%;
    height: 300px;
    object-fit: scale-down;
}

.text-partner {
	text-align: center;
}

@media(max-width: 991px) {
	.img-team {
		margin-top: 20px;
	}
}

/*body trang category*/

.title-catagory {
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 46px;
    line-height: 1em;
    margin-bottom: 15px;
    margin-top: 40px;
}

.breadcrumb-intro {
	font-size: 14px;
    font-style: italic;
    color: #fff;
}

.breadcrumb-intro span {
	padding-right: 5px;
}

.content-cate {
	margin-bottom: 40px;
}

.content-cate-3 {
	overflow: hidden;
}

.img-cate {
	width: 100%;
	height: 270px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.img-cate:hover {
	transform: scale(1.05);
}

.title-cate {
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
	overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.excerpt-cate {
	display:none;
	cursor: pointer;
	font-size: 15px;
    line-height: 1.6em;
    font-weight: 400;
    color: #fff;
	overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    /*display: -webkit-box;*/
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
}

.icon-more {
	font-size: 17px;
    color: black;
    font-weight: 700;
}

/*phân trang*/

.pagination {
	justify-content: center;
	margin-top: 40px;
	margin-bottom: 70px;
}

.pagination a,
.pagination span {
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 13px;
	color: white;
	margin: 0 5px;
}

.pagination span {
  	background: black;
}

.pagination a {
  	background: rgba(27, 39, 84, 0.6);
}

@media(max-width: 1400px) {
	.title-catagory {
		font-size: 40px;
	}
}

@media(max-width: 991px) {
	.title-catagory {
		font-size: 35px;
	}

	.title-cate {
		font-size: 20px;
	}
}

@media(max-width: 740px) {
	.title-catagory {
		font-size: 30px;
	}
}

/*body trang single*/

.img-single {
	width: 100%;
	height: auto;
}

.content-single {
	margin-top: 25px;
    font-size: 15px;
    line-height: 1.6em;
    font-weight: 400;
    color: #ccc;
}

.content-single p {
	margin-bottom: 10px;
}

.content-single h1,
.content-single h2,
.content-single h3,
.content-single h4,
.content-single h5,
.content-single h6 {
	font-size: 18px;
    color: black;
    font-weight: 700;
    margin: 10px 0;
}

.content-single img {
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}

.content-single div[style] {
	width: 100% !important;
}

.content-single iframe {
	width: 100%;
}

/*body trang 404*/

.bg-404 {
    text-align: center;
    padding: 0 25%;
    margin-top: 50px;
}

.bg-404 img {
    width: 100%;
    height: auto;
}

/*---------------*/

.des-projects {
	margin-top: 50px;
}

.content-pro {
	padding-left: 20px;
}

.img-projects {
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}

.title-pro {
	font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 53px;
    line-height: 1em;
}

.list-des,
.pro-socail {
	list-style: none;
	font-size: 15px;
	margin-top: 20px;
	color: #ccc;
}

.list-des li {
	margin-bottom: 10px;
}

.list-des b {
	padding-right: 5px;
}

.pro-socail {
	font-weight: 700;
}

.pro-socail i {
	padding-left: 15px;
}

@media(max-width: 1600px) {
	.title-pro {
		font-size: 45px;
	}
}

@media(max-width: 1400px) {
	.title-pro {
		font-size: 40px;
	}
}

@media(max-width: 991px) {
	.des-projects .row {
        flex-direction: column-reverse;
	}

	.content-pro {
		padding-left: 0;
		margin-bottom: 30px;
	}
}

@media(max-width: 740px) {
	.title-pro {
		font-size: 30px;
	}
}
.img-left-projects {
  column-count: 4;            /* số cột */
  column-gap: 15px;           /* khoảng cách giữa các cột */
}

.img-left-projects .img-projects {
  width: 100%;
  margin-bottom: 15px;
  display: block;
  border-radius: 6px;
  break-inside: avoid;        /* tránh ảnh bị cắt */
  filter: grayscale(100%);    /* trắng đen */
  transition: filter 0.3s ease;
  cursor: pointer;
}

.img-left-projects .img-projects:hover {
  filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 1200px) {
  .img-left-projects { column-count: 3; }
}
@media (max-width: 768px) {
  .img-left-projects { column-count: 2; }
}
@media (max-width: 480px) {
  .img-left-projects { column-count: 1; }
}
/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Prev & Next buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
}

.lightbox-nav button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.3s;
}

.lightbox-nav button:hover {
  background: rgba(255,255,255,0.4);
}