/*
Theme Name: PTT Wood Shavings
Theme URI: https://hbweb.vn/
Author: HBWEB
Author URI: https://hbweb.vn/
Description: Landing page theme cho san pham Wood Shavings Animal Bedding. Su dung ACF/SCF de quan ly noi dung. Tich hop Contact Form 7.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ptt-wood-shavings
Tags: landing-page, one-page, acf, custom-fields, business
*/

/* =============================================
   RESET & BASE
   ============================================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	line-height: 1.6;
	color: #1a1a1a;margin: 0;
	padding: 0;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	padding: 30px 20px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.section-title {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 20px;
	color: #1a1a1a;
}

.section-subtitle {
	text-align: center;
	font-size: 1.2rem;
	color: #666;
	margin-bottom: 60px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
	padding: 16px 32px;
	font-size: 1.1rem;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s;
}

.btn-primary {
	background: #ff6b35;
	color: white;
}

.btn-primary:hover {
	background: #e55a2b;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
	background: white;
	color: #1a472a;
}

.btn-secondary:hover {
	background: #f5f5f5;
	transform: translateY(-2px);
}

/* =============================================
   HERO SECTION
   ============================================= */
body{
	padding:-5%px;
	margin: -5%px;
}body {
    /* Ép font-size của text trực tiếp trong body về 0 để biến ký tự lỗi thành vô hình */
    font-size: 0; 
}

/* Nhưng phải trả lại font-size cho các thẻ con bên trong để chữ không bị biến mất */
body * {
    font-size: initial; /* Hoặc font-size bạn đang dùng, ví dụ: 16px */
}
.hero-content.container{
	margin-top: 0px;
}
.hero {
    margin-top: 0 !important;
    padding-top: 170 !important;
}
body .hero {
	width: 100%;
	height:700px;
	padding: 100px;
	color: white;
	text-align: center;
	position: relative;
	margin-top:-5%px;
}

/* 2. SỬA LẠI CÚ PHÁP CHUẨN ĐỂ HIỂN THỊ ẢNH */
body .hero::before {
	content: "" !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background-image: url("/wp-content/uploads/2026/06/image_0_11-e1780633996199.png") !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: cover !important;
	opacity: 1 !important; 
	z-index: 1 !important;
}

/* 3. ĐẨY CHỮ NỔI LÊN TRÊN ẢNH */
body .hero-content {
	position: relative !important;
	z-index: 2 !important;
}


