/*
Theme Name: Flatsome Child - NexTech Solutions
Description: Giao diện giới thiệu công ty công nghệ & chuyển đổi số
Author: OnePage
Template: flatsome
Version: 3.0
*/

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --accent: #38bdf8;
    --dark: #0f172a;
    --slate: #1e293b;
    --muted: #64748b;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 35px -10px rgba(2, 132, 199, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Header & Top Branding */
.header-nav li a {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
}

/* Hero Section */
.hero-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.stat-box {
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-box:last-child {
    border-right: none;
}
.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
}

/* Service / Solution Cards */
.tech-service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tech-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}
.service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.service-card-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    flex-grow: 1;
}

/* Process Steps */
.step-item-card {
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    height: 100%;
}
.step-num-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dark);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
}

/* Contact Card Form */
.cpn-contact-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}
.cpn-card-badge {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.cpn-card-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.cpn-card-desc {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}
.cpn-form .cpn-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cpn-field {
    margin-bottom: 16px;
}
.cpn-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.cpn-field input, .cpn-field select, .cpn-field textarea {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
}
.cpn-field input:focus, .cpn-field select:focus, .cpn-field textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
}
.cpn-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}
.cpn-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}
.cpn-form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
}

@media (max-width: 768px) {
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-box {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 16px;
    }
    .cpn-form .cpn-grid-2 {
        grid-template-columns: 1fr;
    }
}