/* =========================================================
   NANO HÀ NỘI – Landing page
   Style theo NaNoLogisticPortal (style.css)
   ========================================================= */
:root {
    --nano-main: #008cd4;
    --nano-main-dark: #0071ab;
    --nano-accent: #f8a906;
    --nano-accent-dark: #dc9500;
    --nano-dark: #222222;
    --nano-text: #444444;
    --nano-muted: #6b7280;
    --nano-bg-soft: #f1f6fe;
    --nano-border: #d9e6f7;
}

html { scroll-behavior: smooth; }
body {
    font-family: "Open Sans", sans-serif;
    color: var(--nano-text);
    background: #ffffff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: "Poppins", sans-serif; color: var(--nano-dark); }
a { color: var(--nano-main); text-decoration: none; }
a:hover { color: var(--nano-main-dark); }
.color-main { color: var(--nano-main) !important; }
section { padding: 70px 0; scroll-margin-top: 80px; }
.section-bg { background: var(--nano-bg-soft); }

/* ---------- Buttons ---------- */
.btn-trial {
    display: inline-block;
    background: var(--nano-accent);
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .3px;
    border: 0;
    transition: background .2s;
}
.btn-trial:hover { background: var(--nano-accent-dark); color: #fff; }
.btn-nano-primary, .btn-nano-outline {
    padding: 14px 32px; font-weight: 700; border-radius: 4px; font-size: 15px;
}
.btn-nano-primary { background: var(--nano-main); color: #fff; border: 2px solid var(--nano-main); }
.btn-nano-primary:hover { background: var(--nano-main-dark); border-color: var(--nano-main-dark); color: #fff; }
.btn-nano-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-nano-outline:hover { background: #fff; color: var(--nano-main); }

/* ---------- Top bar ---------- */
#topbar { background: var(--nano-main); height: 40px; font-size: 14px; color: #fff; padding: 0; }
#topbar .contact-info i { color: #fff; margin-right: 6px; }
#topbar .contact-info a, #topbar .contact-info span { color: #fff; }
#topbar .contact-info a:hover { text-decoration: underline; }
#topbar .social-links a { color: rgba(255,255,255,.85); margin-left: 16px; }
#topbar .social-links a:hover { color: #fff; }

/* ---------- Header ---------- */
#header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,.08); z-index: 997; }
#header .navbar { padding: 10px 0; }
#header .logo { display: flex; align-items: center; font-family: "Poppins", sans-serif; }
#header .logo img { max-height: 40px; }
#header .logo .logo-text { color: var(--nano-main); font-size: 34px; font-weight: 700; margin-left: -4px; line-height: 1; letter-spacing: .5px; }
#header .logo .logo-branch {
    margin-left: 10px; padding: 3px 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px;
    color: #fff; background: var(--nano-accent); border-radius: 3px;
}
#header .nav-link {
    font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 600; color: #013289;
    padding: 10px 12px !important;
}
#header .nav-link:hover, #header .nav-link.active { color: var(--nano-main); }
#header .navbar-toggler { border: 0; font-size: 30px; color: var(--nano-dark); box-shadow: none; }

/* ---------- Hero ---------- */
#hero {
    position: relative;
    min-height: 620px;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    padding: 90px 0;
}
#hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,40,70,.88) 0%, rgba(0,80,130,.65) 60%, rgba(43,57,64,.35) 100%); }
#hero h1 { color: #fff; font-size: 44px; font-weight: 700; line-height: 1.25; margin: 18px 0; text-transform: uppercase; }
#hero h1 span { color: var(--nano-accent); }
#hero .hero-lead { color: rgba(255,255,255,.92); font-size: 19px; max-width: 760px; margin-bottom: 28px; }
#hero .hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(248,169,6,.15); color: var(--nano-accent); border: 1px solid var(--nano-accent);
    padding: 6px 14px; border-radius: 30px; font-weight: 700; font-size: 13px; letter-spacing: 1px;
}
#hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
#hero .hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
#hero .hero-points li { color: #fff; font-weight: 600; }
#hero .hero-points i { color: var(--nano-accent); margin-right: 6px; }

/* ---------- Section title (giống trang chính) ---------- */
.section-title { text-align: center; padding-bottom: 30px; }
.section-title h2 {
    font-size: 14px; font-weight: 600; padding: 8px 20px; margin: 0;
    background: #e7f5ff; color: var(--nano-main); display: inline-block;
    text-transform: uppercase; border-radius: 50px; letter-spacing: 1px;
}
.section-title h3 { margin: 15px 0 0; font-size: 32px; font-weight: 700; text-transform: uppercase; }
.section-title h3 span { color: var(--nano-main); }
.section-title p { margin: 15px auto 0; font-size: 17px; color: var(--nano-muted); max-width: 820px; }

/* ---------- Stats ---------- */
.nano-stats { padding: 60px 0; background: #fff; }
.nano-stats-heading { text-align: center; margin-bottom: 36px; }
.nano-stats-eyebrow { margin-bottom: 10px; color: #0d6efd; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.nano-stats-heading h2 { margin: 0; color: #172033; font-size: 32px; font-weight: 800; }
.nano-stats-box {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
    border: 1px solid var(--nano-border); border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(13,110,253,.06);
}
.nano-stat-item {
    position: relative; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 25px 15px; text-align: center; border-right: 1px solid var(--nano-border);
    background: linear-gradient(180deg, #f3f8ff 0%, #fff 100%); transition: background .25s, transform .25s;
}
.nano-stat-item:last-child { border-right: 0; }
.nano-stat-item:hover { background: #eef6ff; transform: translateY(-3px); }
.nano-stat-item::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 38px; height: 3px; transform: translateX(-50%); border-radius: 3px; background: #0d6efd; opacity: .75; }
.nano-stat-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; border-radius: 10px; background: #e7f1ff; color: #0d6efd; font-size: 18px; transition: .25s; }
.nano-stat-item:hover .nano-stat-icon { background: #0d6efd; color: #fff; }
.nano-stat-number { margin-bottom: 10px; color: #0b63ce; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -1.5px; white-space: nowrap; }
.nano-stat-suffix { margin-left: 2px; color: #198754; font-size: 25px; font-weight: 700; }
.nano-stat-label { color: #475569; font-size: 15px; font-weight: 500; }

/* ---------- About ---------- */
.about-img { border-radius: 12px; box-shadow: 0 10px 35px rgba(0,140,212,.15); }
.about-content h4 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.about-content p { font-size: 16px; line-height: 1.7; }
.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li { padding: 7px 0 7px 30px; position: relative; font-size: 15.5px; }
.check-list i { position: absolute; left: 0; top: 5px; color: var(--nano-main); font-size: 20px; }

/* ---------- Services ---------- */
.service-box {
    height: 100%; padding: 32px 28px; background: #fff; border-radius: 10px;
    border: 1px solid var(--nano-border); box-shadow: 0 0 29px rgba(54,110,175,.08);
    transition: all .3s;
}
.service-box .icon {
    width: 62px; height: 62px; border-radius: 10px; background: var(--nano-main); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; transition: .3s;
}
.service-box h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-box p { margin: 0; font-size: 15px; line-height: 1.65; }
.service-box:hover { background: var(--nano-main); transform: translateY(-6px); }
.service-box:hover h4, .service-box:hover p { color: #fff; }
.service-box:hover .icon { background: #fff; color: var(--nano-main); }

/* ---------- Region / Industry ---------- */
.region .section-title { padding-bottom: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span {
    background: #fff; border: 1px solid var(--nano-border); color: var(--nano-main);
    padding: 8px 16px; border-radius: 30px; font-weight: 600; font-size: 14.5px;
}
.tag-list span:first-child { background: var(--nano-main); color: #fff; border-color: var(--nano-main); }
.industry-item {
    display: flex; align-items: center; gap: 10px; height: 100%;
    background: #fff; border-radius: 8px; padding: 14px 16px; border: 1px solid var(--nano-border);
    font-weight: 600; font-size: 15px; color: var(--nano-dark);
}
.contact-form input, .contact-form select, .contact-form textarea { max-width: none; }
.industry-grid i { color: var(--nano-main); font-size: 22px; }

/* ---------- Solutions (giống card xanh trang chính) ---------- */
.solution-box {
    display: flex; flex-direction: column; width: 100%;
    background: var(--nano-main); border: 5px solid var(--nano-main); border-radius: 6px; overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.solution-box:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,140,212,.3); }
.solution-img { background: #fff; }
.solution-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.solution-body { padding: 20px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.solution-body h4 { color: #fff; font-weight: 800; font-size: 26px; margin-bottom: 10px; }
.solution-body p { color: #fff; font-size: 15px; line-height: 1.65; flex: 1; }
.solution-body .btn-trial { align-self: flex-start; margin-top: 10px; }

/* ---------- AI band ---------- */
.ai-band { background: linear-gradient(120deg, #00507a 0%, var(--nano-main) 100%); color: #fff; }
.ai-band h2 { color: #fff; font-weight: 800; font-size: 32px; }
.ai-band h2 span { color: var(--nano-accent); }
.ai-band p { color: rgba(255,255,255,.9); font-size: 17px; }
.ai-item { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 16px 18px; height: 100%; }
.ai-item i { font-size: 30px; color: var(--nano-accent); }
.ai-item b { display: block; color: #fff; font-family: "Poppins", sans-serif; }
.ai-item span { color: rgba(255,255,255,.85); font-size: 14px; }

/* ---------- Process ---------- */
.process-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; position: relative; }
.process-steps::before { content: ""; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--nano-main) 0 10px, transparent 10px 18px); z-index: 0; }
.process-steps .step { text-align: center; position: relative; z-index: 1; }
.process-steps .num {
    width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--nano-main); color: var(--nano-main);
    display: flex; align-items: center; justify-content: center; font: 800 20px "Poppins", sans-serif;
    transition: .3s;
}
.process-steps .step:hover .num { background: var(--nano-accent); border-color: var(--nano-accent); color: #fff; }
.process-steps h5 { font-weight: 700; font-size: 17px; }
.process-steps p { font-size: 14.5px; color: var(--nano-muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; }
.faq-list .accordion-item { border: 0; margin-bottom: 14px; border-radius: 6px !important; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,.06); }
.faq-list .accordion-button { font-weight: 600; font-size: 16px; color: var(--nano-dark); font-family: "Poppins", sans-serif; }
.faq-list .accordion-button:not(.collapsed) { color: var(--nano-main); background: #fff; box-shadow: none; }
.faq-list .accordion-button:focus { box-shadow: none; }
.faq-list .accordion-body { font-size: 15.5px; padding-top: 0; }

/* ---------- Contact ---------- */
.info-box { display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 18px 20px; margin-bottom: 14px; border-radius: 8px; box-shadow: 0 0 24px rgba(214,215,216,.6); }
.info-box i { font-size: 22px; color: var(--nano-main); width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; border: 2px dotted #b3dcf3; display: flex; align-items: center; justify-content: center; }
.info-box h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.info-box p { margin: 0; font-size: 15px; }
.map-box { border-radius: 8px; overflow: hidden; box-shadow: 0 0 24px rgba(214,215,216,.6); }
.map-box iframe { width: 100%; height: 260px; border: 0; display: block; }
.contact-form { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 0 24px rgba(214,215,216,.6); height: 100%; }
.contact-form .form-label { font-weight: 600; font-size: 14px; color: var(--nano-dark); }
.contact-form .form-control, .contact-form .form-select { border-radius: 4px; padding: 10px 14px; font-size: 15px; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--nano-main); box-shadow: 0 0 0 .2rem rgba(0,140,212,.15); }
.contact-form .is-invalid { border-color: #dc3545; }
.contact-form .btn-submit { padding: 12px 36px; font-size: 15px; }
.form-error { color: #dc3545; font-weight: 600; margin-bottom: 10px; }

/* ---------- Footer ---------- */
#footer { background: var(--nano-main); color: #fff; font-size: 14.5px; }
#footer .footer-top { padding: 60px 0 30px; }
#footer h3 { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.4; }
#footer h3 span { color: var(--nano-accent); }
#footer h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
#footer p, #footer li, #footer a { color: #fff; }
#footer a:hover { color: var(--nano-accent); }
#footer .footer-desc { opacity: .95; }
#footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
#footer .footer-links li { padding: 5px 0; }
#footer .footer-links i { font-size: 12px; margin-right: 4px; }
#footer .social-links a {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 50%; background: rgba(255,255,255,.18); margin-right: 6px; font-size: 17px; transition: .3s;
}
#footer .social-links a:hover { background: var(--nano-accent); color: #fff; }
#footer .store-badge { width: 150px; display: block; margin-bottom: 8px; }
#footer .copyright { border-top: 1px solid rgba(255,255,255,.25); text-align: center; }

/* ---------- Floating ---------- */
.back-to-top, .call-float {
    position: fixed; right: 16px; z-index: 996; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: #fff; transition: .3s;
}
.back-to-top { bottom: 16px; width: 42px; height: 42px; background: var(--nano-main); font-size: 26px; opacity: 0; visibility: hidden; }
.back-to-top.show { opacity: 1; visibility: visible; }
.call-float { bottom: 70px; width: 52px; height: 52px; background: var(--nano-accent); font-size: 22px; box-shadow: 0 0 0 0 rgba(248,169,6,.6); animation: pulse 2s infinite; }
.back-to-top:hover, .call-float:hover { color: #fff; filter: brightness(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(248,169,6,.6); } 70% { box-shadow: 0 0 0 14px rgba(248,169,6,0); } 100% { box-shadow: 0 0 0 0 rgba(248,169,6,0); } }

/* ---------- Responsive ---------- */
@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (max-width: 991px) {
    #header .navbar-collapse { padding: 10px 0; }
    #hero { min-height: 520px; }
    #hero h1 { font-size: 34px; }
    .process-steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 30px; }
    .process-steps::before { display: none; }
}
@media (max-width: 767px) {
    section { padding: 50px 0; }
    #topbar { font-size: 12.5px; }
    #topbar .contact-info i.ms-4 { margin-left: 12px !important; }
    #hero { padding: 60px 0; }
    #hero h1 { font-size: 27px; }
    #hero .hero-lead { font-size: 16px; }
    .section-title h3, .nano-stats-heading h2, .ai-band h2 { font-size: 24px; }
    .nano-stats-box { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .nano-stat-item:nth-child(2n) { border-right: 0; }
    .nano-stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--nano-border); }
    .nano-stat-number { font-size: 30px; }
    .industry-item { font-size: 13.5px; padding: 10px 12px; }
    .contact-form { padding: 20px; }
}
@media (max-width: 480px) {
    #topbar .contact-info a[href^="mailto"], #topbar .contact-info .bi-envelope { display: none; }
    #topbar .contact-info i.ms-4 { margin-left: 0 !important; }
    #header .logo .logo-text { font-size: 28px; }
    .process-steps { grid-template-columns: 1fr; }
}
