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

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

/* Header */
header {
    position: relative;
    background-image: url('/assets/themes/default/img/support/head-bg.png');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;/* 100% auto */
    min-height: 720px; /* 确保足够高度以显示波浪线及内容 */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tessera-shape {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -15px;
    line-height: 0;
    direction: ltr;
    height: 90px;
    z-index: 888;
    overflow: hidden;
}

.tessera-shape svg {
    height: 100%;
    width: 100%;
    vertical-align: bottom
}
.tessera-shape-fill3 {
    fill: #fff;
}

/* 响应式适配 */
@media (max-width: 768px) {
    header {
        background-size: cover; 
        min-height: 450px;
    }

    #wave path {
        /* d: path("M0,50 C100,100 200,0 300,50 S500,100 600,50 S800,0 900,50 S1000,100 1000,100 V0 H0 Z"); */
    }
}
/* header {
  background: url('support/head.png') no-repeat center;
  background-size: 100% auto;
  height: 800px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background-position: top center;
} */
/* header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('support/head.png') no-repeat center;
  background-size: contain;
  opacity: 0.5;
} */

.nav {
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 40px 0;
    background-color: #d6d3d3;
    opacity: 0.2;
    z-index: 1;
}
header .bottom {
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    border-bottom: 2px solid #fff;
    opacity: 0.6;
}
nav {
    z-index: 2;
    position: absolute;
    top: 20px;
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 20px;
}

nav .logo {
    position: absolute;
    top: 0;
    left: 20px;
}
nav .logo_word {
    display: inline-block;
    font-size: 1.5rem;
    gap: 10px;
    font-weight: bold;
    color: white;
}

nav .logo img {
    width: 100px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li {
    position: relative;
}

nav li:hover .arrow-icon {
    transform: rotate(180deg); /* 上下颠倒 */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul li a:hover {
    opacity: 0.8;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0B3D2C;
    list-style: none;
    padding: 10px 0;
}
nav ul li ul li a {
    color: white;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    font-size: 1.2rem;
}

nav ul li:hover ul {
    display: block;
}
.head-box {
    z-index: 100;
    width: 100%;
    max-width: 1300px;
}

header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.search-bar {
    display: flex;
    max-width: 900px;
    width: 80%;
    border-radius: 40px;
    overflow: hidden;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    background-color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

/* Main Content */
.container {
    padding: 100px 20px 120px;
    display: flex;
    justify-content: center;
}

.grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

.card {
    background: #e9f9f1;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    align-content: center;
}
.card a {
    color: #0B3D2C;
    text-decoration: none;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card .aaaa {
    height: 180px;
    flex-direction: column;
    justify-content: center;
    display: flex;
}
.card:hover {
    background-color: #F0FFF0;
}

.card img {
    width: 180px;
}

.card h3 {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #003d33;
    color: white;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer .footer-grid {
    display: grid;
    gap: 0.8vw;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 1200px;
    width: 100%;
    justify-items: center;
}
@media (max-width: 1200px) {
    footer .footer-grid {
        padding: 0 20px;
    }
}
@media (max-width: 880px) {
    footer .footer-grid {
        justify-items: start;
    }
}

footer .footer-brand {
    text-align: left;
}

footer h4 {
    position: relative;
    margin-bottom: 35px;
    font-size: 1.2rem;
    color: #F1D2A9;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: white;
}

footer ul {
    list-style: none;
}

footer ul li {
    /* display: flex;
    gap: 10px;
    align-items: center; */
    margin: 5px 0;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

footer .social-icons {
    display: flex;
    gap: 10px;
    margin: 10px 0 20px;
}

footer .social-icons img {
    width: 25px;
    height: 25px;
}

footer .app-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .app-links img {
    width: 100px;
    margin-bottom: 10px;
}

footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin-top: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

footer .copyright p {
    margin: 5px 0;
}

footer .copyright .links a {
    margin-left: 10px;
    text-decoration: none;
    color: white;
}

footer .copyright .links a::before {
    content: '|';
    margin-right: 10px;
    color: white;
}

footer .copyright .links a:first-child::before {
    content: '';
    margin-right: 0;
}

/* Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    footer .copyright {
        flex-direction: column;
        text-align: center;
    }

    footer .copyright .links {
        margin-top: 5px;
    }
}

html, body, #root {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}
.foot_dash{
    border-top-style: dashed;
    height: 1px;
    width: 100%;
    max-width: 1200px;
    opacity: 0.3;
    margin-top: 40px;
}
.arrow-icon {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease; /* 平滑动画效果 */
}
.footer-logo-desc {
    font-size: 14px;
    margin-top: 20px;
}
.footer-contactus {
    font-size: 16px;
    margin-top: 35px;
}
.contact-us {
    color:#729F28
}
.mt22 {
    margin-top: 22px;
}
/* 手机版 */

/* 汉堡菜单按钮 */
.hamburger {
    display: none; /* 默认隐藏，仅小屏幕显示 */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 99;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* 菜单弹出框 */
.sidebar {
    position: fixed;
    right: -300px; /* 初始隐藏 */
    top: 0;
    height: 100%;
    width: 250px;
    background: #003d33; /* 浅绿色背景 */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1000;
    color: #fff;
    font-size: 20px;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
    margin: 3px 0;
    font-size: 20px;
}

.sidebar.open {
    right: 0; /* 打开时滑入视图 */
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header .logo img {
    width: 150px;
}

.sidebar-header .close-btn {
    cursor: pointer;
}

/* 菜单列表 */
.menu {
    list-style: none;
    padding: 20px;
}
.menu li {
    padding: 3px 0;
}
/* .menu li {
  position: relative;
  margin: 3px 0;
}
.menu li::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 150px;
  height: 1px;
  background: white;
} */

.dropdown {
    position: relative;
}

.menu-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.arrow-icon {
    transition: transform 0.3s ease;
    pointer-events: none; /* 禁止直接点击箭头 */
}

.menu .dropdown .submenu {
    display: none; /* 默认隐藏子菜单 */
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.menu .dropdown.open .submenu {
    display: block; /* 打开子菜单 */
}

.menu .dropdown.open .arrow-icon {
    transform: rotate(180deg); /* 箭头向上 */
}

/* 背景遮罩 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 半透明背景 */
    display: none;
    z-index: 999;
}

.overlay.show {
    display: block; /* 背景遮罩显示 */
}

/* 响应式 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav_list {
        display: none;
    }

    .menu-list {
        display: none; /* 隐藏导航菜单 */
    }
    header nav {
        justify-content: flex-end;
    }
}