/**
* Template Name: Day
* Template URL: https://bootstrapmade.com/day-multipurpose-html-template-for-free/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #191919; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #cc1616; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: #cc1616; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #cc1616; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f6f6f6;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

/* 手机端语言图标点击修复 —— 针对你当前代码 */
@media (max-width: 768px) {
    .social-links .lang-toggle {
        position: relative !important;
        z-index: 99999 !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .social-links .lang-toggle i {
        pointer-events: none !important;
    }
}

.header {
    --background-color: #242424;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --contrast-color: #ffffff;
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 997;
    background-color: var(--background-color);
}

.header .topbar {
    background-color: var(--background-color);
    height: 40px;
    padding: 0;
    font-size: 14px;
    transition: all 0.5s;
}

/* 精确控制 header 里的邮箱模块水平 + 垂直居中 */
.header .topbar .contact-info {
    display: flex;
    align-items: center;   /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    width: 100%;           /* 占满容器宽度，让内容居中生效 */
}

.header .topbar .contact-info .bi-envelope {
    display: inline-flex;
    align-items: center;
    gap: 0; /* 图标和文字间距 */
}

/* 修复 Bootstrap 图标默认 baseline 对齐问题 */
.header .topbar .contact-info .bi-envelope::before {
    display: flex;
    align-items: center;
    line-height: 1;
}



.header .topbar .contact-info i {
    font-style: normal;
    color: var(--accent-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
    padding-left: 3px;
    color: var(--default-color);
}

@media (max-width: 575px) {

    .header .topbar .contact-info i a {

        font-size: 13px;
    }
}

.header .topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;

}


.header .topbar .contact-info i a:hover {
    color: var(--contrast-color);
    text-decoration: underline;

}

.header .topbar .social-links a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    line-height: 0;
    transition: 0.3s;
    margin-left: 20px;
}

.header .topbar .social-links a:hover {
    color: var(--accent-color);
}

.header .branding {
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    min-height: 50px;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 36px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading-color);
}

.sitename {
    text-transform: none !important; /* 强制不继承大写 */
}

/* ====================================== */
/*  ONLY MOBILE  /  PC NO CHANGES!!!  */
/* ====================================== */


/* 美化版语言切换按钮 */
.header .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.header .lang-toggle:hover {
    background: #ffffff;
    color: #0d6efd;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.header .lang-toggle i {
    font-size: 18px;
}

/* 只修复手机端图标点击，PC 不动 */
@media (max-width: 768px) {
    .lang-toggle i {
        position: relative;
        z-index: 99999 !important;
        pointer-events: none !important;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* 全局变量 */
:root {
    --main-color: #5a6c7d;
    --hover-color: #e8f1f8;
    --text-hover-color: #4a5b6b;
    --dropdown-bg: #ffffff;
    --dropdown-border: #f0f4f8;
    --portfolio-color: #9a6767;
    --active-color: #885555;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-dropdown: 0 4px 12px rgba(0, 0, 0, 0.06);
    --transition-base: all 0.25s ease-in-out;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

/* ================================ */
/* 桌面端导航（≥1200px 正常显示）*/
/* ================================ */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0 30px;
        box-shadow: var(--shadow-light);
        position: sticky;
        top: 0;
        z-index: 9999;
    }

    .navmenu > ul {
        list-style: none;
        display: flex;
        gap: 0;
        align-items: center;
        min-height: 70px;
        max-width: 1400px;
        margin: 0;
        padding: 0;
    }

    .navmenu > ul > li {
        position: relative;
        margin: 0 2px 0 100px;
        padding-left: 0;
    }

    .navmenu > ul > li > a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px 22px;
        text-decoration: none;
        color: var(--main-color);
        font-weight: 500;
        font-size: 15px;
        border-radius: 6px;
        transition: var(--transition-base);
        white-space: nowrap;
    }

    /* Portfolio 样式 */
    .navmenu > ul > li:nth-child(2) > a {
        color: var(--portfolio-color);
        font-weight: 600;
    }

    .navmenu > ul > li:nth-child(2):hover > a {
        color: var(--active-color);
    }

    /* 一级菜单 hover */
    .navmenu > ul > li:hover > a {
        background-color: var(--hover-color);
        color: var(--text-hover-color);
        transform: translateY(-1px);
    }

    .navmenu .active > a {
        background-color: var(--hover-color);
        color: var(--active-color);
        font-weight: 600;
    }

    /* Portfolio 二级下拉 */
    .navmenu > ul > li:nth-child(2) {
        position: relative;
    }

    .navmenu > ul > li:nth-child(2)::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
        z-index: 9998;
        pointer-events: auto;
    }

    .navmenu > ul > li:nth-child(2) > ul {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 600px;
        background-color: var(--dropdown-bg);
        border: 1px solid var(--dropdown-border);
        border-radius: 8px;
        box-shadow: var(--shadow-dropdown);
        visibility: hidden;
        opacity: 0;
        transform: translateY(5px);
        transition: visibility 0s 0.2s, opacity 0.3s ease, transform 0.3s ease;
        z-index: 9999;
        padding: 20px;
        gap: 30px;
        pointer-events: none;
    }

    .navmenu > ul > li:nth-child(2) > ul > li {
        flex: 1;
        padding: 0;
        position: relative;
    }

    /* 二级标题 */
    .navmenu > ul > li:nth-child(2) > ul > li.dropdown > a {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #333 !important;
        padding: 0 0 10px 0 !important;
        margin-bottom: 10px !important;
        border-bottom: 2px solid #9a6767 !important;
        background: transparent !important;
        border-radius: 0 !important;
        display: block !important;
        gap: 0 !important;
    }

    .navmenu > ul > li:nth-child(2) > ul > li.dropdown:hover > a {
        color: #9a6767 !important;
        border-bottom-color: #7a4747 !important;
        padding-left: 0 !important;
        background: transparent !important;
    }

    /* 三级菜单 */
    .navmenu > ul > li:nth-child(2) > ul > li > ul {
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        min-width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
    }

    .navmenu > ul > li:nth-child(2) > ul > li > ul > li {
        padding: 0;
        margin-bottom: 8px;
    }

    .navmenu > ul > li:nth-child(2) > ul > li > ul > li > a {
        font-size: 14px;
        font-weight: 400;
        color: var(--main-color);
        padding: 8px 0;
        border-radius: 0;
        display: block;
    }

    .navmenu > ul > li:nth-child(2) > ul > li > ul > li:hover > a {
        background: transparent;
        color: var(--accent-color);
        padding-left: 8px !important;
    }

    /* 显示下拉 */
    .navmenu > ul > li:nth-child(2):hover > ul,
    .navmenu > ul > li:nth-child(2) > ul:hover {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: visibility 0s, opacity 0.3s ease, transform 0.3s ease;
    }

    .navmenu > ul > li:nth-child(2):not(:hover) > ul {
        transition-delay: 0.2s;
    }

    /* 其他下拉 */
    .navmenu .dropdown ul {
        list-style: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 220px;
        background-color: var(--dropdown-bg);
        border: 1px solid var(--dropdown-border);
        border-radius: 8px;
        box-shadow: var(--shadow-dropdown);
        visibility: hidden;
        opacity: 0;
        transform: translateY(5px);
        transition: var(--transition-base);
        z-index: 9999;
        padding: 8px 0;
    }

    .navmenu .dropdown .dropdown ul:not(.navmenu > ul > li:nth-child(2) > ul > li > ul) {
        top: 0;
        left: 100%;
        margin-left: 4px;
    }

    .navmenu .dropdown ul li {
        position: relative;
        padding: 0 8px;
    }

    .navmenu .dropdown ul li a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        text-decoration: none;
        color: var(--main-color);
        font-size: 14px;
        border-radius: 6px;
        transition: var(--transition-base);
        white-space: nowrap;
    }

    .navmenu .dropdown ul li:hover > a {
        background-color: var(--hover-color);
        color: var(--text-hover-color);
        padding-left: 18px;
    }

    /* 桌面端隐藏汉堡按钮 */
    .mobile-nav-toggle {
        display: none !important;
    }
}

