.news-section {
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    max-width: 1200px;  /* 添加与其他页面一致的宽度限制 */
    width: 100%;
}

.news-item {
    margin-top: 2em;
    text-align: left;
    padding: 1.5em;
    border: 1px solid var(--medium-gray-border);
    border-radius: 8px;
    background-color: var(--primary-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;  /* 确保内容不会超出容器 */
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.solution-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.news-item-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5em;
}

.news-date {
    font-size: 0.9rem;
    color: var(--light-gray-text);
    margin-bottom: 1em;
    font-style: italic;
}

.news-item-paragraph {
    margin-bottom: 0.75em;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.news-item-paragraph:first-of-type {
    margin-top: 1em;
}

.news-learn-more {
    display: inline-block;
    margin-top: 1em;
    font-weight: bold;
    color: var(--primary-green);
}
.news-learn-more:hover {
    color: var(--link-hover-dark-green);
    text-decoration: underline;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei";
    font-size: 1rem;
    line-height: 1.65;
    color: var(--dark-gray-text);
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

:root {
    --primary-green: #78b808;
    --primary-black: #000000;
    --primary-white: #ffffff;
    --link-hover-dark-green: #5a8c20;
    --button-active-dark-green: #4a751a;

    --light-gray-bg: #f9f9f9;
    --medium-gray-border: #e0e0e0;
    --light-gray-border: #eeeeee;

    --dark-gray-text: #333333;
    --medium-gray-text: #555555;
    --light-gray-text: #777777;

    --placeholder-bg: #f0f0f0;
    --placeholder-text-color: #aaaaaa;
    --placeholder-border-color: #dddddd;

    --focus-ring-color: rgba(116, 176, 43, 0.25);
}

.section-intro {
    margin-bottom: 1.5rem;
}

main {
    position: relative;
    overflow: hidden;
    width: 100%;
}

header,
footer {
    width: 100%;
    max-width: 100%;
}

.main-join-us-bg {
    background-image: url('../assets/join.jpg');
    background-color: #333333;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 75vh;
}

.main-team-bg {
    background-image: url('../assets/team.jpg');
    background-color: #333333;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 75vh;
}

.main-contact-bg {
    background-image: url('../assets/contact.jpg');
    background-color: #333333;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 75vh;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

a:hover {
    color: var(--link-hover-dark-green);
    text-decoration: none; /* 修改这里以移除下划线 */
}

a:active {
    color: var(--button-active-dark-green);
}

button,
input[type="submit"],
input[type="reset"],
.cta-button {
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    font-family: inherit;
    font-size: 1em;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 5px;
}

button:active,
input[type="submit"]:active,
input[type="reset"]:active,
.cta-button:active {
    transform: translateY(1px);
}

button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
.cta-button:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px var(--focus-ring-color);
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--medium-gray-border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark-gray-text);
    background-color: var(--primary-white);
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring-color);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

::placeholder {
  color: var(--light-gray-text);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--light-gray-text);
}
::-ms-input-placeholder {
  color: var(--light-gray-text);
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-black);
    margin-top: 0;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.content-image-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.box {
    background-color: var(--light-gray-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.box-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.box h4 {
    font-size: 1.25rem;
    color: var(--primary-black);
}

.content-image-row .text-content,
.content-image-row .image-content {
    flex: 1;
    min-width: 300px;
}

.content-image-row.reverse {
    flex-direction: row-reverse;
}

.content-image-row .image-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header {
    background-color: #ffffff;
    color: #333;
    padding: 0 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}
.logo:hover .logo-text {
    color: var(--link-hover-dark-green);
}

.logo-icon-placeholder {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    vertical-align: middle;
    background-color: #ccc;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-black);
    transition: color 0.2s ease-in-out;
}

.main-nav {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav > li {
    position: relative;
    margin-left: 20px;
}

.main-nav > li > a {
    color: var(--primary-black);
    padding: 0.75rem 1rem 0.5rem 1rem;
    display: block;
    border-radius: 4px;
    transition: color 0.2s ease-in-out;
    position: relative;
}

.main-nav > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease-in-out;
}

.main-nav > li > a:hover,
.main-nav > li:hover > a {
    background-color: transparent;
    color: var(--primary-green);
}

.main-nav > li > a:hover::after,
.main-nav > li:hover > a::after {
    transform: scaleX(1);
}

.main-nav > li > a:active {
    background-color: transparent;
    color: var(--link-hover-dark-green);
}

.dropdown-menu {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-white);
    border-top: 3px solid var(--primary-green);
    padding: 0.5rem 0;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.2s ease-in-out,
                transform 0.2s ease-in-out,
                visibility 0s linear 0.2s;
    z-index: 1100;
}

.main-nav > li:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.dropdown-menu li a {
    color: var(--primary-black);
    padding: 0.6rem 1.25rem;
    display: block;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-green);
    color: var(--primary-black);
}
.dropdown-menu li a:active {
    background-color: var(--link-hover-dark-green);
    color: var(--primary-black);
}

.language-switcher a {
    color: var(--primary-black);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--primary-green);
    border-radius: 5px;
    font-size: 0.9rem;
}

