/* Import Be Vietnam Pro Font */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* Base Variables */
:root {
    --primary: #0A2540; /* Rgb(10, 37, 64) */
    --accent: #1F61A9;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 50px;
    
    --transition: all 0.3s ease;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary { background-color: var(--accent); color: #FFF; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: #174b85; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-white { background-color: #FFF; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-white:hover { background-color: #F9FAFB; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }

/* Header & Logo */
.logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo img { height: 50px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent); }

/* Mobile Hamburger */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 1001; }
.hamburger { display: block; width: 24px; height: 2px; background-color: var(--primary); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: var(--transition); }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 24px; height: 2px; background-color: var(--primary); left: 0; transition: var(--transition); }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.menu-toggle.active .hamburger { background-color: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    padding: 20px 0 20px;
    text-align: center;
    background-color: #F8FAFC;
    color: var(--text-dark);
}
.hero-banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
}
.hero-banner-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(26px, 5vw, 42px); max-width: 900px; margin: 0 auto 15px; color: var(--primary); }
.hero p { font-size: clamp(15px, 2vw, 18px); color: var(--text-muted); max-width: 700px; margin: 0 auto 30px; font-weight: 400; line-height: 1.6; }

/* Partners */
.partners { background-color: var(--bg-white); padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.partners-inner { display: flex; justify-content: center; align-items: center; gap: clamp(30px, 6vw, 80px); flex-wrap: wrap; }
.partner-logo { height: 60px; object-fit: contain; transition: var(--transition); cursor: pointer; border-radius: 8px; mix-blend-mode: multiply; }
.partner-logo:hover { transform: scale(1.05); }

/* Global Sections */
section { padding: 20px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(24px, 5vw, 36px); margin-bottom: 10px; color: var(--primary); }
.section-header p { color: var(--text-muted); font-size: clamp(15px, 2.5vw, 18px); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.company-name { font-size: clamp(22px, 4vw, 32px); color: var(--primary); font-weight: 700; display: block; margin-bottom: 15px; line-height: 1.3; }
.about-content h3 { font-size: 14px; color: var(--accent); font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.about-text { font-size: clamp(15px, 2.5vw, 16px); color: var(--text-muted); line-height: 1.7; }


/* Process Section */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 40px; }
.process-item { text-align: center; position: relative; }
.step-circle { width: 60px; height: 60px; border-radius: 50%; background-color: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 20px; z-index: 2; position: relative; box-shadow: var(--shadow-sm); }
.process-item h4 { font-size: 20px; margin-bottom: 12px; color: var(--primary); }
.process-item p { color: var(--text-muted); font-size: 15px; }

/* Mobile Process Inline Layout */
@media (max-width: 767px) {
    .process-grid { gap: 16px; margin-top: 24px; }
    .process-item {
        text-align: left;
        background: var(--bg-white);
        padding: 14px 13px;
        border-radius: var(--radius-md);
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
        line-height: 1.6;
    }
    .step-circle {
        display: inline-flex;
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin: 0 8px 0 0;
        vertical-align: baseline;
    }
    .process-item h4 {
        display: inline;
        font-size: 16px;
        margin: 0;
    }
    .process-item h4::after {
        content: ": ";
    }
    .process-item p {
        display: inline;
        font-size: 14px;
        margin: 0;
    }
}

/* Map & Coverage Section */
.coverage-section { background-color: var(--bg-light); border-bottom: 1px solid var(--border-color); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-visual { position: relative; width: 100%; max-width: 400px; margin: 0 auto; }
.map-visual svg { width: 100%; height: auto; opacity: 0.8; }
.map-dot {
    position: absolute;
    width: 13px; height: 13px;
    background-color: #EF4444;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: pulse-dot 2s infinite;
    z-index: 2;
}
.map-dot::after {
    content: attr(data-label);
    position: absolute;
    left: 20px; top: -5px;
    background: #FFF;
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0,0,0,0.3); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0), 0 2px 8px rgba(0,0,0,0.3); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 2px 8px rgba(0,0,0,0.3); }
}
/* Rough positions for VN Map */
.dot-north { top: 25%; left: 45%; }
.dot-central { top: 55%; left: 75%; }
.dot-south { top: 85%; left: 55%; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.stat-box { background: var(--bg-white); padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.stat-num { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* Success Stories */
.success-section { background-color: var(--bg-white); }
.success-card { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--bg-light); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
.success-image { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.success-content { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.success-content h3 { font-size: 24px; margin-bottom: 16px; color: var(--primary); }
.success-content p { color: var(--text-muted); margin-bottom: 15px; }
.revenue-badge { display: inline-block; background: #ECFDF5; color: #059669; padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 18px; }

/* Services */
.services-section { background-color: #F0F4F8; border-top: 1px solid var(--border-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.service-card { position: relative; background-color: var(--bg-white); border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.04); padding: 20px 15px; border-radius: var(--radius-md); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.service-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; }
.service-step { font-size: 38px; font-weight: 900; color: var(--accent); opacity: 1; line-height: 1; margin: 0; }
.service-card h3 { font-size: 18px; margin: 0; margin-top: 8px; color: var(--primary); line-height: 1.3; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* Desktop Grid for Services */
@media (min-width: 992px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* Testimonials */
.testimonials-section { background-color: var(--bg-white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testi-card { background: var(--bg-light); padding: 30px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.testi-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.testi-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testi-info h4 { font-size: 16px; margin-bottom: 4px; }
.testi-info p { font-size: 14px; color: var(--text-muted); margin: 0; }
.stars { color: #F59E0B; font-size: 18px; margin-bottom: 16px; }
.testi-body { font-size: 15px; color: var(--text-dark); font-style: italic; }

/* Footer */
footer { background-color: var(--primary); color: #FFF; padding: 40px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.footer-col h5 { font-size: 18px; margin-bottom: 24px; }
.footer-col p { color: #9CA3AF; font-size: 15px; max-width: 350px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #9CA3AF; text-decoration: none; font-size: 15px; transition: var(--transition); }
.footer-col a:hover { color: #FFF; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; font-size: 14px; color: #9CA3AF; text-align: center; }

/* Floating CTAs */
.floating-ctas { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 16px; z-index: 999; }
.float-btn { display: flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius-pill); color: #FFF; text-decoration: none; font-weight: 600; box-shadow: var(--shadow-md); transition: var(--transition); }
.float-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-hover); }
.btn-hotline { background-color: #EF4444; }
.btn-zalo { background-color: #3B82F6; }

#mobile-cta { display: none; }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .coverage-grid, .success-card { grid-template-columns: 1fr; }
    .success-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 30px 0; }
    .hero { padding: 10px 0 10px; }
    
    #desktop-cta { display: none; }
    #mobile-cta { display: inline-flex; }
    
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 80px; left: 0; width: 100%; background-color: var(--bg-white); flex-direction: column; padding: 30px 24px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transform: translateY(-150%); opacity: 0; transition: var(--transition); gap: 24px; }
    .nav-links.active { transform: translateY(0); opacity: 1; }
    .nav-links .btn { width: 100%; }
    
    .floating-ctas { bottom: 15px; right: 15px; flex-direction: column; gap: 12px; }
    .cta-icon-btn { width: 44px; height: 44px; }
    .cta-icon-btn svg { width: 22px; height: 22px; }
}

/* Floating CTAs Main Styles */
.floating-ctas { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 1000; }
.cta-icon-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}
.cta-icon-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: inherit;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}
.cta-icon-btn:hover { transform: scale(1.15); }
.cta-icon-btn:hover::before { animation: none; }
.cta-phone { background-color: var(--accent); }
.cta-zalo { background-color: #0068FF; }
.cta-fb { background-color: #0A7CFF; }
.cta-icon-btn svg { width: 26px; height: 26px; fill: white; z-index: 2; position: relative; }

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}