/* ================================ */
/* 移动端导航：点击Products → 完整显示父子孙类 */
/* ================================ */
@media (max-width: 1199px) {

    /* 汉堡按钮 */
    .mobile-nav-toggle {
        display: block !important;
        position: fixed;
        top: 23px;
        right: 50px;
        z-index: 99999;
        font-size: 50px;
        color: #fff;
        cursor: pointer;
    }

    /* 默认隐藏菜单 */
    .navmenu ul {
        display: none !important;
    }

    /* 打开汉堡后全屏菜单 */
    .mobile-nav-active .navmenu {
        position: fixed;
        inset: 0;
        background: #fff;
        z-index: 9998;
        overflow-y: auto;
    }

    .mobile-nav-active .navmenu > ul {
        display: block !important;
        padding: 70px 20px 20px;
    }

    /* 主菜单样式 */
    .navmenu li {
        margin-bottom: 10px;
        list-style: none;
    }

    .navmenu a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px !important;
        font-size: 16px !important;
        color: #5a6c7d !important;
        background: #f7f7f7 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
    }

    /* 让 Products 下拉菜单正常显示 */
    .navmenu > ul > li:nth-child(2) > ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px 0 10px 10px !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 二级标题（Cells/Equipment/Services） */
    .navmenu > ul > li:nth-child(2) > ul > li > a {
        font-weight: bold !important;
        border-bottom: 2px solid #9a6767 !important;
        padding-bottom: 8px !important;
        background: transparent !important;
    }

    /* 三级菜单（孙子类）强制显示 */
    .navmenu > ul > li:nth-child(2) > ul > li > ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px 0 0 10px !important;
    }

    /* 孙子类项目 */
    .navmenu > ul > li:nth-child(2) > ul > li > ul > li {
        margin-bottom: 8px;
    }

    .navmenu > ul > li:nth-child(2) > ul > li > ul > li a {
        background: transparent !important;
        padding: 6px 10px !important;
    }

    /* 下拉默认关闭，JS控制展开 */
    .navmenu .dropdown ul {
        display: none !important;
    }

    .navmenu .dropdown-active {
        display: block !important;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    border-top: 4px solid var(--accent-color);
    padding: 30px 20px;
}

.footer .footer-about .logo {
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-size: 36px;
    padding: 0;
    font-weight: 700;
}

