/*
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.   ***************/
	
.banner-product p {
	margin-bottom: 10px;
}

span.widget-title {
	font-weight: bold;
	text-transform: inherit;
	letter-spacing: normal;
	font-size: 17px;
}

.widget .is-divider {
    height: 1px;
}

.row.category-page-row .flex-row.medium-flex-wrap {
	margin-bottom: 20px;
	border-bottom: 1px solid #dcdcdc;
	padding-bottom: 10px;
}

.row.category-page-row .text-title {
	font-weight: bold;
	font-size: 17px;
}

.shop-page-title .flex-col.medium-text-center {
	max-width: 650px;
    font-size: 14px;
	text-align: justify;
}

.section-about .text-2, .section-about-2 .text-2 {
	text-align: justify;
}

.post-type-archive-project h2 a {
	color: black;
}

.post-type-archive-project h2 {
	margin-bottom: 15px;
	font-size: 17px;
}

.product-categories .children {
    background-color: #f3f3f3;
    padding: 10px 15px;
    border: none;
}

.widget>ul>li a {
	color: black;
}

.widget>ul>li.active a {
	font-weight: bold;
}

.widget .current-cat>a {
    color: #2b9442;
}

.entry-header-text-top {
    padding-bottom: 0;
}

.related-title {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 24px;
}

.archive h1.page-title {
	font-size: 30px;
	margin-bottom: 0;
}

#post-list .large-columns-1 .col-inner, .section-blog .large-columns-1 .col-inner {
    background-color: #f3f3f3;
}

#post-list .box-text-inner, .section-blog .box-text-inner, .row-slider .box-text-inner {
	display: grid;
}

#post-list .large-columns-1 .box-text-inner .post-title a, .section-blog .large-columns-1 .box-text-inner .post-title a {
    font-size: 20px;
}

.post-meta {
    color: #818181 !important;
    font-size: 12px;
    order: -1;
}

.button .icon-angle-right:before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(https://thienducgroup.troypham.com/wp-content/uploads/2025/12/arrow-right.svg) center / contain no-repeat;
    margin-bottom: -2px;
}

.button.primary.is-outline:hover .icon-angle-right:before {
	filter: brightness(0) invert(1);
}

.simple-social-icons img {
	width: 36px;
	height: 36px;
}
.section-banner .text-1, .section-banner h1, .section-banner .text-1 p {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 28px;
}

.section-banner .text-1 p {
	margin-bottom: 0;
}

.section-banner .text-2 {
	font-size: 14px;
	max-width: 450px;
}

.button.primary:not(.is-outline):not(.circle) {
    background-color: #f76a22;
    font-weight: 600;
    padding: 5px 20px;
    font-size: 12px;
	margin-top: 10px;
}

.flickity-page-dots .dot {
    opacity: 1;
    background-color: #e3e3e3;
	border: none;
	height: 10px;
    width: 10px;
    margin: 0 3px;
}

.slider-nav-light .flickity-page-dots .dot.is-selected {
    background-color: #2b9442;
}

.flickity-page-dots {
    bottom: 25px;
}

.section-partner .col {
	padding-bottom: 0px;
}

.section-partner {
	padding: 45px 0 30px !important;
}

.text-orange {
    font-weight: bold;
    color: #f76a22;
}

.text-orange p {
	margin-bottom: 10px;
}

.section h2 {
	color: #2b9442;
}

.button.primary.is-outline {
    padding: 5px 20px;
    font-size: 12px;
	margin-top: 10px;
}

.section-about .row-1 .icon-box-text {
    display: flex;
    align-items: center;
    vertical-align: middle;
    padding-left: 7px !important;
}

.section-about .row-2 .large-3 {
        flex-basis: 20%;
        max-width: 20%;
    }

.section-about .row-2 .large-3:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25%;
    right: -8%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url(https://thienducgroup.troypham.com/wp-content/uploads/2025/12/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.section-about .row-2 h3 {
	color: #141414;
	font-size: 14px;
}

.section-about .row-2 p {
	font-size: 12.5px;
}

.section-about .row-2 .icon-box-text {
	min-height: 90px;
}

