﻿/* Table of Contents

/*----- 0- Global CSS -----*/

:root {
    --main-color: #CD1818;
    --secondary-color: #000;
    --accent-color: #FF2626;
    --black: #000;
    --white: #fff;
    --light-grey: #E6E6E6;
    --grey: #666;
    --deep-gray: #555;
    --border-radius-1: 0.5rem;
    --border-radius-2: 1rem;
    --border: 0.1rem solid rgba(0, 0, 0, 0.1);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

* {
    font-family: 'Rubik', sans-serif;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    /*text-transform: capitalize;*/
    border: none;
    outline: none;
}

*:not(.portfolio-item) {
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

*::-moz-selection {
    color: var(--white);
    background-color: var(--main-color);
}

*::selection {
    color: var(--white);
    background-color: var(--main-color);
}

body {
    background: #f2f3f8;
    font-family: 'pingfang sc', 'Microsoft YaHei', '微软雅黑', Tahoma, 'Hiragino Sans GB', Arial, sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    width: calc(100% + 8px);
}

p {
    font-size: 1.3rem;
}

section {
    padding: 2rem 2%;
}

a {
    color: #528fcc;
    /* 将链接颜色设置为黑色，替换为你希望的颜色 */
    text-decoration: none;
    /* 移除下划线，如果需要 */
}

/*----- 自定义的 -----*/
#nowtime {
    font-max-size: 14px;
}

.inner-container {
    display: flex;
    flex-wrap: wrap;
    /* 允许换行 */
    justify-content: space-between;
    /* 子元素间的间距分布 */
    padding: 1rem;
    /* 添加内边距，按需调整 */
    font-size: 1.6rem;
    font-weight: bold;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    /* 根据实际需求调整 */
}

/*----- 用户登陆 开始-----*/
#user-menu {
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1003;
    width: 50px;
    right: 0;
    /* 与 user-avatar 右对齐 */
    top: 100%;
    /* 显示在 user-avatar 下方 */
}

#user-menu a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
}

#user-menu a:hover {
    background-color: #f1f1f1;
}


/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 20px;
    box-sizing: content-box;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 10px;
}

#qrFrame {
    min-height: 398px;
    margin-top: 10px;
}

.modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.modal .close:hover,
.modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.login-button {
    background-color: white;
    color: var(--main-color);
    padding: 3px 5px;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    outline: none;
}

.login-button:hover {
    background-color: #ffdddd;
}

.user-info img {
    width: 18px;
    height: 18px;
}

/*----- 用户登陆 结束 -----*/


/*----- 1- Heading CSS -----*/
.heading {
    padding-bottom: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.heading h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--deep-gray);
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1rem;
    line-height: 1;
}

.heading h2 span {
    color: var(--main-color);
}

.linear-bg .heading h2 {
    color: var(--white);
}

.zt-reason {
    flex: 1 1 80rem;
    background-color: #eeeeee;
    min-width: 320px;
}

.zt-group {
    background-color: white;
}

.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto
}

/*----- 2- Button CSS -----*/
.btn {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.5rem 3rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--main-color);
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: var(--border-radius-2);
    cursor: pointer;
}

.btn:hover {
    color: var(--white);
    background-color: var(--main-color);
}

.btn-index {
    color: var(--white);
    background-color: var(--main-color);
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.5rem 3rem;
    text-align: center;
    text-transform: uppercase;
    border: 0.2rem solid var(--main-color);
    border-radius: var(--border-radius-2);
    cursor: pointer;
}

.btn-index:hover {
    color: var(--main-color);
    background-color: var(--white);
}

/*----- 3- Logo Area CSS -----*/
.logo {
    z-index: 1001;
}

.logo img {
    height: 4rem;
    object-fit: cover;
}

.header-2 .link {
    font-size: 1.5rem;
    position: absolute;
    top: 8rem;
}

.header-2 .nowtime {
    padding-right: 2%;
    font-size: 1.5rem;
    position: absolute;
    top: 8rem;
    right: 0;
}


