* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: "Source Han Serif", "Source Han Serif CN", "Noto Serif CJK SC", SimSun, serif;
    overflow-x: hidden;
    background-color: #4ab7a2;
    /* 隐藏滚动条但保持滚动功能 */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 隐藏 Chrome, Safari 和 Opera 的滚动条 */
body::-webkit-scrollbar {
    display: none;
}

.container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background: url('../images/common/bg.jpg') no-repeat center top;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10vw;
}

/* Top Bar */
.header-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vw 5vw;
    z-index: 100;
    background-color: #008573;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.icon-menu {
    width: 6vw;
    height: 4.5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.icon-menu span {
    display: block;
    width: 100%;
    height: 0.5vw;
    background-color: rgba(255, 255, 255, 0.9);
}

.icon-search {
    width: 6vw;
    height: 6vw;
    background: url('../images/common/search.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
}

/* Title */
.title {
    margin-top: 4vw;
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title img {
    width: 100%;
    height: auto;
}

/* Spacing for Hero Image area in bg.jpg */
.hero-spacer {
    height: 61vw; 
}

/* Text Box */
.content-box {
    width: 92vw;
    padding: 12vw 8vw 10vw 8vw;
    background: url('../images/index/txtbg.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0vw;
}

.content-text {
    font-size: 4vw;
    line-height: 1.7;
    color: #0c6b5e;
    text-align: justify;
    letter-spacing: 0.1vw;
    font-weight: 500;
}

/* Buttons Section */
.buttons-container {
    width: 90vw;
    margin-top: 10vw;
    display: flex;
    flex-direction: column;
    gap: 4vw;
}

.row-buttons {
    display: flex;
    justify-content: space-between;
    gap: 4vw;
}

.btn-small {
    flex: 1;
    height: 12vw;
    background: url('../images/index/1-2btnBg.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0c6b5e;
    font-size: 4.8vw;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.2vw;
}

.btn-large {
    width: 100%;
    height: 12vw;
    background: url('../images/common/1-1btnBg.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0c6b5e;
    font-size: 4.8vw;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5vw;
}

/* Search Bar */
.search-bar {
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: #2ea991;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: sticky;
    top: 14vw;
    z-index: 99;
}

.search-bar.show {
    height: 16vw;
    opacity: 1;
    padding: 0 20px 2vw 20px;
}
.search-bar form {
    width: 100%;
    display: flex;
    justify-content: center;
}
.search-input-wrapper {
    width: 100%;
    height: 11vw;
    background-color: #e8f5f1;
    border-radius: 5.5vw;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    position: relative;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 4vw;
    color: #0c6b5e;
}

.search-input-wrapper .icon-search-inner {
    width: 4.5vw;
    height: 4.5vw;
    border: 0.4vw solid #2ea991;
    border-radius: 50%;
    position: relative;
    margin-left: 2vw;
}

.search-input-wrapper .icon-search-inner::after {
    content: '';
    position: absolute;
    width: 1.5vw;
    height: 0.4vw;
    background-color: #2ea991;
    bottom: -0.3vw;
    right: -0.7vw;
    transform: rotate(45deg);
}

/* Sidebar Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -70vw;
    width: 70vw;
    height: 100%;
    background-color: #69c3ae;
    z-index: 101;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-top: 20vw;
}

.sidebar.show {
    left: 0;
}

.sidebar-item {
    padding: 5vw 8vw;
    color: #ffffff;
    font-size: 6vw;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    font-family: "Source Serif 4", "思源宋体", serif;
    letter-spacing: 0.5vw;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.close-btn {
    position: absolute;
    top: 4vw;
    right: 4vw;
    width: 8vw;
    height: 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.close-btn::before, .close-btn::after {
    content: '';
    position: absolute;
    width: 6vw;
    height: 0.5vw;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 1vw;
}

.close-btn::before {
    transform: rotate(45deg);
}

.close-btn::after {
    transform: rotate(-45deg);
}

.icon-menu {
    width: 6vw;
    height: 4.5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}