.footer .footer-about p {
    font-size: 14px;
    text-align: center;
    font-family: var(--heading-font);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* 微信图标往上贴，对齐邮箱右边 */
.footer .social-links {
    margin-top: 0 !important;
    position: relative;
    top: -10px;
}

/* 微信图标缩小 + 往上微调 */
.footer .social-links a.wechat i.bi-weixin {
    position: relative;
    top: -3px; /* 保持往上贴 */
}

/* 控制微信悬停二维码大小 */
.footer .wechat-qrcode img {
    width: 180px; /* 改这里控制二维码大小 */
    height: auto; /* 自动保持比例 */
}


.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

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

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 6px 8px;
    position: relative;
    border-radius: 0;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    display: flex;
    background-color: var(--background-color);
    transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: var(--background-color);
    color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
    border: 0;
    font-size: 16px;
    padding: 0 20px;
    margin: -8px -9px -8px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

.page-title h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 14px;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
}

.section-title span {
    position: absolute;
    top: 4px;
    color: color-mix(in srgb, var(--heading-color), transparent 95%);
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
}

.section-title p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-title span {
        font-size: 38px;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 160px 0 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 30%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero p {
    margin: 10px 0 0 0;
    font-size: 24px;
    color: var(--heading-color);
}

.hero .btn-get-started {
    color: var(--default-color);
    font-weight: 400;
    font-size: 15px;
    display: inline-block;
    padding: 8px 30px;
    margin: 30px 0 0 0;
    transition: 0.5s;
    text-transform: uppercase;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .btn-get-started:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}

/*加的效果*/
/* 强光扫屏动画 1 */
.light-effect-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 4;
    animation: light1 8s infinite linear;
    pointer-events: none;
}

@keyframes light1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 强光扫屏动画 2（斜着扫） */
.light-effect-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    z-index: 4;
    animation: light2 12s infinite linear;
    pointer-events: none;
}

@keyframes light2 {
    0% {
        transform: translate(-100%, -100%);
    }
    100% {
        transform: translate(100%, 100%);
    }
}

/* 中心呼吸光晕 */
.light-effect-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(154, 103, 103, 0.3) 0%, transparent 70%);
    z-index: 3;
    transform: translate(-50%, -50%);
    animation: glow 6s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes glow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* ========================== */
/* 1. 科技光束 左右扫动 */
/* ========================== */
.light-beam-1 {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(154, 103, 103, 0.25),
    rgba(255, 255, 255, 0.15),
    rgba(154, 103, 103, 0.25),
    transparent
    );
    z-index: 3;
    animation: beam1 10s linear infinite;
    pointer-events: none;
}

@keyframes beam1 {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.light-beam-2 {
    position: absolute;
    top: 0;
    right: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg,
    transparent,
    rgba(154, 103, 103, 0.2),
    rgba(255, 255, 255, 0.1),
    rgba(154, 103, 103, 0.2),
    transparent
    );
    z-index: 3;
    animation: beam2 12s linear infinite;
    pointer-events: none;
}

@keyframes beam2 {
    0% {
        right: -150%;
    }
    100% {
        right: 150%;
    }
}

/* ========================== */
/* 2. 环形旋转辉光 */
/* ========================== */
.circle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    background: conic-gradient(
            transparent 0deg,
            rgba(154, 103, 103, 0.2) 45deg,
            transparent 90deg,
            transparent 100%
    );
    z-index: 2;
    transform: translate(-50%, -50%);
    animation: circleRotate 25s linear infinite;
    pointer-events: none;
}

@keyframes circleRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================== */
/* 3. 浮动星云光点 */
/* ========================== */
.floating-dots {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(154, 103, 103, 0.15) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    background-position: 0 0, 20px 20px;
    animation: floatMove 20s linear infinite;
}

@keyframes floatMove {
    0% {
        background-position: 0 0, 20px 20px;
    }
    100% {
        background-position: 40px 40px, 60px 60px;
    }
}

/* 紫色星云强光效 —— 必显示 */
.nebula-purple-light-1,
.nebula-purple-light-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    pointer-events: none;
}

.nebula-purple-light-1 {
    background: linear-gradient(90deg,
    transparent,
    rgba(180, 100, 255, 0.4),
    transparent
    );
    animation: purpleShine1 7s infinite linear;
}

.nebula-purple-light-2 {
    background: linear-gradient(135deg,
    transparent,
    rgba(130, 80, 255, 0.35),
    transparent
    );
    animation: purpleShine2 11s infinite linear;
}

@keyframes purpleShine1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes purpleShine2 {
    0% {
        transform: translate(-100%, -100%);
    }
    100% {
        transform: translate(100%, 100%);
    }
}

/*--------------------------------------------------------------
/* 全局变量（如果已有可忽略） */
:root {
    --heading-color: #212529; /* 标题主色 */
    --heading-color-rgb: 33, 37, 41; /* 标题主色RGB（配合透明度） */
    --accent-color: #0d6efd; /* 强调色（装饰线/图标） */
    --default-color: #6c757d; /* 正文色 */
    --surface-color: #f8f9fa; /* 背景色 */
    --contrast-color: #ffffff; /* 对比色（按钮文字） */
    --heading-font: "Poppins", sans-serif;
}

/* About Us 标题容器（核心：定位基准+整体下移） */
.section-title {
    position: relative; /* 子元素绝对定位的基准 */
    padding-top: 4rem; /* 整体往下移，远离上方内容（可调：3rem/5rem） */
    text-align: left; /* 左对齐（居中改center） */
    margin-bottom: 1.5rem; /* 和内容区的间距 */
}