.language-switcher a:hover {
    background-color: var(--primary-green);
    color: var(--primary-black);
}
.language-switcher a:active {
    background-color: var(--link-hover-dark-green);
    color: var(--primary-black);
    border-color: var(--link-hover-dark-green);
}

footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 50px 30px 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 35px;
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
}

.footer-content .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-right: 40px;
    margin-bottom: 15px;
}
.footer-content .logo:hover {
    color: var(--link-hover-dark-green);
}

.quick-links,
.contact-info {
    flex: 1;
    min-width: 220px;
}

.quick-links h4,
.contact-info h4 {
    color: var(--primary-green);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.quick-links ul {
    list-style: none;
    padding-left: 0;
}

.quick-links ul li {
    margin-bottom: 0.75rem;
}

.quick-links ul li a,
.contact-info p a {
    color: var(--primary-white);
}

.quick-links ul li a:hover,
.contact-info p a:hover {
    color: var(--primary-green);
}
.quick-links ul li a:active,
.contact-info p a:active {
    color: var(--link-hover-dark-green);
}

.contact-info p {
    margin-bottom: 0.75rem;
    line-height: 1.65;
}

.contact-info img {
    margin-top: 5px;
    border: 2px solid var(--primary-green);
    padding: 4px;
    background-color: var(--primary-white);
    border-radius: 3px;
    width: 100px;
    height: auto;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #444444;
    font-size: 0.9rem;
    color: var(--light-gray-text);
}

main {
    display: block;
}

main section {
    padding: 50px 30px;
    text-align: center;
}

main > section:nth-of-type(odd) {
    background-color: var(--primary-white);
}

.hero,
.about-snippet,
.page-header,
.map-section,
.contact-main-content
 {
    background-color: transparent;
}
.about-snippet { background-color: var(--primary-green); }
.map-section { background-color: var(--light-gray-bg); }

main section > h2 {
    font-size: 2rem;
    color: var(--primary-black);
    margin-bottom: 1.5em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5em;
}

main section > h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--primary-green);
    margin: 0.3em auto 0;
}

.hero {
    color: var(--primary-white);
    padding: 70px 30px;
    text-align: center;
    min-height: max-content;
    position: relative;
    overflow: hidden;
}

.hero-large {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5em;
    color: var(--primary-green);
    padding: 0;
}