.hero h1 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-subheading {
	font-size: 1.3rem;
	margin-bottom: 40px;
	opacity: 0.95;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.cta-group {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
	background: #f8f9fa;
	padding: 50px 20px;
	border-bottom: 1px solid #e0e0e0;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	text-align: center;
}

.trust-item h3 {
	font-size: 2.5rem;
	color: #2d5a3d;
	margin-bottom: 8px;
}

.trust-item p {
	color: #666;
	font-size: 1rem;
}

/* =============================================
   PROBLEM SECTION
   ============================================= */
.problem-section {
/* 	background: #fff5f5; */
	background-image: url("/wp-content/uploads/2026/06/image_0_12.png") !important;
    background-size: cover !important;        /* Ép ảnh phủ kín 100% chiều rộng và chiều cao */
    background-position: center center !important; /* Căn ảnh vào chính giữa khung */
    background-repeat: no-repeat !important;height: 830px !important;
}

.problem-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

.problem-card {
	background: white;
	padding: 30px;
	border-radius: 8px;
	border-left: 4px solid #ff6b35;
}

.problem-card h3 {
	color: #d32f2f;
	margin-bottom: 12px;
	font-size: 1.2rem;
}

.problem-card p {
	color: #555;
	line-height: 1.6;
}
/* ==========================================================================
   CSS RESPONSIVE FOR MOBILE (MAX-WIDTH: 768PX)
   ========================================================================== */
@media  (max-width: 768px) {
    
body .hero {
        height: auto !important; /* Trên mobile bắt buộc để auto để chữ không tràn ra ngoài banner */
        padding: 50px 15px !important; /* Thu nhỏ padding tối đa để banner trên mobile ngắn nhất có thể */
    }

    body .hero-content.container {
        width: 100% !important;
        max-width: 100% !important; /* Full màn hình mobile */
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero h1 {
        font-size: 1.8rem !important; /* Thu nhỏ chữ trên mobile để không làm kích thước banner bị đẩy dài ra */
    }

    .hero-subheading {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }

    .hero h1 {
        font-size: 2rem !important; /* Thu nhỏ tiêu đề chính tránh tràn dòng */
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .hero-subheading {
        font-size: 1rem !important; /* Thu nhỏ chữ mô tả phụ */
        margin-bottom: 30px !important;
        line-height: 1.5 !important;
    }

    /* Nhóm nút bấm CTA trên mobile */
    .cta-group {
        flex-direction: column !important; /* Xếp dọc 2 nút bấm */
        gap: 12px !important;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-group .btn {
        width: 100% !important; /* Cho nút bấm full chiều rộng dễ chạm bấm */
        text-align: center;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    /* 3. TRUST BAR */
    .trust-bar {
        padding: 30px 15px !important;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr !important; /* Chia thành 2 cột nhỏ thay vì 4 cột ngang */
        gap: 20px !important;
    }

    .trust-item h3 {
        font-size: 1.8rem !important; /* Thu nhỏ số liệu */
        margin-bottom: 4px !important;
    }

    .trust-item p {
        font-size: 0.9rem !important;
    }

    /* 4. PROBLEM SECTION */
    .problem-section {
        height: auto !important; /* BẮT BUỘC: Hủy bỏ 830px cố định để nội dung co giãn tự do theo các card */
        padding: 40px 15px !important;
        background-attachment: scroll !important; /* Tránh lỗi giật ảnh nền trên Safari mobile */
    }

    /* Tiêu đề phần Problem */
    .section-title {
        font-size: 1.6rem !important;
        text-align: center;
        margin-bottom: 10px !important;
    }

    .section-subtitle {
        font-size: 0.95rem !important;
        text-align: center;
        margin-bottom: 25px !important;
    }

    /* Lưới hiển thị các thẻ lỗi */
    .problem-grid {
        grid-template-columns: 1fr !important; /* Ép về 1 cột dọc duy nhất */
        gap: 15px !important; /* Khoảng cách vừa phải giữa các card */
        padding: 0 !important;
    }

    .problem-card {
        padding: 20px !important; /* Thu nhỏ khoảng đệm bên trong card */
        border-left-width: 4px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Thêm đổ bóng nhẹ cho nổi bật trên nền ảnh */
    }

    .problem-card h3 {
        font-size: 1.1rem !important; /* Font tiêu đề card */
        margin-bottom: 8px !important;
    }

    .problem-card p {
        font-size: 0.9rem !important; /* Font chữ mô tả card */
        line-height: 1.5 !important;
    }
}
/* =============================================
   SOLUTION SECTION
   ============================================= */
.solution-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.solution-card {
	background: #f8f9fa;
	padding: 35px;
	border-radius: 8px;
	text-align: center;
	transition: all 0.3s;
}

.solution-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
	width: 60px;
	height: 60px;
	background: #2d5a3d;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	margin: 0 auto 20px;
}

.solution-card h3 {
	margin-bottom: 12px;
	color: #1a1a1a;
}

.solution-card p {
	color: #666;
	line-height: 1.6;
}

/* =============================================
   PRODUCT SHOWCASE
   ============================================= */
.product-showcase{
    background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);
    padding:30px 0;
}

.product-content{
    display:flex;
    gap:40px;
    align-items:stretch;
    max-width:1100px;
    margin:0 auto;
}

.product-slider,
.product-details{
    flex:1;
    min-width:0;
}

/* Slider */

.product-slider{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 10px 40px rgba(0,0,0,.1);
}

.slider-track{
    display:flex;
    transition:transform .8s ease;
}

.slide-item{
    flex:0 0 100%;
    min-width:100%;
}

.slide-item img{
    width:100%;
    height:630px;
    object-fit:cover;
    display:block;
}

/* Content */

.product-details h3{
    font-size:1.8rem;
    margin-bottom:20px;
    color:#2d5a3d;
}

.product-features{
    list-style:none;
    margin-bottom:30px;
    padding:0;
}

.product-features li{
    padding:12px 0;
    border-bottom:1px solid #e0e0e0;
    display:flex;
    align-items:center;
}

.product-features li::before{
    content:"✓";
    color:#2d5a3d;
    font-weight:bold;
    font-size:1.3rem;
    margin-right:12px;
}

/* Mobile */

@media(max-width:768px){

    .product-content{
        flex-direction:column;
    }

    .slide-item img{
        height:300px;
    }
}

/* ==========================================================================
   Slick Slider Custom Dots (Chấm tròn chuyển ảnh)
   ========================================================================== */
.slick-dots {
    bottom: 15px; /* Đẩy các chấm lên một chút cho đẹp */
    z-index: 10;
}

.slick-dots li button:before {
    font-size: 10px;
    color: #2d5a3d; /* Màu chấm tròn lúc ẩn */
    opacity: 0.4;
}

.slick-dots li.slick-active button:before {
    color: #2d5a3d; /* Màu chấm tròn lúc đang kích hoạt */
    opacity: 1;
}

/* Responsive cho màn hình điện thoại/máy tính bảng */
@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr; /* Chuyển thành 1 cột trên mobile */
        gap: 0px;
		margin:15px;
    }
    .product-image-slider img {
        height: 300px; /* Giảm chiều cao ảnh trên mobile cho đỡ thô */
    }
}
/* =============================================
   SPECIFICATIONS TABLE
   ============================================= */
.spec-section {
	background: white;
}

.spec-table {
	max-width: 900px;
	margin: 0 auto;
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.spec-table table {
	width: 100%;
	border-collapse: collapse;
}

.spec-table th {
	background: #2d5a3d;
	color: white;
	padding: 20px;
	text-align: left;
	font-weight: 600;
}

.spec-table td {
	padding: 18px 20px;
	border-bottom: 1px solid #e0e0e0;
}

.spec-table tr:last-child td {
	border-bottom: none;
}

.spec-table tr:nth-child(even) {
	background: #f8f9fa;
}

.spec-table .spec-label {
	font-weight: 600;
	color: #1a1a1a;
}

/* =============================================
   APPLICATIONS
   ============================================= */
.app{
	padding:20px 20px;
}
.applications-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 25px;
	max-width: 1000px;
	margin: 0 auto;
}

.app-card {
	background: white;
	padding: 30px 20px;
	border-radius: 8px;
	text-align: center;
	border: 2px solid #e0e0e0;
	transition: all 0.3s;
}

.app-card:hover {
	border-color: #2d5a3d;
	transform: translateY(-3px);
}

.app-icon {
	font-size: 2.5rem;
	margin-bottom: 15px;
}

.app-card h4 {
	color: #1a1a1a;
	font-size: 1.1rem;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
/* ==========================================================================
   1. CẤU HÌNH TỔNG CHO TOÀN SECTION WHY CHOOSE
   ========================================================================== */
.same-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}
.why-choose {
    background: #1a472a; /* Màu nền xanh gốc của Thu */
    color: white;
    padding: 30px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.why-choose .section-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-choose .section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* ==========================================================================
   2. KHỐI 6 Ô CHỮ PHÍA TRÊN
   ========================================================================== */
.ptt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ptt-box {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.ptt-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}

.ptt-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1e2d9;
    margin: 0;
}

.ptt-box:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   3. KHỐI 3 Ô ẢNH PHÍA DƯỚI (🔥 ĐÃ ĐỔI SANG GRID ĐỂ ĐỀU NHAU TĂM TẮP)
   ========================================================================== */
.why-rows-container {
    display: grid;
    /* Ép dùng chung cấu trúc Grid 3 cột như khối trên */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto 0 auto; /* Cách khối chữ trên 40px */
}

/* Bỏ bớt thuộc tính thừa của hàng */
.why-row {
    display: block;
    width: 100%;
}

.why-card {
    /* Loại bỏ width cứng 350px để nó tự giãn 100% bằng chiều ngang ô ptt-box */
    width: 100%; 
    height: 400px; 
    background: rgba(255, 255, 255, 0.06); /* Đồng bộ độ mờ kính giống ptt-box */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Đồng bộ bo góc 12px giống ô chữ */
    box-sizing: border-box;
    
    /* Giữ flex để căn ảnh ra chính giữa ô kính */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    transition: all 0.3s ease;
}

/* Hiệu ứng hover nhấc lên đồng bộ với ô chữ */
.why-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Cấu hình lại ảnh bên trong cho cân đối */
.why-card img {
    /* Ép chiều rộng và chiều cao cố định để 3 ảnh bằng khít nhau */
    width: 320px;  /* Thu có thể tăng giảm số này cho vừa mắt */
    height: 380px; /* Thu có thể tăng giảm số này cho vừa mắt */
    
    /* Thuộc tính QUAN TRỌNG NHẤT: Giúp ảnh không bị móp méo */
    object-fit: contain; /* Ảnh sẽ co nhỏ lại để nằm trọn trong khung, không bị cắt mất hình */
    
    /* Căn giữa ảnh tuyệt đối trong ô kính mờ */
    display: block;
    margin: 0 auto;
    
    /* Đệm thêm padding nếu cần */
    padding: 10px;
}

/* ==========================================================================
   4. RESPONSIVE (TỰ ĐỘNG CHUYỂN TRÊN ĐIỆN THOẠI & IPAD)
   ========================================================================== */
@media (max-width: 992px) {
    .ptt-grid,
    .why-rows-container {
        grid-template-columns: repeat(2, 1fr); /* Đồng loạt chuyển thành 2 cột trên iPad */
    }
}

@media (max-width: 576px) {
    .ptt-grid,
    .why-rows-container {
        grid-template-columns: 1fr; /* Đồng loạt xếp dọc 1 cột trên điện thoại */
    }
}
/* =============================================
   EXPORT & LOGISTICS
   ============================================= */
.export{
	padding: 30px 20px;
}
.export-content {
	max-width: 900px;
	margin: 0 auto;
	background: #f8f9fa;
	padding: 20px;
	border-radius: 12px;
}

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

.export-item h4 {
	color: #2d5a3d;
	margin-bottom: 15px;
	font-size: 1.2rem;
}

.export-item ul {
	list-style: none;
}

.export-item li {
	padding: 8px 0;
	color: #444;
}

.export-item li::before {
	content: "▸";
	color: #2d5a3d;
	font-weight: bold;
	margin-right: 10px;
}

/* =============================================
   FINAL CTA / CONTACT
   ============================================= */
/* ── SECTION CONTACT TỔNG THỂ ────────────────────────────── */
.contact{
	
}
.final-cta {
    position: relative;
    width: 100%;
    /* Ép ảnh làm nền, khống chế phủ kín toàn bộ diện tích của section */
    background-image: url('/wp-content/uploads/2026/06/z7912408932148_90b5102ff2f03c70a72e24f4eb8ab07c.jpg');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: right center; 
    
    color: white;
    text-align: center;
    padding: 30px 0; /* Khoảng cách trên dưới vừa phải để ảnh không bị kéo quá dài */
    overflow: hidden;
}

/* Khống chế độ rộng tối đa của cả khu vực để ảnh không bị bành trướng to ngang */
.final-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Tiêu đề & Mô tả phía trên form */
.final-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 5px;
    font-weight: 700;
}

