/*
Theme Name: Seoland child
Template:   seoland
Theme URI: https://seoland.themeht.com/
Author: Themeht
Author URI: https://www.themeht.com
Description: Seoland - Child Theme
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: seoland
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/

/* Main Container Styling_Chính sách thanh toán */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

/* Dán các đoạn code CSS khác của bạn ở bên dưới dòng này */
.payment-policy-nhantamdigital {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fdfdfd;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Header Styling */
.policy-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin: -20px -40px 30px -40px;
}

.policy-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    /* --- CẬP NHẬT: Sửa lỗi ngắt dòng bằng cách cho phép ngắt ký tự đặc biệt, nhưng giữ nguyên từ --- */
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

.policy-header .subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
}

/* Navigation Menu Styling */
.policy-nav {
    background: #fff;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.policy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}

.policy-nav ul li a:hover,
.policy-nav ul li a.active {
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 118, 26, 0.3);
}

/* Section Styling */
.policy-section {
    margin-bottom: 50px;
    padding-top: 70px; /* Offset for sticky nav */
    margin-top: -70px; /* Offset for sticky nav */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ff8c00, #ff5722) 1;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
}


/* General Content Styling */
.policy-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #555;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li, .policy-content ol li {
    margin-bottom: 12px;
    color: #555;
}

.policy-content strong {
    font-weight: 600;
    color: #333;
}

.policy-content a {
    color: #ff5722;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

/* Bank Info Box */
.bank-info-box {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05), rgba(255, 87, 34, 0.05));
    border-left: 5px solid #ff761a;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bank-info-box h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #ff5722;
}

.bank-info-box p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.bank-info-box strong {
    font-size: 1.3em;
}

/* Timeline Styling */
.timeline {
    position: relative;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    background: linear-gradient(to bottom, #ff8c00, #ff5722);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 80px;
}

.timeline-icon {
    position: absolute;
    left: 8px;
    top: 0;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 3px solid #ff761a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #ff761a;
    box-shadow: 0 0 0 4px #fff;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.timeline-content h4 {
    margin-top: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}

/* Rights and Obligations Columns */
.rights-obligations {
    display: flex;
    gap: 30px;
}

.rights-obligations .column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid;
}