.section-about .section-bg img {
    max-width: 1200px;
    top: auto;
    bottom: -20px;
    height: 500px;
    left: 50%;
    right: 50%;
    transform: translate(-50%, 0%);
}

.section-vision .nav {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
}

.section-vision .nav>li {
    width: 33.33%;
    text-align: center;
    margin: 0;
}

.section-vision .nav>li a {
	    color: black;
    font-size: 16px;
}

.section-vision .nav>li.active a{
	color: #2b9442;
}

.section-vision .nav>li.active {
	border-bottom: 3px solid #2b9442;
}

.section-vision .nav>li:hover a {
	color: #2b9442;
}

.section-vision .tab-panels {
    padding-top: 30px;
}

.section-vision .row-banner {
        background: linear-gradient(90deg, #207934 0%, #227234 45%, #52b554 100%);
}

.section-vision .row-banner>.col {
	display: flex;
    align-items: center;
    vertical-align: middle;
	color: white;
}

.section-vision .row-banner>.col p:nth-last-child(1) {
	margin-bottom: 0;
}

.section-solution .row-item>.col>.col-inner {
    border: 1px solid #e3e3e3;
    padding: 20px 30px;
	min-height: 230px;
}


.countup {
    color: #f76a22;
    font-weight: bold;
    font-size: 46px;
}

.section-count .text-1 {
    font-weight: bold;
}

.section-count {
	padding: 10px 0 20px !important;
}

	
	.section-count .col {
		padding-bottom: 0;
	}

.service-grid h3 {
	margin: 8px 0;
	font-weight: 600;
}

.service-grid .box-text p {
    font-size: 12px;
    margin-bottom: 8px;
}

.service-grid .service-link {
    color: #f76a22;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.service-grid .service-link svg {
	width: 22px;
	height: 22px;
}

.service-grid .service-link:hover svg path {
    fill: white;
    stroke: white;
}

.text-gray {
	text-transform: uppercase;
	color: #8a8a8a;
	font-weight: 600;
}

.text-gray p {
	margin-bottom: 10px;
}

.section-service {
	padding: 45px 0 30px !important;
}

.section-service .col {
	padding-bottom: 10px;
}

.button.white {
    padding: 5px 25px;
    font-size: 12px;
    margin-top: 10px;
    color: #2b9442 !important;
}


.section-testimonation .row-item .col-inner {
    border: 1px solid #e3e3e3;
	padding-top: 10px;
}

.section-testimonation .testimonial-text>.icon-box {
    border-top: 1px solid #e3e3e3;
    padding: 15px 15px 0;
}

.section-testimonation .testimonial-text .icon-box-text p:nth-child(1) {
    color: #2b9442;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 5px;
}

.section-testimonation .testimonial-text .icon-box-text p:nth-child(2) {
    color: #949494;
    font-style: normal;
    margin-bottom: 0px;
	font-size: 12px;
}

.section-testimonation .star-rating {
	margin-left: 15px;
}

.section-testimonation .testimonial-text>p {
	padding: 10px 15px 0;
}

.section-testimonation .icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.section-testimonation .line-height-small {
    font-style: normal !important;
}

.section-testimonation {
	padding: 45px 0 30px !important;
}

.box .is-divider {
	display: none;
}

.cat-label  {
    color: #f76a22;
    opacity: 1;
    letter-spacing: normal;
    font-weight: 600;
    font-size: 11px;
	padding-left: 90px;
	position: relative;
}

.cat-label:before {
    content: '';
    width: 80px;
    height: 2px;
    position: absolute;
    left: 0;
    top: 5px;
    background-color: #f76a22;
}

.post-meta {
    color: #aaaaaa;
}

.post-title {
    color: #141414;
    font-size: 14px;
    margin: 8px 0 !important;
}

.section-blog {
	padding: 0 0 30px !important;
}

.section-footer p, .section-footer a {
	font-size: 12.8px;
	border: none !important;
}

.section-footer li {
	border: none !important;
}

.section-footer .text-title, .section-footer .text-title p {
	font-size: 18px;
	font-weight: bold;
}

.section-footer {
	padding: 50px 0 0 !important;
}

.row-info .col {
	padding-bottom: 0;
}

.wpcf7 input {
	border-radius: 5px;
	height: 38px;
}

.wpcf7 input.wpcf7-submit {
    background-color: #f76a22 !important;
    border-radius: 0;
    text-transform: inherit;
    padding: 0 30px 0 50px;
	margin: 0;
	font-weight: 600;
}

.wpcf7-form-control.wpcf7-submit {
  background-image: url('https://thienducgroup.troypham.com/wp-content/uploads/2025/12/send.svg');
  background-repeat: no-repeat;
  background-position: 25px center;
  background-size: 15px 15px;
  border: none;
  cursor: pointer;
}

/* 1. Thiết lập col-inner - QUAN TRỌNG: thêm overflow hidden */
.row-item-hover .col-inner {
  position: relative !important;
  height: 260px;
  overflow: hidden !important; /* Giới hạn icon-box trong khung này */
  border: 1px solid #e9e9e9;
}

/* 2. icon-box đè lên trên - ban đầu hiện, hover thì chạy sang trái */
.row-item-hover .col-inner > .icon-box {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.6s ease, opacity 0.6s ease !important;
}

/* 3. box nằm phía dưới */
.row-item-hover .col-inner > .box {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden !important;
}

/* 4. box-image - container của ảnh */
.row-item-hover .col-inner > .box > .box-image {
  position: absolute !important;
  width: 100%;
  height: 100%;
  bottom: -80% !important;
  left: 0;
  transition: bottom 0.6s ease !important;
}

.row-item-hover .col-inner > .box > .box-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
	
	filter: brightness(0.55);
}