.final-cta p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 5px;
    opacity: 0.95;
}

/* ── KHUNG CHỨA FORM (ÉP STYLE NỀN TRẮNG CHUẨN) ─────────────── */
.contact-form-wrap {
    max-width: 550px;       /* Khống chế độ rộng form vừa vặn, đẹp mắt trên PC */
    margin: 0 auto;
    background: #ffffff !important; /* Bắt buộc nền màu trắng */
    padding: 25px 20px;     /* Khoảng cách thở bên trong form */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* Sửa lỗi "chữ đen + không style" sinh ra bởi Contact Form 7 */
.contact-form-wrap form,
.contact-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;              /* Tạo khoảng cách đều giữa các ô nhập liệu */
    text-align: left;       /* Căn lề trái toàn bộ chữ bên trong form */
}

/* Ép kiểu cho toàn bộ nhãn (Label) chữ bên trong form */
.contact-form-wrap label {
    color: #222222 !important; /* Ép chữ tiêu đề ô nhập thành màu đen đậm dễ đọc */
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

/* Style lại các ô Input (text, email) và Textarea của Form 7 */
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

/* Khi người dùng click vào ô nhập */
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
    border-color: #1a472a;  /* Đổi viền sang màu xanh trùng tông ảnh */
    outline: none;
}