.rights-obligations .column:first-child {
    border-image: linear-gradient(to right, #ff8c00, #ffb300) 1;
}

.rights-obligations .column:last-child {
    border-image: linear-gradient(to right, #ff5722, #ff7043) 1;
}

.rights-obligations h4 {
    font-size: 1.4em;
    margin-top: 0;
}

/* --- CẬP NHẬT TOÀN BỘ PHẦN CONTACT INFO --- */
.contact-info {
    margin-top: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.6em;
    color: #ff761a;
    margin-right: 20px;
    width: 30px;
    text-align: center;
    margin-top: 5px; /* Căn icon với dòng đầu tiên của text */
}

.contact-text {
    flex: 1;
    line-height: 1.6;
}

.contact-text strong {
    display: block; /* Quan trọng: Đẩy nội dung xuống dòng */
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.contact-text span {
    font-size: 1.05em;
    color: #555;
    /* Quan trọng: Cho phép ngắt các từ dài như email/website */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
/* --- KẾT THÚC CẬP NHẬT CONTACT INFO --- */

/* Footer Styling */
.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .payment-policy-nhantamdigital {
        padding: 20px;
    }
    .policy-header {
        margin: -20px -20px 20px -20px;
    }
    .policy-header h1 {
        font-size: 2.2em;
    }
    .policy-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    .policy-nav ul li a {
        white-space: nowrap;
    }
    .rights-obligations {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .policy-section {
        padding-top: 130px;
        margin-top: -130px;
    }
    .policy-nav {
        top: 10px;
    }
    /* --- CẬP NHẬT: Tinh chỉnh font chữ Header cho hợp lý --- */
    .policy-header h1 {
        font-size: 2.1em; 
        line-height: 1.3;
    }
    .section-title {
        font-size: 1.6em;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-icon {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

/* --- CẬP NHẬT: Thêm các điểm ngắt nhỏ hơn để xử lý Header tốt hơn --- */
@media (max-width: 576px) {
    .policy-header h1 {
        font-size: 1.9em;
    }
}

@media (max-width: 420px) {
    .policy-header h1 {
        font-size: 1.7em;
    }
}

/* Main Container Styling_Content AI */
.content-ai-policy-nhantamdigital {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fdfdfd;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px S30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Header Styling */
.policy-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin: -20px -40px 30px -40px;
}

.policy-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.policy-header .subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

/* Navigation Menu Styling */
.policy-nav {
    background: #fff;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.policy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}

.policy-nav ul li a:hover,
.policy-nav ul li a.active {
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 118, 26, 0.3);
}

/* Section Styling */
.policy-section {
    margin-bottom: 50px;
    padding-top: 70px; /* Offset for sticky nav */
    margin-top: -70px; /* Offset for sticky nav */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ff8c00, #ff5722) 1;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
}

/* General Content Styling */
.policy-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #555;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 12px;
    color: #555;
}

/* Timeline Styling (Reused) */
.timeline {
    position: relative;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    background: linear-gradient(to bottom, #ff8c00, #ff5722);
    border-radius: 2px;
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
    padding-left: 80px;
}
.timeline-icon {
    position: absolute;
    left: 8px;
    top: 0;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 3px solid #ff761a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #ff761a;
    box-shadow: 0 0 0 4px #fff;
}
.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}
.timeline-content h4 {
    margin-top: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}

/* Prohibited Content Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.prohibited-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-top: 4px solid #ff8c00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prohibited-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.prohibited-card i {
    font-size: 3em;
    color: #ff5722;
    margin-bottom: 15px;
}
.prohibited-card h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* AI Usage Columns */
.ai-usage-columns {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.ai-usage-columns .column {
    flex: 1;
    background-color: rgba(255, 118, 26, 0.05);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid;
}
.ai-usage-columns .column:first-child {
    border-color: #ff8c00;
}
.ai-usage-columns .column:last-child {
    border-color: #ff5722;
}
.ai-usage-columns .column h4 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.ai-usage-columns .column h4 i {
    margin-right: 12px;
    color: #ff761a;
}
.ai-usage-columns .column ul {
    padding-left: 25px;
}

/* Rights and Obligations Columns */
.rights-obligations {
    display: flex;
    gap: 30px;
}
.rights-obligations .column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid;
}
.rights-obligations .column:first-child {
    border-image: linear-gradient(to right, #ff8c00, #ffb300) 1;
}
.rights-obligations .column:last-child {
    border-image: linear-gradient(to right, #ff5722, #ff7043) 1;
}
.rights-obligations h4 {
    font-size: 1.4em;
    margin-top: 0;
}

/* Contact Info Styling (Reused & Improved) */
.contact-info {
    margin-top: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item i {
    font-size: 1.6em;
    color: #ff761a;
    margin-right: 20px;
    width: 30px;
    text-align: center;
    margin-top: 5px;
}
.contact-text { flex: 1; line-height: 1.6; }
.contact-text strong {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}
.contact-text span {
    font-size: 1.05em;
    color: #555;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.contact-text a {
    color: #ff5722;
    text-decoration: none;
    font-weight: 600;
}
.contact-text a:hover { text-decoration: underline; }

/* Footer Styling */
.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-ai-policy-nhantamdigital { padding: 20px; }
    .policy-header { margin: -20px -20px 20px -20px; }
    .policy-header h1 { font-size: 2.2em; }
    .policy-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .policy-nav ul li a { white-space: nowrap; }
    .rights-obligations, .ai-usage-columns { flex-direction: column; }
}

@media (max-width: 768px) {
    .policy-section { padding-top: 130px; margin-top: -130px; }
    .policy-nav { top: 10px; }
    .policy-header h1 { font-size: 1.9em; }
    .section-title { font-size: 1.6em; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-icon { left: 0; width: 40px; height: 40px; font-size: 1.2em; }
    .prohibited-grid { grid-template-columns: 1fr; }
}
/* Main Container Styling_Chính sách bảo mật */
.privacy-policy-nhantamdigital {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fdfdfd;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Header Styling */
.policy-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin: -20px -40px 30px -40px;
}

.policy-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.policy-header .subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

/* Navigation Menu Styling */
.policy-nav {
    background: #fff;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.policy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}

.policy-nav ul li a:hover,
.policy-nav ul li a.active {
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 118, 26, 0.3);
}

/* Section Styling */
.policy-section {
    margin-bottom: 50px;
    padding-top: 70px; /* Offset for sticky nav */
    margin-top: -70px; /* Offset for sticky nav */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ff8c00, #ff5722) 1;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
}

/* General Content Styling */
.policy-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #555;
}
.policy-content .mt-4 { margin-top: 1.5rem; }

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 12px;
    color: #555;
}

/* Data Collection Columns */
.data-collection-columns {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.data-collection-columns .column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ff8c00;
}
.data-collection-columns .column:last-child {
     border-left-color: #ff5722;
}
.data-collection-columns .column h4 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #333;
}
.data-collection-columns .column h4 i {
    margin-right: 12px;
    color: #ff761a;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.purpose-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-top: 4px solid #ff8c00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.purpose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.purpose-card i {
    font-size: 3em;
    color: #ff5722;
    margin-bottom: 15px;
}
.purpose-card h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Accordion Styling - CẬP NHẬT ĐỂ CĂN CHỈNH GỌN GÀNG */
.faq-accordion {
    max-width: 100%;
    margin: 2rem auto;
}
.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    overflow: hidden; /* Quan trọng để content không tràn ra ngoài khi đóng */
}
.faq-item-header {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Căn giữa theo chiều dọc */
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease; /* Hiệu ứng màu khi hover */
}
.faq-item-header:hover {
    color: #ff5722;
}
.faq-item-header i {
    transition: transform 0.3s ease; /* Hiệu ứng xoay cho icon */
}
.faq-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px; /* Padding ban đầu khi đóng */
}
.faq-item-content p {
    margin-bottom: 0; /* Bỏ margin-bottom của p cuối cùng */
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
/* Khi item được mở */
.faq-item.active .faq-item-header i {
    transform: rotate(180deg); /* Xoay icon khi mở */
}
.faq-item.active .faq-item-content {
    max-height: 400px; /* Chiều cao tối đa khi mở, điều chỉnh nếu cần */
    padding-bottom: 20px; /* Padding dưới khi mở */
}


/* Contact Info Styling */
.contact-info { margin-top: 30px; background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { font-size: 1.6em; color: #ff761a; margin-right: 20px; width: 30px; text-align: center; margin-top: 5px; }
.contact-text { flex: 1; line-height: 1.6; }
.contact-text strong { display: block; font-size: 1.1em; font-weight: 600; color: #333; margin-bottom: 2px; }
.contact-text span { font-size: 1.05em; color: #555; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; }
.contact-text a { color: #ff5722; text-decoration: none; font-weight: 600; }
.contact-text a:hover { text-decoration: underline; }

/* Footer Styling */
.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .privacy-policy-nhantamdigital { padding: 20px; }
    .policy-header { margin: -20px -20px 20px -20px; }
    .policy-header h1 { font-size: 2.2em; }
    .policy-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .policy-nav ul li a { white-space: nowrap; }
    .data-collection-columns { flex-direction: column; }
}

@media (max-width: 768px) {
    .policy-section { padding-top: 130px; margin-top: -130px; }
    .policy-nav { top: 10px; }
    .policy-header h1 { font-size: 1.9em; }
    .section-title { font-size: 1.6em; }
    .faq-item-header { padding: 15px 20px; font-size: 1.1em; }
    .faq-item-content p { padding: 0 20px 10px 20px; }
    .faq-item.active .faq-item-content { max-height: 500px; }
}
/* Main Container Styling_Điều khoản sử dụng */
.terms-of-use-nhantamdigital {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fdfdfd;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Header Styling */
.policy-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin: -20px -40px 30px -40px;
}

.policy-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.policy-header .subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

/* Navigation Menu Styling */
.policy-nav {
    background: #fff;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.policy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}

.policy-nav ul li a:hover,
.policy-nav ul li a.active {
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 118, 26, 0.3);
}

/* Section Styling */
.policy-section {
    margin-bottom: 50px;
    padding-top: 70px; /* Offset for sticky nav */
    margin-top: -70px; /* Offset for sticky nav */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ff8c00, #ff5722) 1;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
}

/* General Content Styling */
.policy-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #555;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 12px;
    color: #555;
    padding-left: 10px;
    list-style-type: '✓  ';
}

/* Conduct Grid Styling */
.conduct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.conduct-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-bottom: 4px solid #ff8c00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.conduct-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.conduct-card i {
    font-size: 3em;
    color: #ff5722;
    margin-bottom: 15px;
}
.conduct-card h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Disclaimer Columns */
.disclaimer-columns {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.disclaimer-columns .column {
    flex: 1;
    background-color: #fff9f5;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #ff8c00;
}
.disclaimer-columns .column:last-child {
     border-left-color: #ff5722;
}
.disclaimer-columns .column h4 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #333;
}
.disclaimer-columns .column h4 i {
    margin-right: 12px;
    color: #ff761a;
}

/* Contact Info Styling */
.contact-info { margin-top: 30px; background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { font-size: 1.6em; color: #ff761a; margin-right: 20px; width: 30px; text-align: center; margin-top: 5px; }
.contact-text { flex: 1; line-height: 1.6; }
.contact-text strong { display: block; font-size: 1.1em; font-weight: 600; color: #333; margin-bottom: 2px; }
.contact-text span { font-size: 1.05em; color: #555; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; }
.contact-text a { color: #ff5722; text-decoration: none; font-weight: 600; }
.contact-text a:hover { text-decoration: underline; }

/* Footer Styling */
.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .terms-of-use-nhantamdigital { padding: 20px; }
    .policy-header { margin: -20px -20px 20px -20px; }
    .policy-header h1 { font-size: 2.2em; }
    .policy-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .policy-nav ul li a { white-space: nowrap; }
    .disclaimer-columns { flex-direction: column; }
}

@media (max-width: 768px) {
    .policy-section { padding-top: 130px; margin-top: -130px; }
    .policy-nav { top: 10px; }
    .policy-header h1 { font-size: 1.9em; }
    .section-title { font-size: 1.6em; }
    .conduct-grid { grid-template-columns: 1fr; }
}
/* --- CEO STORY PAGE - Nhan Tam Digital UX/UI Revamp v3.2 (Final Layout) --- */

:root {
    --font-body: 'Montserrat', sans-serif;
    --color-text-dark: #1F2937; 
    --color-text-light: #4B5563;
    --color-primary-orange: #F97316;
    --color-background: #FFFFFF;
    --color-background-soft: #F9FAFB;
    --border-color: #E5E7EB;
}

.ceo-story-wrapper-v3 {
    background-color: var(--color-background);
    font-family: var(--font-body);
    color: var(--color-text-light);
    line-height: 1.8;
    font-weight: 400;
}

.ceo-story-container-v3 {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Hero Section --- */
.story-hero-v3 {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--color-background-soft);
    border-radius: 12px;
    margin-bottom: 80px;
}

.story-title-v3 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin: 0 0 15px 0;
    letter-spacing: -1.5px;
}

.story-subtitle-v3 {
    /* Các style cũ về font chữ và căn lề vẫn giữ nguyên */
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto; /* Giữ cho toàn bộ khung được căn giữa */
    color: var(--color-text-light);
    font-style: italic;

    /* == Bắt đầu phần code mới thay thế hoàn toàn code cũ == */
    
    /* 1. Thay thế border-top bằng border hoàn chỉnh */
    border: 2px dashed var(--color-primary-orange); 

    /* 2. Thêm padding để tạo không gian bên trong khung */
    padding: 30px 40px; /* 30px cho trên & dưới, 40px cho trái & phải */

    /* 3. Bo tròn các góc để khung mềm mại hơn */
    border-radius: 8px; 

    /* 4. Điều chỉnh khoảng cách với tiêu đề chính */
    margin-top: 40px; 
}

/* --- Main Content --- */
.story-content-v3 {
    max-width: 720px;
    margin: 0 auto;
}

.story-chapter-v3 {
    margin-bottom: 60px;
}

.chapter-intro-v3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.7;
    margin-bottom: 40px;
}

.story-chapter-v3 p {
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}

.story-chapter-v3 h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 40px;
    margin-bottom: 15px;
}

.story-chapter-v3 ul, .story-chapter-v3 ol {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.story-chapter-v3 ul li, .story-chapter-v3 ol li {
    font-size: 1.1rem;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
}

.story-chapter-v3 ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--color-primary-orange);
    font-weight: 700;
    font-size: 1.5rem;
}

.story-chapter-v3 ol {
    counter-reset: custom-counter;
}

.story-chapter-v3 ol li::before {
    counter-increment: custom-counter;
    content: "0" counter(custom-counter);
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--color-primary-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- Chapter Heading Styling --- */
.chapter-heading-v3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-bottom: 30px;
    margin-top: 80px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    letter-spacing: -1px;
}

.chapter-heading-v3::before {
    content: attr(data-chapter);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-orange);
    position: absolute;
    top: -15px;
    left: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Visual Elements --- */
.story-image-placeholder-v3 {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f7f7f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #aaa;
    margin: 40px 0;
    text-align: center;
    border: 1px solid var(--border-color);
}

.story-blockquote-v3 {
    border-left: 4px solid var(--color-primary-orange);
    margin: 40px 0;
    padding: 20px 30px;
    background-color: var(--color-background-soft);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    color: var(--color-text-dark);
    border-radius: 0 8px 8px 0;
}

.truth-bomb-box-v3 {
    background-color: #FFFBEB;
    padding: 30px;
    border: 1px solid #FDE68A;
    border-left: 5px solid #F59E0B;
    border-radius: 8px;
    margin: 50px 0;
}
.truth-bomb-content-v3 h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #B45309;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.truth-bomb-content-v3 p { margin: 0; font-size: 1.1rem; color: #374151; }

/* --- Service Grid Section (FIXED with FLEXBOX) --- */
.full-width-section-v3 {
    width: 100%;
    margin-bottom: 60px;
}

.service-grid-v3 {
    max-width: 1024px;
    margin: 0 auto;
    
    /* Chuyển sang Flexbox để căn chỉnh linh hoạt */
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Tự động căn giữa các mục */
    gap: 30px;
}

.service-card-v3 {
    background-color: var(--color-background-soft);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Thiết lập kích thước cho các mục Flexbox */
    flex: 1 1 300px; /* Cho phép các mục co giãn nhưng có kích thước cơ bản là 300px */
    max-width: 320px; /* Giới hạn độ rộng tối đa để không bị quá to ở hàng cuối */
    min-width: 280px; /* Đảm bảo không bị quá nhỏ */
}

.service-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-icon-v3 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF7ED;
    margin-bottom: 20px;
}

.service-icon-v3 svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary-orange);
}

.service-card-v3 h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--color-text-dark) !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.service-card-v3 p {
    font-size: 1rem !important;
    color: var(--color-text-light) !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
}

/* --- Footer Section --- */
.story-footer-v3 {
    max-width: 720px;
    margin: 80px auto 40px auto;
    padding: 50px;
    text-align: center;
    background-color: var(--color-background);
    border: 2px dashed var(--color-primary-orange);
    border-radius: 12px;
    transition: box-shadow 0.3s ease-in-out;
}

.story-footer-v3:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.footer-title-v3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 15px 0;
}

.footer-text-v3 {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.ceo-signature-v3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary-orange);
    margin-bottom: 40px;
    font-style: italic;
}

.cta-button-v3 {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: var(--color-primary-orange);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-v3:hover {
    background-color: #FB923C;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.footer-contact-details-v3 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.footer-contact-details-v3 p {
    margin: 8px 0;
    line-height: 1.5;
}
.footer-contact-details-v3 strong {
    color: var(--color-text-dark);
}

/* --- Responsive for Mobile --- */
@media (max-width: 768px) {
    .story-hero-v3 { padding: 40px 15px; }
    .story-content-v3 { padding: 0 10px; }
    .story-footer-v3 { padding: 30px 20px; }
    .chapter-heading-v3 { font-size: 2.2rem; }
}

@media (max-width: 680px) {
    .service-card-v3 {
        /* Trên màn hình nhỏ hơn, cho phép thẻ chiếm toàn bộ chiều rộng */
        max-width: 100%;
    }
}
/* --- CSS cho thông tin liên hệ footer --- */

/* 1. Chuyển toàn bộ chữ trong khối thành màu trắng */
.nt-footer-contact-info, .nt-footer-contact-info a {
    color: white;
    text-decoration: none; /* Bỏ gạch chân của link cho đẹp hơn */
}

/* 2. Chuyển những phần được đánh dấu thành màu đỏ */
.nt-footer-contact-info .highlight-red {
    color: #00ffb9;
    font-weight: bold; /* Thêm in đậm để nổi bật hơn (tùy chọn) */
}

/* 3. (Tùy chọn) Thêm hiệu ứng khi rê chuột vào link */
.nt-footer-contact-info a:hover {
    color: #FB923C; /* Màu cam sáng hơn một chút khi hover */
    text-shadow: 0 0 8px rgba(251, 146, 60, 0.7); /* Hiệu ứng glow màu cam */
}
/* --- CSS Nền Gradient Cho Footer --- */

.primary-footer { /* << THAY THẾ ".your-footer-class" bằng class hoặc ID của footer bạn */
    
    background-color: #013220; /* Màu nền dự phòng cho trình duyệt cũ */
    background-image: linear-gradient(360deg, #633110, #000000);
    
    /* Đảm bảo các thuộc tính khác để footer đẹp hơn */
    padding: 50px 20px; /* Tạo khoảng trống bên trong footer */
    color: white; /* Đảm bảo màu chữ mặc định là trắng */
}

/* 
   Đảm bảo các link bên trong footer cũng có màu trắng.
   Bạn cũng cần thay thế ".your-footer-class" ở đây.
*/
.primary-footer a {
    color: white;
}
/* --- CSS Tối Ưu Cho Dòng Bản Quyền Dưới Cùng (Copyright) --- */

/* 1. Định dạng cho toàn bộ thanh copyright */
.copyright-bar {
    background-color: #000000;
    padding: 20px 15px;
    color: #E5E7EB;
    font-size: 1rem;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

/* 2. Định dạng cho chữ "NHÂN TÂM DIGITAL" */
.copyright-bar .brand-name-link {
    color: #F97316;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap;
    
    /* == DÒNG MÃ MỚI ĐỂ SỬA LỖI BỊ DÍNH CHỮ == */
    margin-left: 0.5em; /* Tạo một khoảng cách nhỏ bên trái */
}

/* 3. HIỆU ỨNG TỎA SÁNG KHI RÊ CHUỘT VÀO */
.copyright-bar .brand-name-link:hover {
    color: #FB923C;
    text-shadow: 0 0 8px rgba(251, 146, 60, 0.7);
}

/* 4. TỐI ƯU RIÊNG CHO CÁC THIẾT BỊ DI ĐỘNG CÓ MÀN HÌNH NHỎ */
@media (max-width: 480px) {
    .copyright-bar {
        font-size: 0.875rem;
        padding: 15px 10px;
    }
    
    .copyright-bar .brand-name-link {
        margin-left: 0.4em; /* Giảm nhẹ khoảng cách trên mobile cho cân đối hơn */
    }
}
/* 4. Tối ưu hiển thị trên mobile (màn hình dưới 992px) */
@media (max-width: 991.98px) {
    /* Căn giữa toàn bộ nội dung widget trên mobile cho đẹp */
    .footer-widget .textwidget {
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
    
    .bct-logo-container {
        margin-top: 20px; /* Điều chỉnh lại khoảng cách trên mobile */
    }
}
/* --- CSS Reset và Tối Ưu Triệt Để Cho Form Đăng Ký --- */

/* 
 * BƯỚC 1: RESET HOÀN TOÀN STYLE CỦA THEME
*/

.subscribe-form,
.subscribe-form input[type="email"],
.subscribe-form .subscribe-btn {
    all: unset; /* LỆNH RESET MẠNH NHẤT */
}


/* 
 * BƯỚC 2: XÂY DỰNG LẠI GIAO DIỆN TỪ ĐẦU (MOBILE FIRST)
*/

/* Định dạng cho thẻ div bao ngoài (.subscribe-form) */
.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* 
       QUAN TRỌNG: Chúng ta sẽ không set max-width ở đây nữa, 
       mà sẽ đặt nó trong media query cho từng thiết bị.
    */
    margin: 20px auto 0 auto;
    box-sizing: border-box;
}

/* Định dạng cho ô nhập email */
.subscribe-form input[type="email"] {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
    padding: 15px 20px;
    border: 1px solid #cccccc;
    border-radius: 50px;
    text-align: center;
    box-sizing: border-box;
    -webkit-appearance: none;
}

/* Định dạng cho nút bấm */
.subscribe-form .subscribe-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #F97316;
    text-align: center;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    transition: background-color 0.3s ease;
}

/* Hiệu ứng khi rê chuột vào nút */
.subscribe-form .subscribe-btn:hover {
    background-color: #FB923C;
}


/* 
 * BƯỚC 3: TÙY CHỈNH LẠI CHO DESKTOP (MÀN HÌNH RỘNG)
*/
@media (min-width: 768px) {
    
    /* Chuyển layout sang dạng "viên thuốc" nằm ngang */
    .subscribe-form {
        /* === THAY ĐỔI QUAN TRỌNG NHẤT ĐỂ FORM NHỎ GỌN HƠN === */
        max-width: 400px; /* Giảm chiều rộng tối đa từ 450px xuống 400px */
        margin-top: 25px; /* Điều chỉnh lại khoảng cách với nội dung phía trên */
        margin-left: 0;   /* Căn form về phía bên trái để thẳng hàng với nội dung trên */
        margin-right: auto; /* Đảm bảo form không bị kéo dãn */

        flex-direction: row;
        border: 1px solid #cccccc;
        border-radius: 50px;
        background-color: #ffffff;
        overflow: hidden;
    }
    
    /* Style lại cho ô input trên desktop */
    .subscribe-form input[type="email"] {
        flex-grow: 1;
        border: none;
        text-align: left;
        border-radius: 0;
        
        /* Giảm padding và cỡ chữ để form thanh thoát hơn */
        padding: 12px 20px; 
        font-size: 15px;
    }

    /* Style lại cho nút bấm trên desktop */
    .subscribe-form .subscribe-btn {
        margin-top: 0;
        width: auto;
        border-radius: 0;
        
        /* Giảm padding và cỡ chữ cho đồng bộ */
        padding: 12px 25px;
        font-size: 15px;
    }

    /* Giữ nguyên hiệu ứng focus */
    .subscribe-form:focus-within {
        border-color: #F97316;
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
    }
}
/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Main Container Styling */
.general-conditions-nhantamdigital {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fdfdfd;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Header Styling */
.policy-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin: -20px -40px 30px -40px;
}

.policy-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.policy-header .subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

/* Navigation Menu Styling */
.policy-nav {
    background: #fff;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.policy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}

.policy-nav ul li a:hover,
.policy-nav ul li a.active {
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 118, 26, 0.3);
}

/* Section Styling */
.policy-section {
    margin-bottom: 50px;
    padding-top: 70px; /* Offset for sticky nav */
    margin-top: -70px; /* Offset for sticky nav */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ff8c00, #ff5722) 1;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
}

/* General Content Styling */
.policy-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #555;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 12px;
    color: #555;
    padding-left: 10px;
    list-style-type: '✓ ';
}

/* Policy Details Box */
.policy-details-box {
    background-color: #fff9f5;
    border-left: 4px solid #ff8c00;
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}
.policy-details-box h4 {
    margin-top: 0;
    font-size: 1.3em;
    color: #333;
}
.policy-details-box ul {
    margin-bottom: 0;
}

/* Timeline Styling (Reused) */
.timeline { position: relative; margin: 40px 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 30px; width: 4px; background: linear-gradient(to bottom, #ff8c00, #ff5722); border-radius: 2px; }
.timeline-item { margin-bottom: 40px; position: relative; padding-left: 80px; }
.timeline-icon { position: absolute; left: 8px; top: 0; width: 45px; height: 45px; background: #fff; border: 3px solid #ff761a; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5em; color: #ff761a; box-shadow: 0 0 0 4px #fff; }
.timeline-content { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); position: relative; }
.timeline-content h4 { margin-top: 0; font-size: 1.3em; font-weight: 600; color: #333; }
.timeline-content p { font-size: 1em; margin-bottom: 0; }

/* Obligations Columns */
.obligations-columns {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.obligations-columns .column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}
.obligations-columns .column:first-child {
     border-top: 4px solid #ff8c00;
}
.obligations-columns .column:last-child {
     border-top: 4px solid #ff5722;
}
.obligations-columns .column h4 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #333;
}
.obligations-columns .column h4 i {
    margin-right: 12px;
    color: #ff761a;
}
.obligations-columns .column ul {
    padding-left: 5px;
}
.obligations-columns .column ul li {
    list-style-type: '→  ';
}


/* Contact Info Styling */
.contact-info { margin-top: 30px; background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { font-size: 1.6em; color: #ff761a; margin-right: 20px; width: 30px; text-align: center; margin-top: 5px; }
.contact-text { flex: 1; line-height: 1.6; }
.contact-text strong { display: block; font-size: 1.1em; font-weight: 600; color: #333; margin-bottom: 2px; }
.contact-text span { font-size: 1.05em; color: #555; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; }
.contact-text a { color: #ff5722; text-decoration: none; font-weight: 600; }
.contact-text a:hover { text-decoration: underline; }

/* Footer Styling */
.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .general-conditions-nhantamdigital { padding: 20px; }
    .policy-header { margin: -20px -20px 20px -20px; }
    .policy-header h1 { font-size: 2.2em; }
    .policy-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .policy-nav ul li a { white-space: nowrap; }
    .obligations-columns { flex-direction: column; }
}

@media (max-width: 768px) {
    .policy-section { padding-top: 130px; margin-top: -130px; }
    .policy-nav { top: 10px; }
    .policy-header h1 { font-size: 1.9em; }
    .section-title { font-size: 1.6em; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-icon { left: 0; width: 40px; height: 40px; font-size: 1.2em; }
}
/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Main Container Styling */
.delivery-policy-nhantamdigital {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fdfdfd;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

/* Header Styling */
.policy-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin: -20px -40px 30px -40px;
}
.policy-header h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}
.policy-header .subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
    margin: 5px 0 0 0;
}

/* Navigation Menu Styling */
.policy-nav {
    background: #fff;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}
.policy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.policy-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}
.policy-nav ul li a:hover,
.policy-nav ul li a.active {
    background: linear-gradient(135deg, #ff8c00, #ff5722);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 118, 26, 0.3);
}

/* Section Styling */
.policy-section {
    margin-bottom: 50px;
    padding-top: 70px; /* Offset for sticky nav */
    margin-top: -70px; /* Offset for sticky nav */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.policy-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ff8c00, #ff5722) 1;
    position: relative;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ff5722);
}

/* General Content Styling */
.policy-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #555;
}
.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.policy-content ul li {
    margin-bottom: 12px;
    color: #555;
    padding-left: 10px;
    list-style-type: '✓ ';
}

/* Delivery Methods Grid */
.delivery-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.method-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-bottom: 4px solid #ff8c00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.method-card i {
    font-size: 3em;
    color: #ff5722;
    margin-bottom: 15px;
}
.method-card h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Geographical Limit Box */
.geographical-limit {
    background: #fff9f5;
    border-left: 4px solid #ff5722;
    padding: 25px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
}
.geographical-limit h4 {
    margin-top: 0;
    font-size: 1.3em;
    display: flex;
    align-items: center;
}
.geographical-limit h4 i {
    margin-right: 10px;
    color: #ff761a;
}
.geographical-limit p {
    margin-bottom: 0;
}

/* Responsibilities Columns */
.responsibilities-columns {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.responsibilities-columns .column {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}
.responsibilities-columns .column:first-child {
     border-top: 4px solid #ff8c00;
}
.responsibilities-columns .column:last-child {
     border-top: 4px solid #ff5722;
}
.responsibilities-columns .column h4 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #333;
}
.responsibilities-columns .column h4 i {
    margin-right: 12px;
    color: #ff761a;
}
.responsibilities-columns .column ul { padding-left: 5px; }
.responsibilities-columns .column ul li { list-style-type: '→ '; }

/* Delay Handling Box */
.delay-handling-box {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.delay-handling-box p {
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
}
.delay-handling-box p i {
    color: #ff5722;
    font-size: 1.5em;
    margin-right: 15px;
    margin-top: 5px;
}

/* Contact Info Styling */
.contact-info { margin-top: 30px; background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { font-size: 1.6em; color: #ff761a; margin-right: 20px; width: 30px; text-align: center; margin-top: 5px; }
.contact-text { flex: 1; line-height: 1.6; }
.contact-text strong { display: block; font-size: 1.1em; font-weight: 600; color: #333; margin-bottom: 2px; }
.contact-text span { font-size: 1.05em; color: #555; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; }
.contact-text a { color: #ff5722; text-decoration: none; font-weight: 600; }
.contact-text a:hover { text-decoration: underline; }

/* Footer Styling */
.policy-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .delivery-policy-nhantamdigital { padding: 20px; }
    .policy-header { margin: -20px -20px 20px -20px; }
    .policy-header h1 { font-size: 2.2em; }
    .policy-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .policy-nav ul li a { white-space: nowrap; }
    .responsibilities-columns { flex-direction: column; }
}

@media (max-width: 768px) {
    .policy-section { padding-top: 130px; margin-top: -130px; }
    .policy-nav { top: 10px; }
    .policy-header h1 { font-size: 1.9em; }
    .section-title { font-size: 1.6em; }
    .delivery-methods-grid { grid-template-columns: 1fr; }
}
.footer-logos-container {
    display: flex; /* Kích hoạt Flexbox để sắp xếp các mục con */
    justify-content: center; /* Căn giữa các logo theo chiều ngang */
    align-items: center; /* Căn thẳng hàng các logo theo chiều dọc (quan trọng nếu chúng có chiều cao khác nhau) */
    gap: 20px; /* Tạo khoảng cách 20px giữa hai logo */
    margin-top: 0px; /* Tạo khoảng cách với dòng copyright ở trên */
    padding-bottom: 0px; /* Tạo khoảng trống ở dưới cùng của footer */
}
/* --- CSS TÙY CHỈNH CHO BẢN ĐỒ GOOGLE MAP Ở FOOTER --- */

/* 1. Tạo một container ảo để bọc và căn giữa bản đồ */
.footer-map-section {
    max-width: 1170px;  /* Chiều rộng tối đa, giống với container chính của trang */
    margin: 40px auto;  /* Căn giữa và tạo khoảng cách trên/dưới */
    padding: 0 15px;    /* Thêm đệm nhỏ hai bên để không bị dính sát lề trên di động */
    box-sizing: border-box;
}

/* 2. Bo tròn góc và đảm bảo bản đồ lấp đầy container */
.footer-map-section iframe {
    width: 100%;
    height: 350px;      /* Chiều cao của bản đồ, bạn có thể điều chỉnh */
    border: 0;
    display: block;
    border-radius: 15px; /* << Đây là dòng quan trọng để bo tròn 4 góc! */
}
/* --- CSS CHO TRANG LIÊN HỆ HIỆN ĐẠI --- */

/* Container chính của trang */
.nt-contact-page-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

/* Phần tiêu đề */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}
.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.contact-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Bố cục 2 cột chính */
.contact-main-content {
    display: flex;
    gap: 40px; /* Khoảng cách giữa 2 cột */
    margin-bottom: 50px;
}

/* Cột thông tin bên trái */
.contact-info-col {
    flex-basis: 40%; /* Chiếm 40% chiều rộng */
}

/* Cột form bên phải */
.contact-form-col {
    flex-basis: 60%; /* Chiếm 60% chiều rộng */
}

.contact-info-col h3, .contact-form-col h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-left: 4px solid #f39c12; /* Đường gạch chân màu cam */
    padding-left: 15px;
}

/* Từng mục thông tin (icon + chữ) */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 22px;
    color: #f39c12; /* Màu cam cho icon */
    width: 35px;
    margin-top: 5px;
}
.info-item .info-text {
    display: flex;
    flex-direction: column;
}
.info-item strong {
    font-size: 1rem;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-item span, .info-item a {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}
.info-item a:hover {
    color: #f39c12;
}

/* TÙY CHỈNH CHO WPFORMS - CTA RÕ RÀNG */
.wpforms-form .wpforms-field {
    padding-bottom: 20px !important;
}
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form textarea {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 12px !important;
    background-color: #f9f9f9 !important;
    width: 100%;
}
.wpforms-form .wpforms-submit {
    width: 100%;
    background-color: #f39c12 !important; /* MÀU NÚT CTA */
    color: white !important;
    border: none !important;
    padding: 15px 20px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
}
.wpforms-form .wpforms-submit:hover {
    background-color: #e67e22 !important; /* Màu khi hover */
}

/* Phần Google Map */
.contact-map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 15px; /* Bo tròn góc bản đồ */
    border: 0;
}

/* CSS cho màn hình di động */
@media (max-width: 768px) {
    .contact-main-content {
        flex-direction: column; /* Chuyển 2 cột thành 1 cột */
    }
}