/*----- 5- Header Area CSS -----*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /*border-top: 2px solid #CD1818;*/
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.06);
}


.header .header-2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    height: 7rem;
    padding: 0 2%;
    background-color: #FFF;
}

.header.active {
    background-color: var(--white);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

.header #menu-btn {
    font-size: 2.5rem;
    color: var(--deep-gray);
    cursor: pointer;
    display: none;
    padding-right: 1.5rem;
}

.header #menu-btn:hover {
    color: var(--main-color);
}

.header .navbar {
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    gap: 2rem;
}

.mobile-menu {
    display: none;
}

.header .container {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2.5rem;
}

.header .dropdown-menu {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 1rem;
}

.header .navbar .nav-btn {
    position: relative;
    padding-right: 15px;
    /* 留出箭头空间 */
    display: inline-block;
    font-size: 1.7rem;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: none;
    gap: 0.5rem;
}

/* 用 CSS 边框绘制三角形 */
.nav-btn::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    /* 控制三角形宽度 */
    border-right: 6px solid transparent;
    /* 控制三角形宽度 */
    border-top: 8px solid #666;
    /* 控制三角形高度和颜色 */
    pointer-events: none;
}

/* 悬停时箭头变红 */
.nav-btn:hover::after {
    border-top-color: var(--main-color);
}

.header .navbar .nav-btn:hover {
    color: var(--main-color);
}

.nav-btn a {
    color: #333;
}

.nav-btn a:hover {
    color: var(--main-color);
}


.header .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 20rem;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    display: none;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 1000;
    overflow: hidden;
}

.header .dropdown-menu:hover button {
    color: var(--main-color);
}

.header .dropdown-menu:hover .dropdown-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-top: 0.2rem solid var(--main-color);
}

.header .dropdown-content a {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--deep-gray);
    padding: 1rem 1.5rem;
    cursor: pointer;
}

.header .dropdown-content a:hover {
    background-color: var(--main-color);
    color: var(--white)
}

.header .icon-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
}

.header .icon-container .icon {
    font-size: 2rem;
    color: var(--deep-gray);
    cursor: pointer;
}

.header .icon-container .icon:hover {
    color: var(--main-color);
}

.header .search-container {
    position: absolute;
    top: 100%;
    right: 2rem;
    z-index: 1001;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 2rem;
    background: var(--white);
    width: 40rem;
    padding: 1.5rem 2rem;
    border-radius: 50rem;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    opacity: 0;
    -webkit-transform: translateX(300%);
    transform: translateX(300%);
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
}

.header .search-container.active {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.header .search-container input {
    width: 100%;
    height: 100%;
    background: transparent;
    color: var(--black);
    font-size: 1.8rem;
    text-transform: none;
}

.header .search-container button {
    color: var(--secondary-color);
    background-color: transparent;
    font-size: 2rem;
    padding-right: 0.5rem;
    padding-left: 1rem;
}

.header .search-container button:hover {
    color: var(--main-color);
    cursor: pointer;
}


/*------------------------------ (08)-Contact (Start) ------------------------------*/
.contact {
    padding: 0 0;
}

/*-- Contact Information --*/
.contact-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 5%;
}

.contact .contact-info .info-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 25rem;
    flex: 1 1 25rem;
    text-align: center;
}

.contact .contact-info .info-item:last-child {
    border: none;
}

.contact .contact-info .info-item i {
    height: 8rem;
    width: 8rem;
    font-size: 3rem;
    line-height: 1.3;
    margin: 0 auto;
    margin-bottom: 1rem;
    outline: 0.2rem dashed var(--white);
    outline-offset: -0.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--white);
    background-color: var(--main-color);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    border-radius: 50%;
}

.contact .contact-info .info-item h3 {
    font-size: 3rem;
    font-weight: 500;
    color: var(--black);
    padding-bottom: 0.4rem;
}

