body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #222;
}
/* 顶部蓝色信息栏 */
.header-bar {
    background: #039be5;
    color: #fff;
    font-size: 1rem;
    padding: 0;
}
.header-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 38px;
    background: #0091dc;
}
.header-bar-left span {
    margin-right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.header-bar-left a {
    color: #fff;
    text-decoration: none;
}
.header-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s;
}
.header-icon:hover {
    background: rgba(255,255,255,0.18);
}
.header-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
}
/* 主导航栏 */
.header-mainbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    min-height: 64px;
    padding: 0 16px;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 38px;
    left: 0;
    width: 100vw;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-mainbar .container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}
.header-logo {
    flex-shrink: 0;
}
.main-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-logo img {
    height: 32px;
    vertical-align: middle;
}
.main-nav .dropdown > a span {
    font-size: 10px;
}
.header-quote-btn {
    margin-left: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.cta.main {
    background: #039be5;
    color: #fff;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.08rem;
    transition: background 0.2s;
    display: inline-block;
}
.cta.main:hover {
    background: #1976d2;
}
/* 下拉菜单 */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 0 0 6px 6px;
    min-width: 180px;
    z-index: 10;
    padding: 8px 0;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    padding: 0;
}
.dropdown-menu a {
    color: #111;
    padding: 10px 24px;
    display: block;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.dropdown-menu a:hover {
    background: #f5faff;
    color: #039be5;
}
.dropdown-menu li:last-child a {
    border-bottom: none;
}
header {
    background: #005fa3;
    color: #fff;
    padding: 20px 0;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header h1 {
    font-size: 2rem;
    margin: 0;
}
nav ul {
    list-style: none;
    display: flex;
    /* gap: 20px; */
    margin: 0;
    padding: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #ffd700;
}
.hero {
    background: url('content/Tourniquet-Manufacturers2.webp') center/cover no-repeat;
    color: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.hero-text {
    flex: 1 1 350px;
    min-width: 300px;
    color: #005fa3;
}
.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.hero-tip {
    margin-top: 18px;
    color: #222;
    font-size: 1rem;
    background: #fffbe6;
    border-left: 4px solid #ffd700;
    padding: 8px 16px;
    border-radius: 6px;
    max-width: 400px;
}
.hero-img {
    flex: 1 1 350px;
    min-width: 300px;
    text-align: right;
}
.hero-img img {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.about {
    background: #eaf4fb;
    border-radius: 12px;
    margin: 40px 0;
}
.about-home, .blog-home {
    background: #eaf4fb;
    border-radius: 12px;
    margin: 40px 0;
    padding: 32px 0;
}
.about-home h2, .blog-home h2 {
    color: #005fa3;
}
.products .product-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px;
    width: 320px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.product img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 16px;
}
.product h3 {
    margin: 0 0 10px 0;
    color: #005fa3;
}
.product p {
    font-size: 1rem;
    margin-bottom: 16px;
}
.product .learn-more {
    color: #005fa3;
    text-decoration: underline;
    font-weight: 500;
}
.blog-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.blog-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 24px;
    width: 350px;
    margin-bottom: 20px;
}
.blog-post h3 {
    margin: 0 0 10px 0;
    color: #005fa3;
}
.contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.contact-info li {
    margin-bottom: 8px;
}
#quote-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}
#quote-form input, #quote-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
#quote-form button {
    background: #005fa3;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
#quote-form button:hover {
    background: #003d6b;
}
footer {
    background: #fff;
    color: #16213e;
    padding: 40px 0 20px 0;
}
.footer-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
}
.footer-links > div {
    flex: 1 1 0;
    min-width: 180px;
    max-width: 25%;
    margin-right: 0;
    text-align: left;
    box-sizing: border-box;
}
.footer-links h5 {
    margin-bottom: 10px;
    color: #16213e;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links a {
    color: #16213e;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffd700;
}
.footer-about {
    flex: 1 1 0;
    max-width: 25%;
    min-width: 220px;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 15px;
    color: #222;
}
.footer-logo {
    height: 40px;
    margin-bottom: 10px;
}
.footer-about p {
    margin: 0 0 12px 0;
    line-height: 1.6;
}
.footer-linkedin img {
    height: 24px;
    width: 24px;
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.2s;
}
.footer-linkedin img:hover {
    opacity: 0.7;
}
.footer-bottom {
    background: #0091dc;
    color: #fff;
    padding: 18px 0 12px 0;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.01em;
    width: 100vw;
    margin: 0;
    border: none;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .footer-bottom {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
    }
}
/* Contact page layout */
.contact-page .container {
    padding: 40px 20px;
}
.contact-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}
.contact-info-block {
    flex: 1 1 320px;
    min-width: 280px;
    background: #eaf4fb;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact-info-block h2 {
    color: #005fa3;
    margin-top: 0;
}
.contact-info-block ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 18px 0;
}
.contact-info-block li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.contact-social {
    margin-top: 18px;
}
.contact-social a {
    color: #005fa3;
    text-decoration: underline;
    font-weight: 500;
}
.contact-form-block {
    flex: 1 1 340px;
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact-form-block h3 {
    color: #005fa3;
    margin-top: 0;
}
.contact-form-block form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-form-block input,
.contact-form-block textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
.contact-form-block button {
    background: #005fa3;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form-block button:hover {
    background: #003d6b;
}
@media (max-width: 900px) {
    .header-bar-inner, .header-mainbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .main-nav ul {
        gap: 16px;
    }
    .header-quote-btn {
        margin-left: 0;
        margin-top: 8px;
    }
    .header-main, .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-img {
        text-align: center;
        margin-top: 20px;
    }
    .hero-img img {
        max-width: 90vw;
    }
    .products .product-list, .blog-list, .footer-links {
        flex-direction: column;
        align-items: center;
    }
    .product, .blog-post {
        width: 90%;
    }
    .contact-flex {
        flex-direction: column;
        gap: 24px;
    }
    .header-bar.fixed {
        position: static;
    }
    .header-mainbar {
        position: static;
        box-shadow: none;
    }
    body {
        padding-top: 0;
    }
    .footer-about {
        max-width: 100%;
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 24px;
    }
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}



/* 移动端样式补充 */
@media (max-width: 900px) {
    .main-nav,
    .header-quote-btn {
        display: none !important;
    }
    .header-menu-btn {
        display: flex !important;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1201;
        margin-top: 18px; /* 再向下移动10px，合计18px */
    }
    .header-mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 2px 16px rgba(0,0,0,0.08);
        z-index: 1200;
        padding: 0 0 12px 0;
        animation: fadeInDown 0.2s;
    }
    .header-menu-btn.open + .header-mobile-nav {
        display: block;
    }
    .header-bar {
        display: none !important;
    }
    /* 主导航栏样式 */
    .header-mainbar {
        min-height: 56px;
        height: 56px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border-bottom: 1px solid #eee;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 999;
        padding: 0;
    }
    .header-mainbar .container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0 10px;
        position: relative;
        height: 56px;
    }
    .header-logo {
        margin-left: 0;
        height: 56px;
        display: flex;
        align-items: center;
    }
    .header-logo img {
        height: 36px;
        width: auto;
        max-width: 120px;
    }
    .header-spacer { flex: 1 1 auto; }
    .header-menu-btn {
        display: flex !important;
        position: static;
        margin-right: 0;
        background: none;
        border: none;
        outline: none;
        width: 44px;
        /* height: 44px; */
        align-items: center;
        justify-content: center;
        margin-top: 8px; /* 向下移动8px */
    }
    .menu-icon {
        width: 28px;
        height: 3px;
        background: #222;
        border-radius: 2px;
        position: relative;
    }
    .menu-icon::before,
    .menu-icon::after {
        content: '';
        display: block;
        width: 28px;
        height: 3px;
        background: #222;
        border-radius: 2px;
        position: absolute;
        left: 0;
        transition: 0.2s;
    }
    .menu-icon::before { top: -9px; }
    .menu-icon::after { top: 9px; }
    .main-nav, .header-quote-btn { display: none !important; }
    /* 移动端菜单弹出样式 */
    .header-mobile-nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 2px 16px rgba(0,0,0,0.08);
        z-index: 1200;
        padding: 0 0 18px 0;
        animation: fadeInDown 0.2s;
    }
    .header-menu-btn.open + .header-mobile-nav {
        display: block;
    }
    .header-mobile-nav ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .header-mobile-nav li {
        width: 100%;
        margin: 0;
        padding: 0;
        min-height: 54px;
        display: flex;
        align-items: center;
    }
    .header-mobile-nav a {
        width: 100%;
        padding: 18px 24px;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.18rem;
        text-align: left;
        color: #222 !important;
        background: #fff;
        font-weight: 600;
        letter-spacing: 0.01em;
        text-decoration: none;
        box-sizing: border-box;
        line-height: 1.4;
    }
    .header-mobile-nav li:last-child a { border-bottom: none; }
    .header-mobile-nav .dropdown-menu {
        background: #f7f7f7;
        margin: 0 0 0 18px;
        border-radius: 6px;
        box-shadow: none;
        padding: 0;
        display: none;
    }
    .header-mobile-nav .dropdown.open > .dropdown-menu {
        display: block;
    }
}
@media (min-width: 901px) {
    .header-menu-btn,
    .header-mobile-nav {
        display: none !important;
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 全局禁止H5端出现水平滚动条，所有主要容器和body设置max-width:100vw和overflow-x:hidden。 */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}
@media (max-width: 900px) {
    body, html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    .container, .header-mainbar, .header-bar, .header-mobile-nav, .main, main, section, .blog-card, .about-section-container, .product-list, .product-card {
        max-width: 100vw !important;
        box-sizing: border-box;
    }
}