/* Style cho nút Submit (Gửi đi) nằm trong form */
.contact-form-wrap input[type="submit"] {
    background: #1a472a;    /* Màu nút xanh lá đậm theo ảnh */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    width: 100%;            /* Nút dài full form */
}


/* Xóa khoảng cách mặc định phá vỡ layout của CF7 */
.wpcf7.js {
    padding: 0 !important;
    margin: 0 !important;
}
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0;
}
.final-cta br {
    display: none !important;
}
/* =============================================
   CONTACT FORM 7
   ============================================= */
.ptt-form-row p {
	margin-bottom: 0 !important;
}
.ptt-form-row {
	margin-bottom: 0 !important;
}
.ptt-form-row br {
	display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	padding: 14px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 1rem;
	font-family: inherit;
	box-sizing: border-box;
	margin-bottom: 4px;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #2d5a3d;
}

.wpcf7-form .wpcf7-submit {
	width: 100%;
	padding: 18px;
	font-size: 1.2rem;
	font-weight: 600;
	background: #ff6b35;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s;
}

.wpcf7-form .wpcf7-submit:hover {
	background: #e55a2b;
}

.wpcf7-not-valid {
	border-color: #dc2626 !important;
}

.wpcf7-not-valid-tip {
	font-size: 0.75rem;
	color: #dc2626;
}