.contact .contact-info .info-item p {
    font-size: 1.6rem;
    color: var(--grey);
    padding-bottom: 0.4rem;
}

.contact .contact-info .info-item p.gmail {
    text-transform: none;
}

.contact .box-container {
    /*background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url("../image/Contact.jpg");*/
    /*background:         linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url("../image/Contact.jpg");*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 3rem;
    overflow: hidden;
    padding: 4rem 5%;
}

.contact .heading {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
}

.contact .heading h2 {
    color: var(--white);
}

/*-- Contact Form --*/
.contact-container {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--white);
    -webkit-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s;
}

.contact-form .input-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
}

.contact-form .box {
    width: 100%;
    font-size: 1.6rem;
    color: var(--white);
    border: 0.15rem solid var(--white);
    border-radius: var(--border-radius-1);
    background-color: transparent;
    text-transform: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.contact-form .box:focus {
    border-color: var(--main-color);
}

.contact-form .box::-webkit-input-placeholder {
    text-transform: capitalize;
    color: var(--white);
}

.contact-form .box::-moz-placeholder {
    text-transform: capitalize;
    color: var(--white);
}

.contact-form .box:-ms-input-placeholder {
    text-transform: capitalize;
    color: var(--white);
}

.contact-form .box::placeholder {
    text-transform: capitalize;
    color: var(--white);
}

.contact-form textarea.box {
    height: 15rem;
    resize: none;
}

.contact-form .alert {
    font-size: 2rem;
    color: var(--accent-color);
    padding-left: 1rem;
}

/*-- Google Map --*/
.contact iframe {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
}

/*------------------------------ (06)-Contact (End) ------------------------------*/

/*----- 6- Footer Area CSS -----*/

.footer {
    padding: 0 2rem;
    background-color: var(--white);
}

.footer .content {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--white);
}

.footer .content p {
    font-size: 2rem;
    color: orangered;
}


/*----- 8- Form CSS -----*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    color: var(--black) !important;
    -webkit-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s;
}

.form .input-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form .box {
    width: 100%;
    background-color: transparent;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem 1.5rem;
    border: 0.15rem solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-1);
    text-transform: none;
}

.form .box::-webkit-input-placeholder {
    text-transform: capitalize;
}

.form .box::-moz-placeholder {
    text-transform: capitalize;
}

.form .box:-ms-input-placeholder {
    text-transform: capitalize;
}

.form .box::placeholder {
    text-transform: capitalize;
}

.form .box:focus {
    border-color: var(--main-color);
}

.form textarea {
    resize: none;
    height: 20rem;
}

.form .btn {
    width: 100%;
    overflow: hidden;
    margin-top: 1rem;
}

/*----- 02- Tab Informatin -----*/
.tab-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style-type: none;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-buttons .button {
    font-size: 1.3rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--grey);
    background-color: whitesmoke;
    text-transform: uppercase;
    text-align: center;
}

.tab-buttons .button:hover,
.tab-buttons .button.active {
    background-color: var(--main-color);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    color: white;
}

.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
    margin-top: 2rem;
}

/*----- 12- Sidebar Heading CSS -----*/
.sidebar-heading h2 {
    position: relative;
    font-size: 3rem;
    font-weight: 500;
    word-spacing: 1px;
    color: var(--secondary-color);
    letter-spacing: 0.1rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
}

.sidebar-heading h2:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 10rem;
    height: 2px;
    content: "";
    background-color: var(--main-color);
}

/*----- 13- Sidebar CSS -----*/

.sidebar {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 28rem;
    flex: 1 1 28rem;
}

.sidebar .sidebar-item {
    margin-bottom: 1.5rem;
    background-color: var(--white);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    padding: 1.5rem;
}

/*-- 1- Search --*/
.sidebar .search .input-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    border-radius: 5rem;
}

.sidebar .search .input-box input {
    width: 100%;
    padding: 1.5rem;
    overflow: hidden;
    border: 0.1rem solid rgba(0, 0, 0, 0.5);
    border-top-left-radius: 5rem;
    border-bottom-left-radius: 5rem;
}