/* 装饰性大标题（底层，做重影/背景） */
.about-big-title {
    position: absolute; /* 绝对定位，脱离文档流 */
    left: 0; /* 水平对齐（居中：50% + transform: translateX(-50%)） */
    top: 4rem; /* 和容器padding-top一致，精准对齐 */
    font-size: 4rem; /* 大标题字号（装饰用） */
    font-weight: 900;
    color: rgba(var(--heading-color-rgb), 0.1); /* 浅色调，不抢风头 */
    margin: 0; /* 清空外边距，避免错位 */
    z-index: 1; /* 放在小标题下方 */
    line-height: 1.2; /* 行高和小标题一致 */
}

/* 核心小标题（上层，清晰显示） */
.about-small-title {
    position: relative; /* 相对定位，盖在大标题上 */
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0; /* 清空外边距，避免错位 */
    z-index: 2; /* 层级高于大标题 */
    line-height: 1.2; /* 和大标题行高一致，保证重合 */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15); /* 重影效果 */
}

/* 内容区子标题（h3） */
.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 1rem; /* 和标题区的间距 */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 12px;
}

.about .content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* 内容区列表 */
.about .content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about .content ul li {
    padding: 12px 0 12px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: background-color 0.2s ease;
}

.about .content ul li:hover {
    background-color: color-mix(in srgb, var(--surface-color), transparent 10%);
    padding-left: 8px;
}

.about .content ul i {
    font-size: 1.25rem;
    margin-right: 10px;
    color: var(--accent-color);
    margin-top: 3px;
    transition: transform 0.3s ease;
}

.about .content ul li:hover i {
    transform: scale(1.1) rotate(5deg);
    color: color-mix(in srgb, var(--accent-color), black 10%);
}

/* 内容区斜体文本 */
.about .content p.fst-italic {
    font-size: 1.1rem;
    color: var(--default-color);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 12px 16px;
    background-color: color-mix(in srgb, var(--surface-color), transparent 20%);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.about .content p:last-child {
    margin-bottom: 0;
}

/* 阅读更多按钮 */
.about .content .read-more {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 12px 30px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}

.about .content .read-more::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.about .content .read-more:hover::after {
    width: 300px;
    height: 300px;
}

.about .content .read-more i {
    font-size: 18px;
    margin-left: 5px;
    line-height: 0;
    transition: 0.3s;
}

.about .content .read-more:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    padding-right: 25px;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about .content .read-more:hover i {
    margin-left: 10px;
    transform: translateX(2px);
}

/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Cards Section
--------------------------------------------------------------*/
.cards .card {
    background-color: var(--surface-color);
    color: var(--default-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 40px;
    margin: -1px;
    border-radius: 0;
    /* 新增：基础过渡+层级，为hover效果做准备 */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 卡片hover核心效果（高级不花哨） */
.cards .card:hover {
    transform: translateY(-8px); /* 轻微上浮，增强层次感 */
    border-color: color-mix(in srgb, var(--accent-color), transparent 80%); /* 边框微变色 */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); /* 柔和阴影，提升立体感 */
    background-color: color-mix(in srgb, var(--surface-color), white 5%); /* 背景轻微提亮 */
}

/* 新增：卡片hover渐变背景（低调装饰） */
.cards .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
    transparent 0%,
    color-mix(in srgb, var(--accent-color), transparent 5%) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cards .card:hover::before {
    opacity: 1;
}

.cards .card span {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: var(--accent-color);
    /* 数字美化+动效 */
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 数字底部装饰线 */
.cards .card span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    transition: width 0.3s ease;
}

/* hover时数字上浮+装饰线变长 */
.cards .card:hover span {
    transform: translateY(-3px);
    color: color-mix(in srgb, var(--accent-color), black 10%); /* 颜色微加深 */
}

.cards .card:hover span::after {
    width: 60px;
}

.cards .card h4 {
    color: color-mix(in srgb, var(--heading-color), transparent 20%);
    font-size: 24px;
    font-weight: 600;
    padding: 0;
    margin: 20px 0;
    /* 标题动效 */
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1.3; /* 优化行高，避免换行拥挤 */
}

.cards .card:hover h4 {
    color: var(--heading-color); /* hover时标题更清晰 */
    transform: translateY(-2px);
}

.cards .card p {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 15px;
    margin: 0;
    padding: 0;
    /* 文本优化 */
    line-height: 1.7; /* 提升行高，阅读更舒适 */
    transition: color 0.3s ease;
}

.cards .card:hover p {
    color: color-mix(in srgb, var(--default-color), transparent 20%); /* 文本更清晰 */
}

/* 响应式适配（小屏优化） */
@media (max-width: 768px) {
    .cards .card {
        padding: 30px 20px; /* 小屏减小内边距 */
    }

    .cards .card h4 {
        font-size: 20px; /* 小屏标题缩小 */
    }

    .cards .card:hover {
        transform: translateY(-4px); /* 小屏上浮幅度减小 */
    }
}

/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
    padding: 40px 0; /* 增大上下内边距，更透气 */
    background-color: var(--surface-color); /* 明确背景色，统一风格 */
}

.clients .swiper {
    padding: 20px 0; /* 优化轮播内边距 */
    position: relative;
}

/* 新增：轮播左右渐变遮罩（视觉更自然） */
.clients .swiper::before,
.clients .swiper::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 60px; /* 遮罩宽度 */
    z-index: 2;
    pointer-events: none; /* 不遮挡轮播交互 */
}