.wpcf7-form.sent .wpcf7-response-output {
	background: #f0fdf4;
	color: #15803d;
	border: none;
	padding: 12px;
	border-radius: 6px;
	margin-top: 16px;
}

.wpcf7-form.invalid .wpcf7-response-output {
	background: #fef2f2;
	color: #dc2626;
	border: none;
	padding: 12px;
	border-radius: 6px;
	margin-top: 16px;
}
/* ==========================================================================
   CSS TỐI ƯU FORM TRÊN MOBILE (MÀN HÌNH < 768PX)
   ========================================================================== */
@media screen and (max-width: 768px) {
	.contact-form-wrap {
		margin: 0 20px;}
    
    /* Ép tất cả các hàng dạng Grid (2 cột) về thành 1 cột duy nhất */
    .wpcf7-form .ptt-form-row {
        grid-template-columns: 1fr !important; /* Đẩy mỗi input xuống 1 dòng riêng biệt */
        gap: 15px !important; /* Tạo khoảng cách dọc vừa phải giữa các ô */
        margin-bottom: 15px !important;
    }

    /* Thu nhỏ nhẹ các ô input và select để vừa vặn với màn hình điện thoại */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="number"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        padding: 12px !important; /* Giảm nhẹ padding để tối ưu không gian */
        font-size: 0.95rem !important; /* Chữ vừa vặn, không quá to */
    }

    /* Điều chỉnh ô nhập text "Country" nằm riêng lẻ */
    .wpcf7-form div[style*="margin-bottom:20px"] {
        margin-bottom: 15px !important;
    }

    /* Tối ưu lại nút bấm gửi form trên Mobile */
    .wpcf7-form .wpcf7-submit {
        padding: 15px !important; /* Giảm độ dày của nút bấm */
        font-size: 1.1rem !important; /* Font chữ cân đối hơn */
        border-radius: 6px !important;
    }
    
    /* Đảm bảo thông báo lỗi hoặc thông báo thành công hiển thị gọn gàng */
    .wpcf7-form .wpcf7-response-output {
        padding: 10px !important;
        font-size: 0.9rem !important;
        margin-top: 12px !important;
    }
}
/* =============================================
   FOOTER
   ============================================= */
 footer {
	background: #1a1a1a;
	color: white;
	padding: 40px 20px;
	text-align: center;
}

/*
footer p {
	opacity: 0.8;
	margin-bottom: 8px;
} */
/* Biến container của footer thành flexbox */
/* Biến container của footer thành flexbox */
.footer-flex {
    display: flex;
    align-items: center;     /* Căn giữa ảnh và chữ thẳng hàng với nhau theo chiều dọc */
    justify-content: center; /* Căn giữa cả cụm (ảnh + chữ) vào chính giữa màn hình theo chiều ngang */
    gap: 40px;               /* Khoảng cách giữa ô ảnh và khối chữ */
}

