
#header {
    display: flex;
    align-items: center;
    padding: 10px 0;
    }

    #header #logo {
    height: 50px;
    width: auto;
    margin: 30px 10px 20px 30px;
    }

    #header h1 {
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    margin: 0 30px 20px 30px;
    transform: translateY(-15px) translateX(55px); 
    }

#nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    #nav > ul > li {
    position: relative;
    display: inline-block;
    margin-right: 8px;
    }

    #nav ul li a {
    display: block;
    padding: 0px 8px;
    text-decoration: none;
    color: #eee;
    font-weight: 400; /* 加粗文字 */
    }

    /* 子菜单隐藏 */
    #nav ul li ul {
    display: none;
    position: absolute;
    top:  calc(100% - 10px);
    left: 0;
    background: #333;
    padding: 2px 0;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-width: 160px;
    }

    /* 子菜单项 */
    #nav ul li ul li {
    display: block;
    }

    /* 子菜单链接 */
    #nav ul li ul li a {
    display: block;
    line-height: 1.6;
    padding: 5px 8px;
    color: rgba(168, 174, 168, 1);
    white-space: nowrap;
    }

    /* 子菜单链接 hover 效果 */
    #nav ul li ul li a:hover {
    background: #888;
    }

    /* 鼠标悬停主菜单，显示子菜单 */
    #nav ul li:hover ul {
    display: block;
    }

    html {
    scroll-behavior: smooth;
    }

    #one {
        background-color: #fff;
    }

    .big-bold-title {
    font-size: 2.0em;
    font-weight: 600; /* 900 是超粗黑体 */
    color: #334139; /* 字体颜色，可以调 */
    letter-spacing: 1px;
    margin-bottom: 20px;
    }


    .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    }

    .card {
    position: relative;
    background-color: #f0f0f0; /* Light grey background */
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
    justify-content: center; /* 垂直居中 */
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 50px; /* ← 这里增加 margin，让每个 card 之间有空隙 */
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 40%;
    max-width: 480px;
    max-height: 480px;
    max-height: 360px;
    padding: 40px 20px 40px 20px;
    position: relative;
    overflow: hidden;
    }


    .card i {
    font-size: 3em;
    color: #333;
    margin-bottom: 10px;
    }

    .card p {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px; /* 或更小 */
    }

    .card-icon {
    background-color: #86a894; /* 你要的绿色 */
    color: #fff;               /* 图标白色 */
    border-radius: 50%;
    /* padding: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    line-height: 1; /* 保证行高正常，不影响居中 */
    max-width: 100%;
    height: auto;
    margin-top: 10px; /*  */  
    margin-bottom: 10px; /* 图片和文字之间留点空隙 */
    }

    .card:hover .hover-text {
    display: block; /* Show text on hover */
    }

    .card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(143, 179, 156, 0.95);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* ← 改成左对齐 */
    text-align: left; /* ← 防止段落被居中 */

    }

    .card-hover p {
        font-size: 1.4em;
        line-height: 2.3; /* 或者 1.3 / 1.2 都行，看你眼缘 */
        margin: 0 0 10px 0;
        color: #fff; /* 确保段落文字是白色 */
        font-weight: normal;
        }

    .card:hover .card-hover {
    opacity: 1;
    }

    .what-we-do {
    width: 100%;
    background-color: #f0f5f0;
    padding: 60px 20px;
    margin-top: 80px;
    }

    .what-we-do .content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    }

    .what-we-do .image {
        flex: 0 0 50%;
        max-width: 50%;
    /* background-color: #2e8451; */
    }

    .what-we-do .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    /* background-color: transparent; 没有绿色底 */
    }

    .what-we-do .text {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    padding: 0 40px; /* 左右 padding 空隙 */
    }

    .what-we-do .content > .image {
    margin-right: 30px; /* 新增 */
    }

    .what-we-do .text h2 {
    margin-top: 0;
    font-size: 2em;
    padding: 0 30px; /* 左右 padding 空隙 */
    font-weight: 450;
    margin-bottom: 30px;
    } 

    .what-we-do .text p {
    font-size: 1.4em;
    line-height: 1.8;
    padding: 0 50px; /* 左右 padding 空隙 */
    margin-bottom: 40px;
    }

    .what-we-do .text .button {
    align-self: flex-start;  /* 默认左对齐 */
    margin-left: 22%;       /* 👉 推到右边 */
    display: inline-block;
    padding: 0px 32px;
    background-color: #3ba666;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    transform: translateX(-50%); /* 新增：居中偏右 */
    }

    .what-we-do .text .button:hover {
    background-color: #2e8451;
    transform: scale(1.05) translateX(-50%);;
    }

    @media screen and (max-width: 768px) {
    .what-we-do .content {
        flex-direction: column;
        gap: 30px;
    }
    .what-we-do .image, .what-we-do .text {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    /* 移动端按钮居中 */
    .what-we-do .text .button {
        margin-left: 0;
        transform: none;
    }
    }

    .our-products {
    width: 100%;
    background-color: #ffffff; /* 🆕 改为白色背景 */
    padding: 60px 20px;
    margin-top: 80px;
    margin-bottom: 80px;
    }

    .our-products .content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    }

    .our-products .image {
    flex: 0 0 40%;
    max-width: 40%;
    }

    .our-products .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    }

    .our-products .text {
    flex: 0 0 55%;
    max-width: 55%;
    box-sizing: border-box;
    padding: 0 20px;
    }

    /* 🆕 把 section header 内容也塞进 text block，用这些样式控制 */
    .our-products .text h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 400;
    color: #2c463e;
    }

    .our-products .text .intro {
    font-size: 1.3em;
    color: #2c463e;
    margin-bottom: 40px;
    }

    .our-products .text p {
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 40px;
    color: #2c463e;
    }

    .our-products .text .button {
    display: inline-block;
    padding: 0px 32px;
    background-color: #3ba666;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin-top: 30px; /* 🆕 调整这个数值控制往下偏移的距离 */
    }

    .our-products .text .button:hover {
    background-color: #2e8451;
    transform: scale(1.05);
    }

    @media screen and (max-width: 768px) {
    .our-products .content {
        flex-direction: column;
        gap: 30px;
    }
    .our-products .image,
    .our-products .text {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    }
    .site-footer {
    background: #d3dad5;
    color: #333;
    font-size: 1.0rem;
    padding: 2.5rem 1rem;
    }

    .site-footer h4 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    }

    .footer-section p {
    margin-bottom: 0.6cm; /* 默认每段底部的距离可以减少 */
    line-height: 1.7; /* 如果需要紧凑一点，可以减小行高 */
    }

    .footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    }

    .footer-section {
    flex: 1 1 220px;
    min-width:100px;
    max-width:160px;
    }

    .footer-section a {
    color: inherit;
    text-decoration: none;
    }

    .footer-section ul {
    list-style: none;
    padding: 0;
    line-height: 1.8;
    }

    .footer-section.social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;           /* 图标和文字之间的水平间距 */
    margin-bottom: 0rem; /* 每行之间的垂直间距 */
    text-decoration: none;
    color: inherit;
    font-size: 1.2rem;
    line-height: 1.0; /* 如果需要紧凑一点，可以减小行高 */
    }

    .footer-section.social a .icon {
    font-size: 1.2rem;
    }

    .footer-section.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    .footer-section.links li {
    margin-bottom: 0.8rem; /* 增加每行间距 */
    }

    .footer-section.newsletter form {
    margin-top: 0.5rem;
    }

    .footer-section.newsletter input[type="email"] {
    padding: 0.5rem 0.75rem; /* 缩小上下 padding，保持左右舒适 */
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    margin-bottom: 0.8rem; /* 增加每行间距 */
    }

    .footer-section.newsletter button {
    padding: 0.5rem 1rem; /* 增加上下 padding，让按钮变高一点 */
    font-size: 1rem;
    background-color: #3ba666;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;

    }

    .footer-bottom {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ccc;
    font-size: 1.0rem;
    color: #666;
    }

    .footer-bottom a {
    color: inherit;
    text-decoration: none;
    margin: 0 0.5rem;
    }

    .footer-section.logo {
    flex: 0 0 120px; /* 不拉伸、不收缩，固定宽度为120px */
    margin-right: 3rem; /* 调整这个值来加大距离 */
    }

    .footer-section.logo img {
    max-width: 120px; /* 限制最大宽度 */
    height: auto;     /* 高度自动按比例缩放 */
    }