.clients .swiper::before {
    left: 0;
    background: linear-gradient(to right, var(--surface-color), transparent); /* 左侧遮罩 */
}

.clients .swiper::after {
    right: 0;
    background: linear-gradient(to left, var(--surface-color), transparent); /* 右侧遮罩 */
}

/* 小屏隐藏遮罩，避免遮挡LOGO */
@media (max-width: 768px) {
    .clients .swiper::before,
    .clients .swiper::after {
        display: none;
    }
}

.clients .swiper-wrapper {
    height: auto;
    align-items: center; /* 确保LOGO垂直居中 */
}

/* LOGO容器优化（避免缩放溢出） */
.clients .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0; /* 增大LOGO上下内边距 */
    opacity: 0.85; /* 初始轻微透明，hover变实 */
    transition: opacity 0.4s ease;
}

/* 鼠标悬浮轮播时暂停自动播放（提升体验） */
.clients .swiper:hover {
    --swiper-autoplay-disable-on-interaction: false;
}

.clients .swiper-slide img {
    transition: all 0.5s ease; /* 延长过渡，更丝滑 */
    max-height: 60px; /* 统一LOGO高度，更整齐 */
    filter: grayscale(80%); /* 初始灰度，hover恢复彩色（高级感） */
    opacity: 1;
}

/* LOGO hover核心效果 */
.clients .swiper-slide:hover img {
    transform: scale(1.15); /* 轻微放大，不夸张 */
    filter: grayscale(0); /* 恢复彩色，突出交互 */
    opacity: 1;
}

/* 同时提升当前slide的不透明度 */
.clients .swiper-slide:hover {
    opacity: 1;
}

/* 分页器美化（如果需要显示） */
.clients .swiper-pagination {
    margin-top: 20px; /* 分页器上间距 */
    position: relative;
}

.clients .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: color-mix(in srgb, var(--default-color), transparent 70%);
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.clients .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 4px;
    background-color: var(--accent-color);
}

/* 响应式适配（保持原有断点逻辑，优化细节） */
@media (max-width: 992px) {
    .clients .swiper-slide img {
        max-height: 50px; /* 中屏缩小LOGO */
    }
}

@media (max-width: 640px) {
    .clients .swiper-slide img {
        max-height: 40px; /* 小屏再缩小 */
    }

    .clients {
        padding: 30px 0; /* 小屏减小上下内边距 */
    }
}

@media (max-width: 480px) {
    .clients .swiper-slide img {
        max-height: 35px; /* 超小屏优化 */
    }
}

/*!*--------------------------------------------------------------
!*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*!
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.4s; !* 延长过渡，更丝滑 *!
  height: 100%;
  border-radius: 8px; !* 轻微圆角，更现代 *!
  position: relative;
  overflow: hidden; !* 隐藏hover背景渐变溢出 *!
}

!* 新增：hover背景渐变装饰（低调高级） *!
.services .service-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
  color-mix(in srgb, var(--accent-color), transparent 0%),
  color-mix(in srgb, var(--accent-color), transparent 100%)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

!* 图标容器升级：更立体+3D动效强化 *!
.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 6px; !* 优化圆角，更精致 *!
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px; !* 增大底部间距，更透气 *!
  transition: all 0.4s ease; !* 全属性过渡 *!
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(154, 103, 103, 0.1); !* 基础阴影，提升立体感 *!
  position: relative;
  z-index: 1;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.4s;
  transform: translateZ(2px); !* 3D偏移，更立体 *!
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 8px; !* 同步圆角 *!
  transition: all 0.4s ease-out 0s;
  transform: translateZ(-1px);
}

!* 标题优化：字间距+行高+层级 *!
.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 20px 0; !* 增大底部间距 *!
  font-size: 22px;
  letter-spacing: 0.3px; !* 轻微字间距，更高级 *!
  line-height: 1.3; !* 优化行高 *!
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

!* 文本优化：行高+字号+颜色层次 *!
.services .service-item p {
  line-height: 1.8; !* 提升行高，阅读更舒适 *!
  font-size: 14px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%); !* 文本更柔和 *!
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

!* Hover核心效果升级 *!
.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-8px); !* 轻微上浮，提升层次感 *!
  box-shadow: 0 12px 24px rgba(154, 103, 103, 0.15); !* hover加深阴影 *!
}
.services .service-item:hover::after {
  opacity: 1; !* 显示渐变背景 *!
}

.services .service-item:hover .icon {
  background: var(--surface-color);
  transform: translateY(-4px) rotateY(10deg); !* 3D旋转+上浮，科技感拉满 *!
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
  transform: translateZ(4px) scale(1.05); !* 3D偏移+轻微放大 *!
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
  transform: translateZ(-1px) scale(1.05); !* 同步缩放 *!
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}
!* hover时文本轻微上浮，增强动效 *!
.services .service-item:hover h3 {
  transform: translateY(-2px);
}
.services .service-item:hover p {
  transform: translateY(-1px);
}

!* 响应式适配 *!
@media (max-width: 768px) {
  .services .service-item {
    padding: 60px 15px; !* 小屏减小内边距 *!
  }
  .services .service-item:hover {
    transform: translateY(-4px); !* 小屏上浮幅度减小 *!
  }
  .services .service-item h3 {
    font-size: 20px; !* 小屏标题缩小 *!
  }
  .services .service-item p {
    font-size: 13px; !* 小屏文本缩小 *!
  }
}
*/
/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 140px 0; /* 增大上下内边距，更有视觉张力 */
    position: relative;
    clip-path: inset(0);
    overflow: hidden; /* 隐藏背景动效溢出 */
}