/* 5. box-text ban đầu ẩn */
.row-item-hover .col-inner > .box > .box-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s !important;
  padding: 15px 45px 20px 15px;
}

/* 6. Khi hover */
/* icon-box chạy sang trái và ẩn */
.row-item-hover .col-inner:hover > .icon-box {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
}

/* Ảnh chạy lên full */
.row-item-hover .col-inner:hover > .box > .box-image {
  bottom: 0 !important;
}

/* Ảnh zoom */
.row-item-hover .col-inner:hover > .box > .box-image img {
  transform: scale(1.2);
}

/* box-text hiện ra */
.row-item-hover .col-inner:hover > .box > .box-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
    text-align: left;
    background-color: transparent;
    color: white;
    font-size: 12px;
	    pointer-events: none;
}

.row-item-hover h3 {
	color: white;
	text-transform: uppercase;
	font-size: 20px;
	margin-bottom: 10px;
}

.row-item-hover .icon-box-img {
	margin-top: 15px;
}

.row-item-hover .icon-box-text {
	color: #2b9442;
	font-size: 18px;
	text-transform: uppercase;
}

.row-item-hover .col-inner {
  position: relative;
}

.row-item-hover .col-inner::after {
    content: "";
    position: absolute;
    bottom: 40px;
    right: 20px;
    width: 26px;
    height: 26px;
    background: url(https://thienducgroup.troypham.com/wp-content/uploads/2025/12/btn.svg) no-repeat center / contain;
    z-index: 5;
	    pointer-events: none;
}

.row-item-hover .col-inner::before {
    content: "Xem chi tiết";
    position: absolute;
    bottom: 43px;
    right: 55px;
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transform: translateY(5px);
    transition: all .25s ease;
    z-index: 6;
	    pointer-events: none;
}

.row-item-hover .col-inner:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.row-item-hover .box-bounce:hover .box-image {
    transform: none;
}

.section-footer {
    background: linear-gradient(90deg, #207934 0%, #227234 45%, #52b554 100%);
}

.section-footer .section-bg {
    mix-blend-mode: plus-lighter;
    opacity: 0.8;
}

.section-footer .section-bg img {
    padding: 80px !important;
    object-fit: contain;
}

.section-footer .col {
	padding-bottom: 10px;
}

.absolute-footer {
	display: none;
}

.section-testimonation .flickity-prev-next-button {
    opacity: 1 !important;
}

.section-testimonation .flickity-page-dots {
    bottom: 0;
}

.section-testimonation .flickity-page-dots .dot.is-selected {
    background-color: #2b9442;
}

.wpcf7 input, .wpcf7 textarea {
    font-weight: normal;
	border-radius: 5px;
}

.section-contact-us .row-info .col:nth-child(1) {
	font-weight: bold;
}

.cat-menu {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cat-menu li {
    margin: 0 !important;
}

.cat-menu a {
    display: inline-block;
    padding: 5px 10px;
    background: #f2f2f2;
    color: #000;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.cat-menu a:hover {
    background: #e5e5e5;
}

.cat-menu a.active {
    background: #f76a22;
    color: #fff;
}

.project-header-section {
	padding: 60px 0;
	background: #fff;
}

.project-info {
	padding: 20px 0 20px 40px;
}

.project-title {
	font-size: 36px;
	line-height: 1.3;
	margin-bottom: 20px;
	color: #333;
}

.project-excerpt {
	font-size: 16px;
	line-height: 1.6;
	color: #666;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e5e5e5;
}

.project-meta {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.project-meta .meta-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.project-meta .meta-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #2b9442;
	min-width: 200px;
}

.meta-label svg {
	flex-shrink: 0;
}

.meta-value {
	color: #333;
	flex: 1;
}

/* Service Content Section */
.project-content-section {
	padding: 60px 0;
	background: #f9f9f9;
}

.project-content {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	line-height: 1.8;
}

/* Related Services Section */
.related-projects-section {
	padding: 60px 0;
	background: #fff;
}

.project-content-section .related-title {
	font-size: 24px;
	text-align: center;
	margin-bottom: 40px;
	color: #333;
}

.related-projects-section h3 {
	margin-bottom: 10px;
}

.related-projects-section h3 a {
	color: #333;
}

.project-card {
	transition: transform 0.3s ease;
}

.project-card:hover {
	transform: translateY(-5px);
}

.project-link {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	color: #F76A22;
	font-weight: 600;
	margin-top: 15px !important;
	text-decoration: none;
}

.project-link:hover {
	opacity: 0.8;
}

    .custom-3d-slider {
        position: relative;
        margin: 0 auto;
        padding: 50px 20px;
        perspective: 1000px;
    }

    .slider-wrapper-3d {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 450px;
    }

    .slide-3d {
        position: absolute;
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .slide-3d.active {
        width: 850px;
        z-index: 5;
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: brightness(1);
    }
    .slide-3d.prev-1 {
        width: 800px;
        z-index: 4;
        transform: translateX(-190px) scale(0.85);
        filter: brightness(0.7);
    }
    .slide-3d.prev-2 {
        width: 750px;
        z-index: 3;
        transform: translateX(-340px) scale(0.7);
        filter: brightness(0.5);
    }

    .slide-3d.next-1 {
        width: 800px;
        z-index: 4;
        transform: translateX(190px) scale(0.85);
        filter: brightness(0.7);
    }

    .slide-3d.next-2 {
        width: 750px;
        z-index: 3;
        transform: translateX(340px) scale(0.7);
        filter: brightness(0.5);
    }

    .slide-3d.hidden {
        opacity: 0;
        transform: scale(0.5);
        pointer-events: none;
    }

    .slide-3d .box-text {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
        color: white;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .slide-3d.active .box-text {
        opacity: 1;
    }

    .slide-3d .post-title,
    .slide-3d .post-meta,
    .slide-3d .from_the_blog_excerpt {
        color: white !important;
    }

    .slide-3d .is-divider {
        background-color: rgba(255, 255, 255, 0.3);
    }

    /* Navigation buttons */
    .nav-btn-3d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

    .nav-btn-3d:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .nav-btn-3d.prev {
        left: 20px;
    }

    .nav-btn-3d.next {
        right: 20px;
    }

    /* Pagination dots */
    .pagination-3d {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
    }

    .dot-3d {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot-3d.active {
        background: white;
        width: 30px;
        border-radius: 5px;
    }
		
		.custom-3d-slider h2 a {
			color: white;
			font-size: 24px;
			text-transform: none;
		}
		
		.custom-3d-slider h2 {
			margin-bottom: 20px !important;
		}
		
		.project-meta .meta-label, .meta-value {
			color: white;
		}
	
.section-project-featured {
	padding: 40px 0 0 !important;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	 
	.project-info {
		padding: 30px 0 0 0;
	}
	
	.project-title {
		font-size: 28px;
	}
	
	.project-meta .meta-label {
		min-width: 180px;
		font-size: 14px;
	}
	
	.project-meta .meta-value {
		font-size: 14px;
	}
	
	
	.project-content {
		padding: 30px 20px;
	}
	
	.project-excerpt {
    padding-bottom: 0px;
	}
	
	.project-content-section {
    padding: 20px 0;
}
	
.section-banner .text-1, .section-banner h1, .section-banner .text-1 p {
    font-size: 18px;
}
	.button.primary:not(.is-outline):not(.circle) {
    padding: 3px 15px;
    margin-top: 0px;
}
	
	.section-partner .flickity-button {
		display: none;
	}
	
	.section-partner {
    padding: 25px 0 0px !important;
}
	
	.col-image {
		order: -1;
	}
	
	.section-about .row-2 .large-3 {
    flex-basis: 50%;
    max-width: 50%;
}
	
	.section-about .row-2 .large-3:nth-child(2n)::after {
		content: none !important;
	}

	.section-about .row-2 .large-3:nth-child(5) {
		margin-left: 25%;
	}
	
	.row-item-hover .col-inner {
    height: 170px;
}
	
	.row-item-hover .col-inner > .box > .box-text {
    padding: 10px 5px;
}
	
	.row-item-hover .col-inner::before {
    bottom: 10px;
	}
	
	.row-item-hover .col-inner::after {
    bottom: 6px;
}
	
	.row-item-hover h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
	
	.row-item-hover .icon-box-img {
		width: 45px !important;
	}
	
	.row-item-hover .icon-box-text {
    font-size: 14px;
}
	
	.section-service {
    padding: 0 !important;
}
	
	.section-service .col {
    padding-bottom: 20px;
}
	
	.section-service-2 {
		padding: 45px 0 30px !important;
	}
	
	.section-vision .nav>li a {
    font-size: 12px;
    padding: 10px;
}
	
	.section-vision {
		padding: 30px 0 0 !important;
	}

	
	.countup {
    font-size: 35px;
}
	
	.section-count .text-1 {
    font-weight: normal;
    font-size: 14px;
}
	
		.section-service-2 {
		padding: 45px 0 30px !important;
	}
	
	.section-footer p, .section-footer a {
    font-size: 14px;
}
	
	.section-footer .col {
    padding-bottom: 15px;
}
	.section-footer .row-3 .col-2 {
		order: -1;
		padding-bottom: 0;
	}
	
	.section-footer .row-3 p {
		text-align: center;
	}
	
	.section-footer .section-bg img {
    padding: 0 !important;
    width: 500px;
    height: 290px;
    top: 120px;
}
	
	.off-canvas .nav-vertical>li>a {
    color: #f76a22;
}

#post-list .large-columns-1 .box-text, .section-blog .large-columns-1 .box-text {
    padding: 15px;
}
	
	 .slider-wrapper-3d {
            height: 300px;
        }

        .slide-3d.active {
            width: 350px;
        }

        .slide-3d.prev-1,
        .slide-3d.next-1 {
            width: 300px;
        }

        .slide-3d.prev-1 {
            transform: translateX(-100px) scale(0.8);
        }

        .slide-3d.next-1 {
            transform: translateX(100px) scale(0.8);
        }

        .slide-3d.prev-2,
        .slide-3d.next-2 {
            display: none;
        }

        .slide-3d .post-title {
            font-size: 18px !important;
        }

        .slide-3d .box-text {
            padding: 20px;
        }
    
    .slide-3d .project-meta .meta-item {
        display: block;
    }
	
	.project-meta {
    gap: 5px;
}
	
	     .slide-3d .project-meta .meta-label, .slide-3d .project-meta .meta-value {
        font-size: 12px;
        min-width: fit-content;
        display: inline;
        margin-right: 5px;
    }
	
	.custom-3d-slider h2 a {
    font-size: 17px;
}
	
	.custom-3d-slider h2 {
		margin-bottom: 10px !important;
	}
	
}