/*!
Theme Name: Building THQG
Theme URI: https://www.building.thqg.vn/
Author: Tieu Man
Author URI: https://www.thqqg.vn/agency
Description: HTTPS://THQGN.VN | Copyright © 2025 Tan Hai Quan Group. All right revered.
Version: 1.0.25
License: http://themeforest.net/licenses
License URI: http://themeforest.net/licenses
Text Domain: thqgvn
Tags: building, design, home, company
*/
.featured-projects-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Kiểu dáng của từng dự án */
.project-card {
    width: 32%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

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

.project-card a {
    text-decoration: none;
    color: #000;
}

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

/* Kiểu dáng nội dung dự án */
.project-info {
    padding: 15px;
    background: #fff;
    text-align: left;
    border-top: 5px solid #024A94;
}


.project-info p {
    font-size: 14px;
    color: #555;
}

/* Nút "Khám phá" */
.project-button {
    margin-top: 10px;
}

.project-button a {
    display: inline-block;
    color: #444444;
	font:16px bold;
}

.project-button a:hover {
    color: #024A94;
}

/* RESPONSIVE CHO TABLET */
@media (max-width: 1024px) {
    .project-card {
        width: 48%; /* Hiển thị 2 cột trên tablet */
    }
}

/* RESPONSIVE CHO MOBILE */
@media (max-width: 768px) {
    .project-card {
        width: 100%; /* Hiển thị 1 cột trên điện thoại */
    }
}

/* Widtgets sidebar*/
.container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.content-area {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.project-content {
    width: 70%;
}

.project-sidebar {
    width: 28%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .content-area {
        flex-direction: column;
    }
    .project-content, .project-sidebar {
        width: 100%;
    }
}

.single-project-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.project-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.project-thumbnail img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Dự Án Liên Quan */
.related-projects {
    margin-top: 40px;
}

.related-projects h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.related-project-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.related-project-item {
    width: 30%;
}

.related-project-item img {
    width: 100%;
    border-radius: 5px;
}

.related-project-item h3 {
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

.project-categories {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

.project-categories strong {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.project-categories a {
    display: block; /* Xuống dòng */
    color: #f4a200;
    text-decoration: none;
    font-weight: bold;
}

.project-categories a:hover {
    text-decoration: underline;
}

.no-category {
    color: #999;
    font-style: italic;
}

.project-tags {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

.project-tags strong {
    font-weight: bold;
    margin-right: 5px;
}

.project-tags a {
    color: #f4a200;
    text-decoration: none;
    font-weight: bold;
}

.project-tags a:hover {
    text-decoration: underline;
}

.no-tags {
    color: #999;
    font-style: italic;
}

.elementor-402 .elementor-element.elementor-element-199f8c0 .elementor-button{
	border-color:#024A9400;
}
.elementor-634 .elementor-element.elementor-element-15181bbc .elementor-search-form__input{
	border-color:#024A9400;
}

/* css tab */
/* Căn chỉnh tabs ngang hàng */
.custom-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Khoảng cách giữa 2 tab */
    margin-bottom: 20px;
}

/* Thiết lập kiểu dáng cho tab */
.custom-tab {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Tab đang chọn */
.custom-tab.active {
	background-color: #002f6d;
    fill: #002f6d;
    color: white;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #002f6d;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
    padding: 13px 30px 13px 30px;
}

/* Tab chưa chọn */
.custom-tab:not(.active) {
    color: #2d2d2d;
	font-size:18px bold;
	background-color: rgba(255, 255, 255, 0);
    fill: var(--e-global-color-accent);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #002f6d;
    border-radius: 5px 5px 5px 5px;
    padding: 13px 30px 13px 30px;
}

/* Nội dung tab */
.custom-tab-content {
    display: none; /* Ẩn nội dung mặc định */
}

/* Hiển thị nội dung tab đang chọn */
.custom-tab-content.active {
    display: block;
}

/* Căn chỉnh nội dung tab */
.custom-tab-content-wrapper {
    text-align: center;
}

/* Chỉnh cho di động */
@media (max-width: 768px) {
    .custom-tabs {
        flex-direction: row; /* Giữ tab ngang trên mobile */
        justify-content: center;
		padding-left: 20px;
        padding-right: 20px;
    }
    .custom-tab {
        flex: 1;
        text-align: center;
    }
}

/* Menu cuộn trang */
/* Hiệu ứng nháy chữ khi trỏ chuột vào */
.elementor-element-5a423fa a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Tạo hiệu ứng gạch chân mềm mại khi hover */
.elementor-element-5a423fa a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px; /* Khoảng cách gạch chân */
    width: 0%;
    height: 2px;
    background-color: currentColor; /* Gạch chân cùng màu với chữ */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

/* Khi trỏ chuột vào chữ */
.elementor-element-5a423fa a:hover {
    color: #ffcc00; /* Đổi màu chữ khi hover */
}

/* Khi trỏ chuột vào, gạch chân mở rộng dần */
.elementor-element-5a423fa a:hover::after {
    width: 100%;
}

