/* 全局样式 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px; /* 为固定header预留空间 */
}
/* 头部样式 */
.header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.contact-info {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.header-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    flex-shrink: 0;
}

.header-icon-circle i {
    font-size: 12px;
    color: #666;
}

.contact-info img {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-info span {
    margin-right: 10px;
    transition: color 0.3s ease;
}

.contact-info:hover img {
    opacity: 1;
}

.contact-info span:hover     {
    color: #e74c3c;
}



/* 语言选择器样式 */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* GTranslate语言选择器样式 */
.gt_container--hich1m .gt_switcher {
    background: #fff linear-gradient(180deg, #efefef 0%, #fff 70%);
    z-index: 9999 !important;
    margin-top: 14px;
}

.gt_container {
    font-size: 12px !important;
}

.gtranslate_wrapper {
    margin-right: 20px !important;
}

.gt_switcher {
    max-width: 130px !important;
    min-width: 110px !important;
    font-size: 12px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.gt_switcher .gt_selected {
    font-size: 11px !important;
    line-height: 1.3 !important;
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    /* padding: 6px 8px !important; */
}

.gt_switcher .gt_option {
    /* padding: 6px 8px !important; */
    font-size: 11px !important;
    line-height: 1.3 !important;
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

.gt_switcher .gt_option:hover {
    background: #f5f5f5 !important;
}

.gt_switcher .gt_list {
    background: #fff !important;
    border-top: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.language-dropdown.show {
    display: block;
}

.language-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.current-lang {
    margin-right: 5px;
    transition: color 0.3s ease;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 80px;
    padding: 5px 0;
}

.lang-option {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border-radius: 3px;
    margin: 2px 5px;
}

.lang-option:hover {
    background: #f0f0f0;
    color: #e74c3c;
}

.lang-option.active {
    background: #e74c3c;
    color: #fff;
}

.language-selector:hover .language-icon {
    opacity: 1;
}

.language-selector:hover .current-lang {
    color: #e74c3c;
}

/* 响应式设计 - 固定header在所有设备上的显示优化 */
@media (max-width: 768px) {
    body {
        padding-top:260px; /* 增加上边距，避免导航栏遮挡轮播图 */
    }

    .header-top {
        padding: 10px 0;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .contact-info {
        font-size: 11px;
        gap: 6px;
        order: 1; /* 联系信息放在logo下方 */
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        order: 0; /* logo放在最上方 */
    }

    .logo-image {
        height: 35px;
    }

    .header-bottom {
        padding: 15px 0;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .nav .nav-list {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav .nav-list li {
        font-size: 14px;
    }

    /* 隐藏搜索框在小屏幕上 */
    .form-inline {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 120px; /* 手机设备上进一步减小，但仍然足够避免遮挡 */
    }

    .header-top {
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
    }

    .contact-info {
        font-size: 10px;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
        order: 1; /* 联系信息放在logo下方 */
    }

    .logo {
        order: 0; /* logo放在最上方 */
    }

    .nav .nav-list {
        gap: 15px; /* 减小导航项间距 */
    }

    .nav .nav-list li {
        font-size: 13px; /* 调整字体大小 */
    }
}

.header-bottom {
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 15px 0;
    gap: 140px;
}

.nav .nav-list {
    display: flex;
    list-style: none;
    gap: 70px;
}

.nav-item {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 120px;
    max-width: fit-content;
    width: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 999;
    padding: 10px 0;
    white-space: nowrap;
}

.nav-item:hover .sub-menu {
    display: block;
}

/* PRODUCTS下拉菜单悬停显示 */
.nav-item:first-child:hover .side-menu {
    display: flex !important;
}

/* PRODUCTS下拉菜单特殊样式 */
.nav-item:first-child .side-menu {
    display: none; /* 默认隐藏 */
    min-width: 920px;
    background: transparent;
    box-shadow: none;
    padding: 20px;
    border-radius: 0;
    left: 0;
    transform: none;
    background: #f0f0f0;
    text-align: left;
    flex-direction: row;
}
.sub-left{
    width: 28%;
    border-right: 1px solid #e0e0e0;
}


.nav-item:first-child .side-menu a {
    text-align: left !important;
}

/* 移除PRODUCTS下拉菜单中链接的hover效果 */
.nav-item:first-child .side-menu a:hover {
    background: transparent !important;
    color: #222 !important;
    font-weight: normal !important;
}
.sub-menu .nav-imageitem{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}
.nav-imageitem img{
    width: 80px;
}
.sub-menu li {
    padding: 0 10px;
}
.sub-right-content{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.nav-image-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 右侧产品列表的样式 */
.nav-image-content a {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    gap: 10px ;
    text-decoration: none ;
    color: inherit ;
    max-width: 120px ;
}

.nav-image-content img {
    width: 120px ;
    display: block ;
}

.nav-image-content span {
    display: block ;
    text-align: center ;
    max-width: 120px ;
    overflow: visible ;
    white-space: normal ;
    word-wrap: break-word ;
    word-break: break-word ;
    font-size: 12px ;
    line-height: 1.2 ;
    margin-top: 20px;
}
/* 控制nav-imageitem中链接的样式 */
.nav-imageitem a {
    display: flex  !important;
    flex-direction: row ;
    align-items: center ;
    gap: 20px ;
    text-decoration: none ;
    color: inherit ;
    max-width: 200px ;
}
.nav-imageitem img {
    width: 80px ;
    display: block ;
    flex-shrink: 0 ;
}
.nav-imageitem span {
    display: block ;
    text-align: left ;
    max-width: 120px ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    white-space: nowrap ;
    font-size: 14px ;
    font-weight: bold ;
}
.sub-menu a {
    color: #222;
    font-size: 16px;
    display: block;
    padding: 8px 12px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 5px;
    white-space: nowrap;
}

.sub-menu a.active,
.sub-menu a:hover {
    color: #e74c3c;
    font-weight: bold;
    background: #f0f0f0;
}

.nav a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    position: relative;
    /* padding: 8px 16px; */
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: #e74c3c;
    /* background: #f0f0f0; */
}


.nav a.active {
    color: #333;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar input {
    padding: 6px 12px;
    border: 1px solid #666;
    border-radius: 5px;
    font-size: 14px;
    width: 200px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    height: 32px;
}

.search-bar input:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.2);
}

.search-bar i {
    color: #000;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.search-bar i:hover {
    color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 11px;
    }

    .contact-info img {
        width: 12px;
        height: 12px;
    }

    .language-icon {
        width: 12px;
        height: 12px;
    }

    .language-dropdown {
        min-width: 70px;
    }

    .lang-option {
        font-size: 11px;
        padding: 6px 12px;
    }

    .header-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        gap: 20px !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-bar input {
        width: 100%;
        max-width: 300px;
    }

    .logo-image {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        gap: 8px;
        font-size: 10px;
    }

    .contact-info img {
        width: 10px;
        height: 10px;
    }

    .language-icon {
        width: 10px;
        height: 10px;
    }

    .language-dropdown {
        min-width: 60px;
    }

    .lang-option {
        font-size: 10px;
        padding: 5px 10px;
    }

    .nav ul {
        gap: 15px;
    }

    .nav a {
        font-size: 14px;
    }

    .logo-image {
        height: 30px;
    }
}

/* 页脚样式 */
.footer {
    background: #FFF;
    padding: 50px 0 0 0;
    /* margin-top: auto; 由flex布局控制 */
    position: static; /* 取消sticky，防止遮挡内容 */
    bottom: 0;
    width: 100%;

}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding-bottom: 30px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #e74c3c;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.linkedin {
    background: #0077b5;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    max-width: 180px;
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.security-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 12px;
    color: #6c757d;
}

.security-icon {
    font-size: 14px;
}

.security-text {
    font-weight: 500;
}

/* 页脚响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-column {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        display: none;
    }

    .contact-column {
        grid-column: span 1;
    }

    .footer {
        padding: 30px 0 0 0;
    }
}

/* 轮播图样式 */
.carousel-section {
    height: 500px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主内容区域样式 */
index .main-content {
    min-height: 60vh;
    background: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
}

/* 内容卡片样式 */
.content-card {
    background: #fff;
    padding: 80px;
    display: flex;
    gap: 80px;
    align-items: center;
    height: 500px;
    width: 100%;
}

.card-text {
    flex: 3;
}

.card-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.card-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e74c3c;
    margin: 25px 0 15px 0;
}

.card-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.card-text ul {
    list-style: none;
    padding: 0;
}

.card-text ul li {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.card-image {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.therapy-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 图片上的span标签绝对定位到左下角 */


/* 响应式设计 */
@media (max-width: 768px) {
    .content-card {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .card-text h2 {
        font-size: 1.5rem;
    }

    .card-text h3 {
        font-size: 1.1rem;
    }
}

.side-menu {
    /* 竖向排列的二级菜单样式 */
    list-style: none;
    padding: 20px 0;
    margin: 0;
    background: #f7f8fa;
    border-radius: 10px;
    width: 80px;
    text-align: center;
}
.side-menu li {
    margin: 10px 0;
}
.side-menu a {
    display: block;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.side-menu a.active,
.side-menu a:hover {
    color: #e74c3c;
    font-weight: bold;
    background: #fff;
}
.search-icon{
    width: 20px;
    height: 20px;
}

.gt_switcher_wrapper{
    position:fixed !important;
    right: inherit !important;
}
.gt_switcher {
    /* margin-top: 0px !important; */

}