.sidebar .search .input-box input:focus {
    border-color: var(--main-color);
}

.sidebar .search .input-box button {
    color: var(--white);
    background-color: var(--secondary-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.5rem 2rem;
    font-size: 1.8rem;
    cursor: pointer;
}

.sidebar .search .input-box button:hover {
    background-color: var(--main-color);
}

/*-- 2- Category --*/
.sidebar .category a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 0.15rem solid rgba(0, 0, 0, 0.1);
}

.sidebar .category a:last-child {
    margin-bottom: 0;
}

.sidebar .category a span {
    font-size: 1.7rem;
    color: var(--secondary-color);
    font-weight: 400;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
}

.sidebar .category a span i {
    font-size: 1.8rem;
    color: var(--main-color);
}

.sidebar .category a p {
    font-size: 1.5rem;
    color: var(--grey);
}

.sidebar .category a:hover span,
.sidebar .category a:hover p {
    color: var(--main-color);
}

/*-- 3- Post Items --*/
.sidebar .post-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sidebar .post-item:last-child {
    margin-bottom: 0;
}

.sidebar .post-item img {
    height: 8rem;
    width: 8rem;
    object-fit: cover;
    border-radius: var(--border-radius-2);
}

.sidebar .recent-posts .post-item img {
    width: 10rem;
}

.sidebar .post-item a {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.sidebar .recent-posts .post-item a {
    font-size: 1.8rem;
}

.sidebar .post-item a:hover {
    color: var(--main-color);
}

.sidebar .post-item .price {
    padding-top: 0.5rem;
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--main-color);
}

.sidebar .post-item .price span {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--grey);
    text-decoration: line-through;
    padding-left: 0.2rem;
}

/*-- 4- Tags --*/
.sidebar .tags .box-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.sidebar .tag-item {
    color: var(--white);
    background-color: var(--main-color);
    font-size: 1.7rem;
    padding: 0.8rem 2rem;
    border-radius: 50rem;
}

.sidebar .tag-item:hover {
    background-color: var(--secondary-color);
    cursor: pointer;
}


/*------------------------------ (00)- Global CSS (End) ------------------------------*/


/*------------------------------ (01)- Home (Start) ------------------------------*/


/*----- 2- Service Slider -----*/
.service-slider {
    overflow: hidden;
    padding: 0.5rem;
}

/*----- 3- Counter -----*/
.counting {
    width: 100%;
    padding: 4rem 5%;
    min-height: 15rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 3rem;
    /*background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url("../picture/Counter.jpg");*/
    /*background:         linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url("../picture/Counter.jpg");*/
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.counting .box {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 25rem;
    flex: 1 1 25rem;
    text-align: center;
}

.counting .box i {
    height: 9rem;
    width: 9rem;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    color: var(--white);
    background-color: var(--main-color);
    outline: 0.2rem dashed var(--white);
    outline-offset: -0.9rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 3.5rem;
}

.counting .box .count {
    color: #555;
    font-size: 4rem;
    font-weight: 500;
    padding-bottom: 0.5rem;
}

.counting .box h3 {
    font-size: 1.8rem;
    color: var(--black);
    font-weight: 400;
}

/*----- 6- Banner -----*/
.banner {
    width: 100%;
    padding: 5rem 2%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /*background: url("../image/Banner.jpg");*/
    background-position: left;
    background-size: cover;
}

.banner .content {
    width: 70rem;
}

.banner h2 {
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
    padding-bottom: 2rem;
}


/*----- 10- Blogs -----*/
.blog.main .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(33rem, 1fr)) [ auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(33rem, 1fr));
    gap: 1rem;
}

/*------------------------------ (01)-Home (End) ------------------------------*/