.hero h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2em;
    font-weight: 400;
    color: var(--primary-white);
}
.hero h2::after {
    display: none;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2em;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-button {
    background-color: var(--primary-green);
    color: var(--primary-white);
    padding: 0.8em 1.5em;
    font-size: 1.05em;
    font-weight: 700;
    border-radius: 5px;
    margin: 0.5em 0.5em;
    display: inline-block;
    border: 2px solid var(--primary-green);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--link-hover-dark-green);
    border-color: var(--link-hover-dark-green);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cta-button:active {
    transform: translateY(0px);
    background-color: var(--button-active-dark-green);
    border-color: var(--button-active-dark-green);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-green);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cta-button.secondary:hover {
    background-color: var(--primary-green);
    color: var(--primary-black);
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cta-button.secondary:active {
    background-color: var(--link-hover-dark-green);
    border-color: var(--link-hover-dark-green);
    color: var(--primary-black);
    transform: translateY(0px);
}

/* Quick Start Button Styles */
.cta-button.quick-start {
    background-color: var(--primary-green);
    color: var(--primary-white);
    border: 2px solid var(--primary-green);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button.quick-start:hover {
    background-color: var(--link-hover-dark-green);
    border-color: var(--link-hover-dark-green);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button.quick-start:active {
    transform: translateY(0px);
    background-color: var(--button-active-dark-green);
    border-color: var(--button-active-dark-green);
}

.learn-more-link {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 0.5em;
}

.learn-more-link:hover {
    color: var(--link-hover-dark-green);
    text-decoration: underline;
}
.learn-more-link:active {
    color: var(--button-active-dark-green);
}

.about-snippet {
    color: var(--primary-white);
    padding: 60px 30px;
}

.about-snippet h2 {
    color: var(--primary-white);
}
.about-snippet h2::after {
    background-color: var(--primary-white);
}

.about-snippet p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 1.5em auto;
    color: var(--primary-white);
}

.about-snippet .learn-more-link {
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
    padding: 0.7em 1.2em;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
}

.about-snippet .learn-more-link:hover {
    background-color: var(--primary-white);
    color: var(--primary-green);
}
.about-snippet .learn-more-link:active {
    background-color: #e0e0e0;
    color: var(--primary-green);
    border-color: #e0e0e0;
}

.page-header {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-black);
    font-weight: bold;
    padding: 0;
    margin-bottom: 0;
}

.product-section {
    border-bottom: 1px solid var(--medium-gray-border);
}
.product-section:last-of-type {
    border-bottom: none;
}

.product-section h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1em;
    text-align: left;
}
.product-section h2::after {
    display: none;
}

.product-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--medium-gray-text);
    margin-bottom: 1.25em;
    text-align: center;
    max-width: 100%;
}

.product-section h3 {
    font-size: 1.3rem;
    color: var(--primary-black);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    text-align: left;
}

.product-section ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 15px;
    text-align: left;
    margin-bottom: 1.5em;
}

.product-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-gray-text);
    margin-bottom: 0.5em;
}

.product-image-placeholder {
    background-color: var(--placeholder-bg);
    color: var(--placeholder-text-color);
    text-align: center;
    padding: 4em 1em;
    border-radius: 5px;
    margin-top: 2em;
    font-style: italic;
    border: 1px dashed var(--placeholder-border-color);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-section {
    border-bottom: 1px solid var(--medium-gray-border);
}
.solution-section:last-of-type {
    border-bottom: none;
}

.solution-section h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.2em;
    text-align: left;
}
.solution-section h2::after { display: none; }

.solution-section h4 {
    font-size: 1.2rem;
    color: var(--primary-black);
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    text-align: left;
    font-weight: 700;
}

.solution-section p,
.solution-section ul {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--medium-gray-text);
    margin-bottom: 1em;
    text-align: left;
    max-width: 900px;
}

.solution-section ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 15px;
}

.solution-section ul li {
    margin-bottom: 0.5em;
    color: var(--dark-gray-text);
}