/* 背景图优化：添加渐入+缩放动效，避免固定背景突兀 */
.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.02); /* 轻微放大，增加层次感 */
    transition: transform 8s ease-in-out; /* 缓慢缩放，呼吸感 */
}

/* 鼠标悬浮时背景轻微缩放，增加互动 */
.call-to-action:hover img {
    transform: scale(1.05);
}

/* 遮罩层升级：渐变遮罩+更柔和的透明度 */
.call-to-action:before {
    content: "";
    background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--background-color), transparent 40%) 0%,
            color-mix(in srgb, var(--background-color), transparent 70%) 100%
    );
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* 新增：光效装饰层（提升科技感，不喧宾夺主） */
.call-to-action:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 70%
    );
    z-index: 2;
    transform: translate(-50%, -50%);
    animation: ctaGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.call-to-action .container {
    position: relative;
    z-index: 3;
    max-width: 800px; /* 限制内容宽度，更聚焦 */
}

/* 标题优化：更大字号+字间距+动效 */
.call-to-action h3 {
    font-size: 36px; /* 增大字号，更醒目 */
    font-weight: 700;
    color: var(--contrast-color); /* 用对比色，更突出 */
    margin-bottom: 20px; /* 增加标题和文本间距 */
    letter-spacing: 0.5px; /* 轻微字间距，更高级 */
    line-height: 1.3; /* 优化行高 */
    position: relative;
    display: inline-block;
}

/* 标题底部装饰线 */
.call-to-action h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: ctaLine 1s ease forwards;
}

/* 文本优化：行高+字号+透明度 */
.call-to-action p {
    color: color-mix(in srgb, var(--contrast-color), transparent 20%); /* 文本更柔和 */
    font-size: 16px;
    line-height: 1.8; /* 提升行高，阅读更舒适 */
    margin-bottom: 30px; /* 增加文本和按钮间距 */
    max-width: 700px; /* 限制文本宽度，提升阅读体验 */
    margin-left: auto;
    margin-right: auto;
}

/* 按钮全面升级：更立体+丝滑动效 */
.call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 14px 48px; /* 增大内边距，按钮更饱满 */
    border-radius: 8px; /* 优化圆角，更现代 */
    transition: all 0.5s ease; /* 全属性过渡，更丝滑 */
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
    background: transparent;
    position: relative;
    overflow: hidden; /* 为波纹效果做准备 */
    text-transform: uppercase; /* 大写，更有冲击力 */
}

/* 按钮hover核心效果 */
.call-to-action .cta-btn:hover {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    transform: translateY(-4px); /* 轻微上浮 */
    box-shadow: 0 10px 25px rgba(154, 103, 103, 0.2); /* 柔和阴影，提升立体感 */
    color: var(--contrast-color);
}

/* 按钮波纹动效（高级交互） */
.call-to-action .cta-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
}

.call-to-action .cta-btn:hover:before {
    width: 400px;
    height: 400px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .call-to-action {
        padding: 100px 0; /* 小屏减小内边距 */
    }

    .call-to-action h3 {
        font-size: 28px; /* 小屏标题缩小 */
    }

    .call-to-action p {
        font-size: 15px; /* 小屏文本缩小 */
        padding: 0 20px; /* 小屏增加左右内边距 */
    }

    .call-to-action .cta-btn {
        padding: 12px 36px; /* 小屏按钮缩小 */
    }
}

/* 核心动画关键帧 */
@keyframes ctaGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes ctaLine {
    0% {
        width: 0;
    }
    100% {
        width: 80px;
    }
}

/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 30px auto; /* 增大底部间距，更透气 */
    list-style: none;
    text-align: center;
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 24px 12px 24px; /* 优化内边距，按钮更饱满 */
    margin: 0 8px 8px 0; /* 增加左右间距，避免拥挤 */
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
    font-family: var(--heading-font);
    background-color: color-mix(in srgb, var(--surface-color), transparent 10%); /* 初始浅背景 */
    border: 1px solid transparent; /* 边框过渡准备 */
}

/* 筛选按钮hover/激活态优化 */
.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    transform: translateY(-2px); /* 轻微上浮，反馈更明显 */
    box-shadow: 0 6px 12px rgba(154, 103, 103, 0.15); /* 柔和阴影，提升质感 */
}

.portfolio .portfolio-filters li:first-child {
    margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
    margin-right: 0;
}

/* ==============================================
手机端 Portfolio 强制 3 张图并排（专治 Isotope）
============================================== */
@media (max-width: 768px) {
    .portfolio .isotope-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 0 10px !important;
        position: static !important;
        height: auto !important;
    }

    .portfolio .isotope-container > div {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .portfolio .portfolio-item {
        border-radius: 8px !important;
    }

    .portfolio .portfolio-item img {
        height: 100px !important;
    }
}


