/* ========================================
   VIỆC ONLINE — Trang Tuyển Dụng
   Font: Be Vietnam Pro + Playfair Display
   Colors: Blue primary + Orange accent
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.08);
    --accent: #f97316;
    --accent-light: rgba(249, 115, 22, 0.1);
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    font-weight: 800;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 0 var(--border), var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--dark) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 90%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(249, 115, 22, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 28px;
}

.tag-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.badge-green {
    color: #15803d;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.badge-blue {
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.badge-orange {
    color: #c2410c;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
}

.stat-item span {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 1px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- ABOUT SECTION ---------- */
.about {
    padding: 100px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
}

.about-block {
    margin-bottom: 28px;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-block h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
}

.about-block p {
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 14px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -2px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ---------- JOBS SECTION ---------- */
.jobs {
    padding: 100px 0;
    background: var(--bg-alt);
    position: relative;
}

.jobs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.card-image {
    margin: -32px -28px 20px -28px;
    height: 180px;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover .card-image img {
    transform: scale(1.08);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-bg, var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent, var(--primary));
}

.job-card:hover .card-icon {
    transform: scale(1.1);
}

.job-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.job-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 100px;
    color: #15803d;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
    margin-bottom: 10px;
}

.card-badge.badge-hot {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
    animation: pulse-hot 2s ease-in-out infinite;
}

@keyframes pulse-hot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-salary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-salary svg {
    color: var(--accent);
}

.card-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 100px;
    transition: all var(--transition);
}

.card-btn:hover {
    background: var(--primary);
    color: white;
}

/* ---------- Download Button ---------- */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 48px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--accent), #ea580c);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.btn-download:active {
    transform: translateY(0);
}

/* ---------- DETAILS SECTION ---------- */
.details {
    padding: 100px 0;
    background: var(--bg);
}

.details-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.detail-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

.detail-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.detail-item summary {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font);
    transition: background var(--transition);
    list-style: none;
}

.detail-item summary::-webkit-details-marker {
    display: none;
}

.detail-item summary::marker {
    display: none;
    content: '';
}

.detail-item summary:hover {
    background: var(--bg-alt);
}

.detail-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    flex: 1;
}

.detail-salary {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-right: 16px;
}

.detail-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text-light);
    transition: all var(--transition);
}

.detail-item[open] .detail-toggle {
    background: var(--primary-light);
    color: var(--primary);
    transform: rotate(180deg);
}

.detail-content {
    padding: 0 24px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-section li {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.detail-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

/* ---------- FEEDBACK SECTION ---------- */
.feedback {
    padding: 100px 0;
    background: var(--bg-alt);
    position: relative;
}

.feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Overview block */
.feedback-overview {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 48px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 48px;
}

.feedback-score {
    text-align: center;
}

.score-number {
    display: block;
    font-size: 56px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -3px;
}

.score-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 8px 0;
    color: #f59e0b;
}

.score-stars svg {
    width: 20px;
    height: 20px;
}

.score-count {
    font-size: 14px;
    color: var(--text-light);
}

/* Rating bars */
.feedback-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    min-width: 42px;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 100px;
    transition: width 1s ease;
}

.bar-pct {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    min-width: 36px;
    text-align: right;
}

/* Highlights */
.feedback-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.highlight-item svg {
    flex-shrink: 0;
    color: var(--primary);
}

.highlight-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.highlight-item span {
    font-size: 12px;
    color: var(--text-light);
}

/* Testimonial cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.testimonial-header > div:nth-child(2) {
    flex: 1;
}

.testimonial-header strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-header > div:nth-child(2) span {
    font-size: 12px;
    color: var(--text-light);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #15803d;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ---------- APPLY SECTION ---------- */
.apply {
    padding: 100px 0;
    background: var(--bg-alt);
    position: relative;
}

.apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.apply-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.apply-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 15px;
    color: var(--dark);
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
    margin-top: 4px;
}

/* Contact Side */
.apply-contact {
    position: sticky;
    top: 96px;
}

.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-header {
    margin-bottom: 24px;
}

.contact-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-header p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.zalo-btn:hover {
    border-color: #0068FF;
    background: rgba(0, 104, 255, 0.04);
}

.messenger-btn:hover {
    border-color: #0084FF;
    background: rgba(0, 132, 255, 0.04);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.contact-text small {
    font-size: 12px;
    color: var(--text-light);
}

.contact-info {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.info-item svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* Form Success */
.form-success {
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.success-content svg {
    margin: 0 auto 20px;
}

.success-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #10b981;
}

.success-content p {
    color: var(--text-light);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-contact svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- FLOATING BUTTONS ---------- */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.zalo-float {
    background: #0068FF;
}

.messenger-float {
    background: #0084FF;
}

.float-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

.zalo-float::before {
    border-color: #0068FF;
}

.messenger-float::before {
    border-color: #0084FF;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- ANIMATIONS ---------- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: slideUp 0.8s ease-out;
}

.hero-stats {
    animation: slideUp 0.8s ease-out 0.3s both;
}

.job-card {
    animation: slideUp 0.6s ease-out both;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.15s; }
.job-card:nth-child(3) { animation-delay: 0.2s; }
.job-card:nth-child(4) { animation-delay: 0.25s; }
.job-card:nth-child(5) { animation-delay: 0.3s; }
.job-card:nth-child(6) { animation-delay: 0.35s; }
.job-card:nth-child(7) { animation-delay: 0.4s; }
.job-card:nth-child(8) { animation-delay: 0.45s; }
.job-card:nth-child(9) { animation-delay: 0.5s; }

/* ---------- RESPONSIVE: Tablet ---------- */
@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .feedback-overview {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .feedback-highlights {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .highlight-item {
        flex: 1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .apply-contact {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------- RESPONSIVE: Mobile ---------- */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-cta {
        margin-top: 12px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        margin-bottom: 48px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item strong {
        font-size: 22px;
    }

    .scroll-indicator {
        display: none;
    }

    .about,
    .jobs,
    .details,
    .apply {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .feedback-overview {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 20px;
    }

    .feedback-score {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .score-stars {
        margin: 0;
    }

    .feedback-highlights {
        flex-direction: column;
    }

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

    .about-image {
        order: -1;
    }

    .image-placeholder {
        aspect-ratio: 16/9;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 28px;
    }

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

    .job-card {
        padding: 24px 20px;
    }

    .card-image {
        margin: -24px -20px 16px -20px;
        height: 160px;
    }

    .detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-item summary {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .detail-salary {
        order: 3;
        width: 100%;
        margin-right: 0;
        margin-top: 4px;
    }

    .detail-toggle {
        order: 2;
    }

    .detail-content {
        padding: 0 20px 20px;
        padding-top: 20px;
    }

    .apply-form {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 380px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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