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

:root {
    --apex-emerald: #047857;
    --apex-emerald-dark: #064e3b;
    --apex-emerald-light: #ecfdf5;
    --apex-gold: #d97706;
    --apex-gold-hover: #b45309;
    --apex-gold-light: #fef3c7;
    --apex-slate-900: #0f172a;
    --apex-slate-800: #1e293b;
    --apex-slate-700: #334155;
    --apex-slate-100: #f1f5f9;
    --apex-slate-50: #f8fafc;
}

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

/* Header & Navigation */
.header-wrapper {
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

/* Badge & Indicators */
.apex-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--apex-gold-light);
    color: var(--apex-gold-hover);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: 1px solid rgba(217, 119, 6, 0.25);
    margin-bottom: 16px;
}

.apex-badge-emerald {
    display: inline-block;
    padding: 6px 16px;
    background: var(--apex-emerald-light);
    color: var(--apex-emerald);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: 1px solid rgba(4, 120, 87, 0.25);
    margin-bottom: 16px;
}

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

.apex-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -8px rgba(4, 120, 87, 0.15);
    border-color: var(--apex-emerald);
}

.apex-stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--apex-emerald);
    line-height: 1.1;
    margin-bottom: 6px;
}

.apex-stat-gold {
    color: var(--apex-gold);
}

.apex-stat-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--apex-slate-800);
    margin-bottom: 4px;
}

.apex-stat-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* Pillar Card / Services */
.apex-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 30px;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.apex-pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--apex-emerald), var(--apex-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.apex-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.apex-pillar-card:hover::before {
    opacity: 1;
}

.apex-pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--apex-emerald-light);
    color: var(--apex-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.apex-pillar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--apex-slate-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.apex-pillar-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.apex-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.apex-pillar-list li::before {
    content: "✓";
    color: var(--apex-emerald);
    font-weight: bold;
    margin-right: 8px;
}

/* Advisory Contact Card */
.apex-contact-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    position: relative;
}

.apex-form-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--apex-slate-900);
    margin-bottom: 8px;
}

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

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

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

.apex-form .apex-field {
    margin-bottom: 18px;
}

.apex-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--apex-slate-800);
    margin-bottom: 6px;
}

.apex-form input,
.apex-form select,
.apex-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: var(--apex-slate-900);
    background: #ffffff;
    transition: all 0.2s;
    box-sizing: border-box;
}

.apex-form input:focus,
.apex-form select:focus,
.apex-form textarea:focus {
    border-color: var(--apex-emerald);
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
}

.apex-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--apex-emerald), var(--apex-emerald-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;
}

.apex-btn-submit:hover {
    background: linear-gradient(135deg, #059669, var(--apex-emerald));
    box-shadow: 0 10px 20px -5px rgba(4, 120, 87, 0.4);
    transform: translateY(-2px);
}

.apex-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;
}

/* Feature Quote Box */
.apex-quote-box {
    background: linear-gradient(135deg, var(--apex-slate-900), var(--apex-slate-800));
    color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border-left: 6px solid var(--apex-gold);
}

.apex-quote-text {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.apex-quote-author {
    font-weight: 700;
    font-size: 15px;
    color: var(--apex-gold);
}

.apex-quote-role {
    font-size: 13px;
    color: #94a3b8;
}