.solution-image-placeholder {
    background-color: var(--placeholder-bg);
    color: var(--placeholder-text-color);
    text-align: center;
    padding: 3em 1em;
    border-radius: 5px;
    margin-top: 1.5em;
    font-style: italic;
    font-size: 0.95rem;
    border: 1px dashed var(--placeholder-border-color);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-gray-text);
    padding: 2em 30px 0;
    margin-bottom: 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 2em 30px;
}

.contact-details,
.contact-form-section {
    flex: 1;
    min-width: 320px;
}

.contact-details h2,
.contact-details h2::after,
.contact-form-section h2::after,

.contact-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--medium-gray-text);
    margin-bottom: 0.8em;
}
.contact-details strong { color: var(--primary-black); font-weight: 600; }
.contact-details img  {
    width: 100%;
    max-width: 200px;
    margin: 1em 0;
    border-radius: 5px;
}

#contact-header h1 {
    color: var(--primary-white);
}

#join-us-v2-header h1 {
    color: var(--primary-white);
}

.contact-hero-background-class {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.contact-hero-text-box {
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-text-content {
    flex: 1;
}

.contact-hero-text-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1050;
    color: var(--primary-black);
}

.hamburger-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--primary-black);
    border-radius: 1px;
    transition: background-color 0.1s 0.15s ease-in-out;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-black);
    border-radius: 1px;
    transition: transform 0.2s ease-in-out, top 0.2s ease-in-out 0.15s, bottom 0.2s ease-in-out 0.15s;
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    bottom: -7px;
}

.mobile-nav-toggle.active .hamburger-icon {
    background-color: transparent;
    transition-delay: 0s;
}

.mobile-nav-toggle.active .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
    transition-delay: 0s, 0.15s;
}

.mobile-nav-toggle.active .hamburger-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
    transition-delay: 0s, 0.15s;
}

.text-content-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 2em;
}
.text-content-container p {
    text-align: left;
    margin-bottom: 1em;
    color: var(--dark-gray-text);
}

.team-company-intro {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-gray-text);
    max-width: 800px;
    margin: 0 auto 1.5em auto;
    padding-left: 15px;
    padding-right: 15px;
}
.about-section.text-content-container p {
    text-align: left;
    color: var(--dark-gray-text);
}

.team-members-section {
    padding: 40px 20px;
}

.team-subsection-title {
    font-size: 2rem;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5em;
}
.team-subsection-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--primary-green);
    margin: 0.3em auto 0;
}

.join-us-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button-custom {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
    min-width: 200px;
}
.cta-button-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}
.cta-button-custom:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06);
}

.join-us-cta-blue {
    background-color: #3b82f6;
    color: white;
}
.join-us-cta-blue:hover {
    background-color: #2563eb;
    color: white;
}

.join-us-cta-green {
    background-color: #10b981;
    color: white;
}
.join-us-cta-green:hover {
    background-color: #059669;
    color: white;
}

.contact-details {
    text-align: center;
}
.contact-info-large,
.contact-wechat-heading {
    word-wrap: break-word;
}
.wechat-qr-code-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 1em auto;
    object-fit: contain;
}

.not-found-section {
    text-align: center;
    padding: 50px 20px;
    min-height: calc(100vh - 70px - 210px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.not-found-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-black);
    margin-bottom: 0.5em;
}
.not-found-heading {
    font-size: 1.8rem;
    color: var(--medium-gray-text);
    margin-bottom: 0.75em;
}
.not-found-message {
    font-size: 1rem;
    color: var(--light-gray-text);
    margin-bottom: 2em;
    max-width: 500px;
}

.hero-cta-text {
    color: var(--primary-white);
    font-size: 1.05em;
    font-weight: 700;
    margin: 0.5em 0.5em;
    display: inline-block;
    padding: 0.8em 1.5em;
    text-align: center;
    border: 2px solid transparent;
}

.footer-product-sublink {
    margin-left: 20px;
}

#team-header h1 {
    color: var(--primary-white);
}