/*----- 3- Portfolio -----*/
.portfolio .tab-buttons {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.portfolio-item {
    width: calc(16.67% - 1rem);
    padding: 0.5rem;
}

.portfolio-content {
    height: 15rem;
    position: relative;
    overflow: hidden;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

.portfolio-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item .content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: center;
}

.portfolio-item .text {
    z-index: 1;
}

.portfolio-item .text p {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--white);
    text-transform: uppercase;
}

.portfolio-item .text h3 {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--white);
}

.portfolio-item .text h3:hover {
    color: var(--main-color);
}

.portfolio-item .btn-container {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.7rem;
    opacity: 0;
    -webkit-transform: translateX(2rem);
    transform: translateX(2rem);
}

.portfolio-item:hover .btn-container {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio-item a i {
    height: 4.5rem;
    width: 4.5rem;
    font-size: 1.8rem;
    color: var(--white);
    background-color: var(--main-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.portfolio-item a i:hover {
    background-color: var(--secondary-color);
}

/*----- 4- Portfolio Single -----*/


/*------------------------------ (05)-Event (Start) ------------------------------*/

/*----- 1- Events -----*/
.margin-left-right-10 {
    margin: 0 10%;
}

.margin-left-right-5 {
    margin: 0 5%;
}

.events .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(40rem, 1fr)) [ auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 0rem;
    margin-bottom: 6px;
}

.event-item {
    position: relative;
    margin-bottom: 6px;
}

.event-item .image {
    height: 30rem;
}

.event-item .zdt-echarts {
    height: 39rem;
}

.signal-echarts {
    height: 70rem;
}

.event-item .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.event-item .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 2rem;
}

.event-item .date {
    position: absolute;
    right: 5rem;
    top: 0;
    display: inline-block;
    font-size: 1.8rem;
    color: var(--white);
    background-color: var(--main-color);
    padding: 1.5rem;
    text-align: center;
    width: 8rem;
    opacity: 0.9;
}

.event-item .date span {
    font-size: 2.5rem;
    font-weight: 500;
}

.event-item .details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

.event-item h3 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.7rem;
}

.event-item h3 i {
    height: 2.5rem;
    width: 2.5rem;
    font-size: 1.2rem;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--accent-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.event-item h3 span {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--light-grey);
}

.event-item .main-heading {
    display: block;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    padding-bottom: 0.5rem;
}

.event-item .main-heading:hover {
    color: var(--main-color);
}

.event-item p {
    font-size: 1.3rem;
}

.event-item small {
    font-size: 1rem;
}

/*------------------------------ (05)-Event (End) ------------------------------*/


/*------------------------------ (06)-Blog (Start) ------------------------------*/

/*----- 1- Blog Grid -----*/
.blog.grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1rem;
}

.blog-container {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 75rem;
    flex: 1 1 75rem;

}

.blog-container.grid {
    flex: 1 1 10rem;
    background-color: white;
    padding-left: 0.5rem;
    min-width: 320px;
}

.blog-container.grid .blog-items {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(33rem, 1fr)) [ auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(33rem, 1fr));
    gap: 1rem;
}

.newsletter-form input {
    min-width: 30rem;
    height: 3.2rem;
    font-size: 1.3rem;
    background-color: whitesmoke;
    padding-left: 0.5rem;
    font-weight: 500;
}

.newsletter-form .btn {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    margin-top: 0.5rem
}

/*----- 8- Products -----*/
.home-shop .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(25rem, 1fr)) [ auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

/*----- 04- product-item -----*/
.product-item {
    overflow: hidden;
    align-items: center;
    /* 垂直居中 */
}

.product-item .options {
    position: absolute;
    bottom: 1.5rem;
    right: -100%;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
}

.product-item:hover .options {
    right: 1.5rem;
}

.product-item .options a {
    height: 4rem;
    width: 4rem;
    font-size: 1.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--white);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    background: var(--main-color);
    border-radius: 50%;
}

.product-item .options a:hover {
    background-color: var(--black);
}

.product-item .content {
    padding: 0 5px;
}

.product-item .rating i {
    font-size: 1.4rem;
    color: var(--main-color);
    padding-bottom: 0.5rem;
}