.pricing .pricing-item {
    background-color: var(--surface-color);
    padding: 60px 40px;
    box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

.pricing h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.pricing h4 {
    font-size: 48px;
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 400;
}

.pricing h4 sup {
    font-size: 28px;
}

.pricing h4 span {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    font-size: 18px;
}

.pricing ul {
    padding: 20px 0;
    list-style: none;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-align: left;
    line-height: 20px;
}

.pricing ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing ul i {
    color: #059652;
    font-size: 24px;
    padding-right: 3px;
}

.pricing ul .na {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
    text-decoration: line-through;
}

.pricing .buy-btn {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    background-color: var(--background-color);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
    transition: none;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--heading-font);
    transition: 0.3s;
}

.pricing .buy-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .featured {
    z-index: 10;
}

.pricing .featured .pricing-item {
    background: var(--accent-color);
}

@media (min-width: 992px) {
    .pricing .featured .pricing-item {
        transform: scale(1.02, 1.1);
    }
}

.pricing .featured h3,
.pricing .featured h4,
.pricing .featured h4 span,
.pricing .featured ul,
.pricing .featured ul .na,
.pricing .featured ul i,
.pricing .featured ul .na i {
    color: var(--contrast-color);
}

.pricing .featured .buy-btn {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--contrast-color);
}

.pricing .featured .buy-btn:hover {
    background: color-mix(in srgb, var(--background-color), transparent 92%);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
    margin-bottom: 20px;
}

.team .member img {
    border-radius: 50%;
    max-width: 60%;
    margin: 30px 0;
}

.team .member .member-content {
    padding: 0 20px 30px 20px;
}

.team .member h4 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 18px;
}

.team .member span {
    font-style: italic;
    display: block;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .member p {
    padding-top: 10px;
    font-size: 14px;
    font-style: italic;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .member .social {
    margin-top: 15px;
}

.team .member .social a {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    transition: 0.3s;
}

.team .member .social a:hover {
    color: var(--accent-color);
}

.team .member .social i {
    font-size: 18px;
    margin: 0 2px;
}

/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
    background-color: var(--surface-color);
    padding: 30px 20px; /* 增大内边距，更透气 */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05); /* 柔和阴影，更高级 */
    border-radius: 8px; /* 轻微圆角，统一风格 */
    transition: all 0.4s ease; /* 过渡效果，为hover做准备 */
    height: 100%; /* 保证所有信息项高度一致 */
}

/* 信息项hover效果 */
.contact .info-item:hover {
    transform: translateY(-6px); /* 轻微上浮 */
    box-shadow: 0px 8px 20px rgba(154, 103, 103, 0.1); /* hover加深阴影 */
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%); /* 边框微变色 */
}

.contact .info-item i {
    font-size: 24px; /* 图标放大，更醒目 */
    color: var(--accent-color);
    width: 64px; /* 增大图标容器 */
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
    border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
    background-color: color-mix(in srgb, var(--accent-color), transparent 5%); /* 图标背景色，更突出 */
    margin-bottom: 15px; /* 增加图标和标题间距 */
}

/* 图标hover动效 */
.contact .info-item:hover i {
    transform: rotate(10deg) scale(1.1); /* 轻微旋转+放大 */
    border-color: var(--accent-color); /* 边框变实色 */
    background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.contact .info-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 12px 0; /* 优化间距 */
    color: var(--heading-color); /* 明确标题色，增强对比 */
    letter-spacing: 0.3px; /* 轻微字间距 */
}

.contact .info-item p {
    padding: 0 10px; /* 左右内边距，避免文字贴边 */
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7; /* 提升行高，阅读更舒适 */
    color: color-mix(in srgb, var(--default-color), transparent 20%); /* 文本更清晰 */
}

.contact .php-email-form {
    background-color: var(--surface-color);
    height: 100%;
    padding: 40px; /* 增大内边距，更舒适 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 统一阴影风格 */
    border-radius: 8px; /* 圆角优化 */
}

.contact .php-email-form button[type=submit] {
    color: #1677ff ;
    border: 1px solid #1677ff; /* 你想要的边框颜色 */
    border-radius: 12px;


}

.sent-message, .error-message {
    animation: fadeOut 3.5s forwards !important;
}
@keyframes fadeOut {
    0% { opacity:1; }
    90% { opacity:1; }
    100% { opacity:0; visibility:hidden; }
}


