/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome - An Phat Industrial Group (cpn04.onepage.io.vn)
Author: UX-Themes / Custom Corporate Build
Template: flatsome
Version: 3.0
*/

:root {
    --anphat-blue: #1d4ed8;
    --anphat-blue-dark: #1e3a8a;
    --anphat-blue-light: #eff6ff;
    --anphat-accent: #ea580c;
    --anphat-slate-900: #0b132b;
    --anphat-slate-800: #1c2541;
    --anphat-slate-700: #334155;
    --anphat-slate-100: #f1f5f9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--anphat-slate-700);
    background-color: #ffffff;
}

/* Badge & Highlights */
.anphat-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1px solid rgba(29, 78, 216, 0.25);
    margin-bottom: 16px;
}

.anphat-badge-accent {
    display: inline-block;
    padding: 6px 16px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1px solid rgba(234, 88, 12, 0.25);
    margin-bottom: 16px;
}

/* Industrial Stat Card */
.anphat-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.anphat-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--anphat-blue);
    box-shadow: 0 12px 25px -5px rgba(29, 78, 216, 0.15);
}

.anphat-stat-num {
    font-size: 38px;
    font-weight: 900;
    color: var(--anphat-blue);
    line-height: 1.1;
    margin-bottom: 6px;
}

.anphat-stat-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.anphat-stat-sub {
    font-size: 12px;
    color: #64748b;
}

/* Manufacturing Industry Cards */
.anphat-ind-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.anphat-ind-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
    border-color: #93c5fd;
}

.anphat-ind-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.anphat-ind-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.anphat-ind-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.anphat-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.anphat-spec-list li {
    font-size: 13px;
    color: #334155;
    padding: 6px 0;
    display: flex;
    align-items: center;
    border-top: 1px dashed #e2e8f0;
}

.anphat-spec-list li::before {
    content: "■";
    color: var(--anphat-blue);
    font-size: 9px;
    margin-right: 8px;
}

/* Cert Badge Box */
.anphat-cert-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.anphat-cert-code {
    font-size: 20px;
    font-weight: 900;
    color: #1d4ed8;
    letter-spacing: 0.05em;
}

.anphat-cert-info {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* RFQ Form Card */
.anphat-rfq-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

.anphat-form-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.anphat-form-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 22px;
    line-height: 1.5;
}

.anphat-form .anphat-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.anphat-form .anphat-field {
    margin-bottom: 16px;
}

.anphat-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.anphat-form input,
.anphat-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s;
    box-sizing: border-box;
}

.anphat-form input:focus,
.anphat-form select:focus {
    border-color: var(--anphat-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.anphat-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--anphat-blue), var(--anphat-blue-dark));
    color: #ffffff;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    margin-top: 10px;
}

.anphat-btn-submit:hover {
    background: linear-gradient(135deg, #2563eb, var(--anphat-blue));
    box-shadow: 0 10px 20px -5px rgba(29, 78, 216, 0.4);
    transform: translateY(-2px);
}

.anphat-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-top: 16px;
    line-height: 1.4;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 6px;
}