.product-item .rating img {
    width: 1.5rem;
}

.product-item h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--black);
    padding-bottom: 0.5rem;
}

.product-item h3:hover {
    color: var(--main-color);
}

.product-item p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--grey);
    padding-bottom: 1rem;
}

.product-item .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
}

.product-item .price span {
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: line-through;
    color: var(--black);
    padding-left: 0.2rem;
}

.home-shop h3 {
    font-size: 16px;
    line-height: 40px;
    margin-top: 5px;
}

.home-shop h3 span {
    border-left: 5px var(--main-color) solid;
    line-height: 25px;
    padding-left: 10px;
    font-weight: bold;
    color: #333;
}

.home-shop {
    width: 100%;
    background-color: #F6F6F6;
    line-height: 25px;
    padding: 0 10px 10px 10px;
    margin-top: 0;
    margin-bottom: 10px;
}


.home-shop .box-container {
    display: flex;
    /* 使用 Flexbox 布局 */
    flex-wrap: wrap;
    /* 允许子元素换行 */
}

.box-container .product-item {
    width: 24%;
    min-width: 200px;
    box-sizing: border-box;
    /* 确保宽度包括内边距和边框 */
    white-space: nowrap;
    /* 禁止换行 */
    overflow: hidden;
    /* 隐藏超出容器的内容 */
    text-overflow: ellipsis;
    /* 使用省略号表示被截取的内容 */
}

.home-shop .product-item:hover a {
    color: var(--main-color);
}

.home-shop .product-item span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #999;
    margin-right: 6px;
    margin-bottom: 4px;
}

.home-shop .product-item a {
    color: #555;
    font-size: 14px;
}

/*----- 1- Services -----*/
.services {
    padding: 0 2%;
}

.services .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(32rem, 1fr)) [ auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 1.5rem;
}

.service-item {
    position: relative;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    height: 18rem;
    background: linear-gradient(45deg, #0f0c29, #302b63);
    /* 背景渐变 */
}

/* 动态光效边框 */
.neon-dark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg,
            transparent,
            rgba(96, 123, 255, 0.4),
            rgba(255, 72, 207, 0.2),
            transparent);
    animation: rotateBorder 6s linear infinite;
}

.service-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.service-item .content img {
    height: 2.8rem;
    width: 2.8rem;
    ;
    object-fit: cover;
}

.service-item .content h3 {
    display: flex;
    align-items: center;
    /* 垂直居中 */
}

.align-center {
    display: inline-flex;
    align-items: center;
    /* 确保内部元素也垂直居中 */
}

.align-center img {
    margin-right: 8px;
    /* 根据需要调整图片和文本之间的间距 */
}

.service-item .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 2rem;
}

.service-item i {
    height: 7rem;
    width: 7rem;
    font-size: 3rem;
    color: var(--white);
    background-color: var(--main-color);
    border: 0.4rem solid var(--white);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.service-item h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    padding-bottom: 0.5rem;
}

/*.service-item h3:hover{*/
/*    color: var(--white);*/
/*}*/

.service-item p {
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 0rem;
}

/*----- 2- Service Single -----*/
.service-single .faq .accordion-container {
    padding-top: 0.5rem;
}

.service-single .sidebar .sidebar-item {
    margin-bottom: 0;
}

.service-item .btn {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 2rem;
    margin-top: 1rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--main-color);
    border: 0.2rem solid var(--main-color);
    border-radius: var(--border-radius-2);
    cursor: pointer;
}

.service-item .btn:hover {

    color: var(--main-color);
    background: transparent;
}

.service-item .btn-index {
    color: var(--white);
    background-color: var(--main-color);
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 2rem;
    text-align: center;
    text-transform: uppercase;
    border: 0.2rem solid var(--main-color);
    border-radius: var(--border-radius-2);
    cursor: pointer;
}

.service-item .btn-index:hover {
    color: var(--main-color);
    background-color: var(--white);
}