.team-hero-background-class {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.join-us-v2-hero-background-class {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.team-hero-text-box {
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.team-hero-text-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}
.footer-links-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 0.75rem;
}

.footer-column {
    flex: 1;
}

.footer-column h5 {
    color: var(--primary-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.4rem;
}

.footer-product-sublink {
    margin-left: 0 !important;
}

/* == Media Queries == */
/* IMPORTANT: All media queries should be grouped at the end of the file. */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    body {
        font-size: 0.95rem;
    }
    h1, .hero h1, .page-header h1 { font-size: 2.5rem; }
    h2, main section > h2 { font-size: 1.8rem; }
    h3, .service-item h3 { font-size: 1.3rem; }
    h4, .case-study-item h4 { font-size: 1.15rem; }

    .main-nav > li {
        margin-left: 15px;
    }
    .dropdown-menu {
        min-width: 200px;
    }

    .services-grid, .case-studies-grid {
        gap: 20px;
    }
    .service-item, .case-study-item {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
        font-size: 0.9rem;
    }
    header {
        padding: 0 15px;
    }
    nav {
        height: 60px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-black);
        box-shadow: 0 3px 5px rgba(0,0,0,0.2);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .main-nav--open {
        display: flex !important;
    }

    .main-nav > li {
        margin-left: 0;
        text-align: left;
        width: 100%;
    }
    .main-nav > li > a {
        padding: 1rem 1.5rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: var(--primary-white);
    }
    .main-nav > li > a:hover,
    .main-nav > li > a:active {
        background-color: rgba(255,255,255,0.1);
        color: var(--primary-green);
    }
    .main-nav > li:last-child > a {
        border-bottom: none;
    }

    .main-nav .dropdown-menu {
        position: static;
        width: 100%;
        border-top: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-radius: 0;
        background-color: rgba(0,0,0,0.2);
        padding-left: 0;
        transition: none;
    }
    .main-nav .dropdown-menu li a {
        padding: 0.8rem 1.5rem 0.8rem 2.5rem;
        font-size: 0.95em;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        color: var(--primary-white);
    }
    .main-nav .dropdown-menu li a:hover,
    .main-nav .dropdown-menu li a:active {
        background-color: rgba(255,255,255,0.15);
        color: var(--primary-green);
    }
    .main-nav .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    nav .language-switcher {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1060;
    }
    .main-nav--open .language-switcher {
        order: 10;
        padding: 1rem 1.5rem;
        text-align: left;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav--open .language-switcher a {
        display: block;
        color: var(--primary-white);
    }
    .main-nav--open .language-switcher a:hover {
        background-color: var(--primary-green);
        color: var(--primary-black);
    }
    .logo {
        margin-right: 5px;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    nav .language-switcher {
        right: 55px;
    }
    nav .language-switcher a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }


    h1, .hero h1, .page-header h1 { font-size: 2rem; }
    h2, main section > h2 { font-size: 1.6rem; }
    h3, .service-item h3 { font-size: 1.2rem; }
    h4, .case-study-item h4 { font-size: 1.1rem; }

    .hero p { font-size: 0.95rem; }

    .cta-button {
        padding: 0.7em 1em;
        font-size: 0.95em;
        width: calc(100% - 10px);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
     .hero .cta-button {
        display: inline-block; width: auto; max-width: none; margin-bottom: 10px;
    }


    main section { padding: 30px 20px; }
    .page-header { padding: 30px 20px; }

    .services-grid, .case-studies-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .service-item, .case-study-item {
        flex-basis: 100%;
        max-width: 400px;
    }
    .case-study-item::before {
        height: 180px;
        line-height: 180px;
    }

    .contact-info-large,
    .contact-wechat-heading {
        font-size: 1.5rem;
    }
    .not-found-title {
        font-size: 3rem;
    }
    .not-found-heading {
        font-size: 1.5rem;
    }
    .not-found-message {
        font-size: 0.95rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        font-size: 0.85rem;
    }
    h1, .hero h1, .page-header h1 { font-size: 1.8rem; }
    h2, main section > h2 { font-size: 1.4rem; }
    h3, .service-item h3 { font-size: 1.1rem; }
    h4, .case-study-item h4 { font-size: 1rem; }

    .hero { padding: 50px 15px; }
    .hero p { font-size: 0.9rem; }

    .cta-button { width: 100%; max-width: 280px; }
    main section { padding: 25px 15px; }
    .page-header { padding: 25px 15px; }

    .service-item, .case-study-item {
        max-width: 100%;
    }

    .contact-info-large,
    .contact-wechat-heading {
        font-size: 1.25rem;
    }
    .wechat-qr-code-large {
        width: 80px;
        height: 80px;
    }
    .not-found-title {
        font-size: 2.5rem;
    }
    .not-found-heading {
        font-size: 1.25rem;
    }
    .not-found-message {
        font-size: 0.9rem;
    }

    .footer-links-wrapper {
        /* flex-direction: column; /* Removed to keep items in a row */
        gap: 15px; /* Adjusted gap for side-by-side layout, was 10px, desktop is 20px */
    }
    .footer-column { /* Ensure columns can shrink if needed, but base them on 50% */
        flex-basis: calc(50% - 7.5px); /* (50% - half of gap) */
        flex-grow: 1; /* Allow growing if one column is shorter */
        min-width: 120px; /* Prevent columns from becoming too narrow */
    }

    .footer-column h5 {
        margin-bottom: 0.5rem;
    }
    .footer-column ul li {
        margin-bottom: 0.25rem;
    }
}

/* Responsive adjustments for join-us buttons (medium screens and up) */
@media (min-width: 640px) {
    .join-us-buttons-container {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

/* optimization.html diagram effects */

.tech-diagram-svg-container {
    display: none; /* Hidden by default */
    margin-top: 20px; /* Add some space if it becomes visible */
}

.tech-diagram {
    position: relative;
    height: 600px; /* Increased height */
    overflow: visible;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(120, 184, 8, 0.2), rgba(90, 140, 32, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(120, 184, 8, 0.3);
    box-shadow: 0 0 30px rgba(120, 184, 8, 0.1);
    z-index: 10;
}

.center-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #78b808;
    text-align: center;
    max-width: 120px;
    line-height: 1.4;
}

.tech-ring { /* This class seems unused for visible elements now, but kept for potential future use */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(120, 184, 8, 0.2);
}

.tech-item {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(120, 184, 8, 0.15);
}

.tech-item:hover {
    /* transform: scale(1.08) translateY(-5px); GSAP handles this now */
    box-shadow: 0 12px 30px rgba(90, 140, 32, 0.25);
    border-color: rgba(120, 184, 8, 0.4);
    background: white;
}

.tech-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
    padding: 0 5px;
}

.tech-category {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 700;
    /* color: #78b808; Default color, will be overridden by inline styles */
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 5;
}


.tech-details {
    position: absolute;
    bottom: -60px; /* Adjust if necessary based on item size */
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover .tech-details {
    opacity: 1;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* Can be adjusted if center element size changes */
    height: 200px;
    border-radius: 50%;
    background: rgba(120, 184, 8, 0.05);
    animation: pulse 3s infinite;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    70% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.ring-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(120, 184, 8, 0.1);
    animation: ring-pulse 6s infinite;
}

@keyframes ring-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@media (max-width: 767.98px) {
    .tech-diagram {
        height: 550px; /* Adjusted height for medium screens */
    }

    .tech-item {
        width: 100px;
        height: 100px;
    }

    .tech-icon {
        width: 36px;
        height: 36px;
    }

    .tech-name {
        font-size: 0.8rem;
    }

    .center-text {
        font-size: 1rem;
    }
    .tech-category {
        font-size: 1.1rem;
    }
}
 @media (max-width: 575.98px) {
     .tech-diagram {
        /* height: auto; Allow content to define height, or set a larger fixed height */
        /* padding-bottom: 30px; Ensure space for bottom categories */
        display: none !important; /* Hide original diagram on small screens */
     }
     .tech-diagram-svg-container {
        display: block; /* Show SVG container on small screens */
        margin-top: 0; /* Remove top margin */
        /* The parent div with gradient background has p-6 (1.5rem) padding.
           If the SVG should fill that box more, that padding needs to be reduced.
           This CSS cannot easily override Tailwind on a generic parent.
           We ensure the SVG image itself is well-behaved. */
     }
     .tech-diagram-svg-container img {
        display: block; /* Remove potential extra space below image */
        width: 100%;    /* Already inline, but good to ensure */
        height: auto;   /* Already inline */
        max-height: 70vh; /* Prevent SVG from becoming excessively tall */
     }
    .tech-category {
        font-size: 1rem;
        position: relative; /* Change to relative for stacking */
        display: block; /* Make them block to stack */
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
        transform: none !important; /* Reset transform */
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    .tech-item {
        position: relative; /* Change to relative for stacking */
        display: block; /* Make them block to stack */
        margin: 10px auto; /* Center them */
        top: auto !important; /* Reset positioning */
        left: auto !important;
        transform: none !important;
     }
     .diagram-center {
        position: relative;
        margin: 20px auto;
        top: auto; left: auto; transform: none;
     }
     .pulse, .ring-pulse { /* Hide complex animations or simplify */
        display: none;
     }
     .center-text {
        font-size: 0.9rem;
        max-width: 100px;
     }
     .diagram-center {
        width: 150px;
        height: 150px;
     }
 }

/* Styles for desktop/mobile diagram visibility */
.mobile-diagram {
    display: none;
}
.desktop-diagram {
    display: block; /* Or flex, grid, etc., depending on its original display type */
}

/* When screen width is 768px or less */
@media (max-width: 768px) {
    .desktop-diagram {
        display: none !important; /* Use !important to ensure override if needed */
    }
    .mobile-diagram {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 95%; /* Increase max-width slightly */
        /* Tailwind classes p-6 sm:p-8 are applied inline. Override padding for mobile. */
        /* padding: 0.75rem !important; /* Old padding, now split */
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        padding-top: 0.25rem !important;    /* Reduced vertical padding */
        padding-bottom: 0.25rem !important; /* Reduced vertical padding */
    }
    .mobile-diagram object { /* Target the object tag directly */
        display: block; /* Remove potential extra space below */
        width: 100%;
        height: auto; /* Ensure aspect ratio is maintained */
        max-height: 70vh; /* Prevent SVG from becoming excessively tall */
    }
    .tech-diagram { /* Hide the original animated diagram on small screens if it was still visible */
        display: none !important;
    }
}

/* If the original .w-full.max-w-5xl... container was flex, we might need this for desktop */
@media (min-width: 769px) {
    .desktop-diagram {
        /* display: flex; /* or whatever its original display was if not block */
    }
}

/* Dropdown Arrow for Mobile Nav */
.dropdown-arrow {
  display: none; /* 默认在桌面端隐藏箭头 */
}

@media (max-width: 767.98px) {
  /* 为包含下拉菜单的链接启用 flex 布局，以便放置箭头 */
  .main-nav > li > a.has-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* 在移动端显示并设置箭头样式 */
  .main-nav > li > a.has-dropdown .dropdown-arrow {
    display: inline-block;
    border: solid var(--primary-white); /* 箭头颜色，使用现有CSS变量 */
    border-width: 0 2px 2px 0; /* 仅显示右边和下边的边框 */
    padding: 3px;
    transform: rotate(45deg); /* 旋转45度形成向下箭头 */
    -webkit-transform: rotate(45deg);
    margin-left: 10px; /* 与文字的间距 */
  }
}