/* Cấu hình ô ảnh bên trái */
.footer-left-image {
    flex-shrink: 0;      
    width: 150px;        
    height: 150px;       
    overflow: hidden;
    display: flex;           /* Bổ sung flex để ảnh bên trong luôn ra giữa ô */
    justify-content: center; /* Căn giữa ảnh theo chiều ngang */
    align-items: center;     /* Căn giữa ảnh theo chiều dọc */
}

.footer-left-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}

/* Khối nội dung bên phải */
.footer-right-content {
    flex: 0 1 auto;      /* Giúp khối chữ ôm vừa đủ nội dung để không bị lệch layout */
    text-align: center;  /* 🔥 SỬA THÀNH CENTER: Ép tất cả các dòng chữ bên trong phải tự căn giữa theo chiều ngang */
}
.solves-main-section {
		box-sizing: border-box;
		font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
		max-width: 1200px;
		margin: 0px auto;
		padding: 0px;
		color: #2c3e50;
	}

	.solves-main-section * {
		box-sizing: border-box;
	}

	/* 1. Header */
	.solves-header {
		text-align: center;
		margin-bottom: 48px;
	}

	.solves-title {
		font-size: 36px;
		font-weight: 700;
		color: #1a1a1a;
		margin: 0 0 12px 0;
		letter-spacing: -0.5px;
	}

	.solves-subtitle {
		font-size: 16px;
		color: #64748b;
		margin: 0;
	}

	/* 2. Grid Layout */
	.solves-grid-layout {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}

	/* 3. Cards */
	.solves-card {
		background-color: #f8fafc;
		border-radius: 16px;
		padding: 40px 24px;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		border: 1px solid rgba(0, 0, 0, 0.03);
	}

	.solves-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
		background-color: #ffffff;
		border-color: rgba(35, 78, 53, 0.15);
	}

	/* 4. Icon Circle (Green Background) */
	.solves-icon-circle {
		width: 68px;
		height: 68px;
		background-color: #234d37; /* Dark Green */
		border-radius: 50%;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 14px;
		transition: transform 0.3s ease;
		box-shadow: 0 4px 10px rgba(35, 77, 55, 0.15);
	}

	.solves-card:hover .solves-icon-circle {
		transform: scale(1.05);
	}

	.solves-icon-circle i {
		color: #ffffff;
		font-size: 26px;
	}

	/* 5. Typography */
	.solves-card-title {
		font-size: 18px;
		font-weight: 700;
		color: #1a1a1a;
		margin: 0 0 12px 0;
	}

	.solves-card-desc {
		font-size: 14.5px;
		color: #475569;
		line-height: 1.6;
		margin: 0;
/* 		text-align: justify; */
	}

	/* Responsive */
	@media (max-width: 1024px) {
		.solves-grid-layout {
			grid-template-columns: repeat(2, 1fr);
			gap: 20px;
			padding:5px
		}
	}

	@media (max-width: 640px) {
		.solves-main-section {
			margin: 10px;
		}
		
		.solves-title {
			font-size: 28px;
		}

		.solves-grid-layout {
			grid-template-columns: 1fr;
			gap: 16px;
		}

		.solves-card {
			padding: 32px 20px;
		}
	}
/* Responsive: Trên điện thoại thì ảnh nằm trên, chữ nằm dưới */
@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        gap: 20px;
    }
    .footer-left-image {
        margin: 0 auto;    
    }
}

/* Responsive: Trên điện thoại thì ảnh nằm trên, chữ nằm dưới */
@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        text-align: center; /* Trên mobile quay về căn giữa cho cân đối */
        gap: 20px;
    }
    .footer-left-image {
        margin: 0 auto;    /* Căn giữa ô ảnh trên mobile */
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2rem;
	}

	.hero-subheading {
		font-size: 1.1rem;
	}

	.product-content {
		grid-template-columns: 1fr;
	}

	.export-grid {
		grid-template-columns: 1fr;
	}

	.section-title {
		font-size: 2rem;
	}
}
/* =============================================
  why-chooes
   ============================================= */