/* ==============================================
✅ 手机 Contact 最终完美版（隐藏地图+3横排+紧凑表单+柔和按钮）
============================================== */
@media (max-width: 768px) {

    /* 隐藏地图模块 */
    .contact .col-lg-6:nth-child(4) {
        display: none !important;
    }

    /* 布局 */
    .contact .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* 顶部3个横排 */
    .contact .col-lg-6:first-child,
    .contact .col-lg-3 {
        flex: 1 !important;
        width: 32% !important;
        padding: 0 !important;
    }

    /* 小卡片样式 */
    .contact .info-item {
        padding: 14px 8px !important;
        background: #f7f7f7 !important;
        border-radius: 12px !important;
        text-align: center !important;
    }

    .contact .info-item img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 8px !important;
    }

    .contact .info-item h3 {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    .contact .info-item p {
        font-size: 11px !important;
    }

    /* 表单：缩小、紧凑 */
    .contact .col-lg-6:last-child {
        width: 100% !important;
        padding: 0 !important;
    }

    .contact .php-email-form {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .contact .php-email-form input {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .contact .php-email-form textarea {
        padding: 10px 12px !important;
        font-size: 13px !important;
        min-height: 80px !important;
    }

    /* -------- 按钮：柔和高级配色 -------- */
    .contact .php-email-form button[type=submit] {
        padding: 10px !important;
        font-size: 13px !important;
        background: #6b7280 !important; /* 高级灰蓝色（最百搭） */
        border: none !important;
        color: #fff !important;
        border-radius: 10px !important;
    }

    .contact .php-email-form button[type=submit]:hover {
        background: #6b7280 !important;
    }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.service-details .services-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.service-details .services-list a.active {
    color: var(--heading-color);
    font-weight: 700;
    border-color: var(--accent-color);
}

.service-details .services-list a:hover {
    border-color: var(--accent-color);
}

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.service-details ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.service-details ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
}

/* 微信二维码美化 - 小、精致、好看 */
.social-links .wechat {
    position: relative;
}

.wechat-qrcode {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    padding: 8px 8px 4px 8px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.wechat-qrcode img {
    width: 90px;
    height: 90px;
    display: block;
    border-radius: 4px;
}

.qrcode-text {
    display: block;
    font-size: 12px;
    color: #666;
    margin: 2px auto 0;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    position: relative;
    top: -1px; /* 负值表示向上移动，正值表示向下移动 */
}

.social-links .wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
}

}


/*新加的元素*/
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

/* 1. 首屏banner渐入+文字上浮效果 */
.hero-section {
    height: 80vh;
    background: linear-gradient(135deg, #fafbfc 0%, #e8f1f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0; /* 初始隐藏 */
    transform: translateY(20px); /* 初始下移 */
    animation: fadeUp 1s ease-in-out 0.3s forwards; /* 渐入动画 */
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    color: #4a5b6b;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.8s ease-in-out 0.6s forwards;
}

.hero-desc {
    font-size: 18px;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.8s ease-in-out 0.9s forwards;
}

.hero-btn {
    padding: 12px 30px;
    background-color: #9a6767;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.8s ease-in-out 1.2s forwards;
}

.hero-btn:hover {
    background-color: #885555;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(154, 103, 103, 0.2);
}

/* 背景装饰动点 */
.hero-bg-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(90, 108, 125, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-bg-dot:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.hero-bg-dot:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.hero-bg-dot:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 2s;
}

/* 2. 产品/服务卡片hover上浮+阴影效果 */
.cards-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #4a5b6b;
    margin-bottom: 50px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 40px;
    color: #9a6767;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    color: #4a5b6b;
    margin-bottom: 15px;
}

.card-desc {
    color: #5a6c7d;
    line-height: 1.6;
}

/* 3. 滚动时元素渐入效果（需要JS配合） */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 页脚样式 - 对齐优化版 */
footer {
    background-color: #1a1a1a; /* 匹配截图深色背景 */
    padding: 40px 20px;
    color: #fff;
    margin-top: 80px;
    width: 100%;
    box-sizing: border-box;
}

/* 页脚容器 - 确保内容居中对齐 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; /* 关键：所有子元素顶部对齐 */
    gap: 30px; /* 统一区块间距 */
}

/* 左侧品牌信息区 */
.footer-brand {
    flex: 0 0 280px; /* 固定宽度，避免挤压 */
    text-align: center;
}

.footer-brand h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-contact {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007bff;
}

/* 通用列样式 */
.footer-column {
    flex: 1;
    min-width: 180px; /* 最小宽度，避免过小 */
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    /* 确保所有标题顶部对齐 */
    margin-top: 0;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #007bff;
}

/* 订阅区样式 */
.newsletter-desc {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0056b3;
}

/* 版权信息 */
.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #999;
}

/* ==============================================
✅ Footer 完美对齐：标题 ↔ 内容 严格对齐
============================================== */
@media (max-width: 991px) {

    /* 隐藏订阅模块 */
    .footer-newsletter {
        display: none !important;
    }

    /* 3列横排 */
    .footer-top .row {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 12px !important;
    }

    /* --- 核心对齐：全部向左靠齐，无缩进 --- */
    .footer-about,
    .footer-links {
        padding-left: 0 !important;
    }

    .footer-links h4,
    .footer-about h4,
    .footer-about p {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    /* 列表去掉默认左边距 → 与标题严格对齐 */
    .footer-links ul {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .footer-links li {
        list-style: none !important;
        margin-left: 0 !important;
    }

    /* 统一文字大小，更美观 */
    .footer-top h4 {
        font-size: 14px !important;
    }

    .footer-top a,
    .footer-top p {
        font-size: 12px !important;
    }

    footer .social-links .wechat {
        position: relative !important;
        cursor: pointer !important;
    }

    .footer .wechat-qrcode {
        position: absolute !important;
        bottom: 130% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: #fff !important;
        padding: 10px !important;
        border-radius: 10px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
        z-index: 9999 !important;
        display: none !important;
        text-align: center !important;
        width: 150px !important;
    }

    .footer .wechat-qrcode.show {
        display: block !important;
    }

    .footer .wechat-qrcode img {
        width: 130px !important;
        height: 130px !important;
    }

    .footer .qrcode-text {
        font-size: 12px !important;
        color: #333 !important;
    }


}
