@charset "utf-8";
/* ==========================================================================
   Advanced Dynamic Effects CSS
   Enhances the website with modern animations and interactions
   WITHOUT changing any colors, text, or image content
   ========================================================================== */

/* ==========================================================================
   2. Scroll Progress Bar - top of page
   ========================================================================== */
.ae-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #1F4A8B 0%, #2A5FA8 50%, #1F4A8B 100%);
    z-index: 999999;
    transition: width 0.1s linear;
    box-shadow: 0 0 4px rgba(31, 74, 139, 0.5);
}

/* ==========================================================================
   3. Scroll-Reveal Animations (triggered by JS IntersectionObserver)
   Elements with .ae-reveal get animated in when scrolled into view
   ========================================================================== */
.ae-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.ae-reveal.ae-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for child items */
.ae-reveal[data-ae-delay="1"] { transition-delay: 0.1s; }
.ae-reveal[data-ae-delay="2"] { transition-delay: 0.2s; }
.ae-reveal[data-ae-delay="3"] { transition-delay: 0.3s; }
.ae-reveal[data-ae-delay="4"] { transition-delay: 0.4s; }
.ae-reveal[data-ae-delay="5"] { transition-delay: 0.5s; }
.ae-reveal[data-ae-delay="6"] { transition-delay: 0.6s; }

/* Left slide-in variant */
.ae-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.ae-reveal-left.ae-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Right slide-in variant */
.ae-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.ae-reveal-right.ae-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale-in variant */
.ae-reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ae-reveal-scale.ae-visible {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   4. Navigation Enhancement (PC)
   ========================================================================== */
@media only screen and (min-width: 768px) {

    /* Nav bar sticky shadow on scroll */
    #top.ae-scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: box-shadow 0.4s ease;
    }

    /* Nav menu items: animated underline */
    .nav > ul > li > a,
    .nav > ul > li > span > a {
        position: relative;
        transition: color 0.3s ease, background 0.3s ease, line-height 0.3s ease;
    }

    .nav > ul > li > a::after,
    .nav > ul > li > span > a::after {
        content: "";
        position: absolute;
        bottom: 20px;
        left: 50%;
        width: 0;
        height: 2px;
        background: #1F4A8B;
        transform: translateX(-50%);
        transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav > ul > li:hover > a::after,
    .nav > ul > li:hover > span > a::after {
        width: 40%;
    }

    /* Dropdown menu: enhanced slide + fade */
    .nav > ul > li > ul {
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease !important;
    }

    /* Dropdown items: staggered fade-in */
    .nav > ul > li:hover > ul > li {
        animation: aeNavDropdownItem 0.4s ease forwards;
        opacity: 0;
    }
    .nav > ul > li:hover > ul > li:nth-child(1) { animation-delay: 0.05s; }
    .nav > ul > li:hover > ul > li:nth-child(2) { animation-delay: 0.10s; }
    .nav > ul > li:hover > ul > li:nth-child(3) { animation-delay: 0.15s; }
    .nav > ul > li:hover > ul > li:nth-child(4) { animation-delay: 0.20s; }
    .nav > ul > li:hover > ul > li:nth-child(5) { animation-delay: 0.25s; }
    .nav > ul > li:hover > ul > li:nth-child(6) { animation-delay: 0.30s; }
    .nav > ul > li:hover > ul > li:nth-child(7) { animation-delay: 0.35s; }

    @keyframes aeNavDropdownItem {
        from {
            opacity: 0;
            transform: translateX(-15px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Dropdown link hover: smooth background slide */
    .nav > ul > li > ul > li > a {
        transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
    }
}

/* ==========================================================================
   5. Banner Enhancement
   ========================================================================== */

/* Banner text: enhanced entrance */
.slider-text {
    animation: aeBannerTextIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes aeBannerTextIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Banner link button: shimmer effect */
@media only screen and (min-width: 768px) {
    .banner-link-button {
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .banner-link-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
        transition: left 0.6s ease;
    }

    .banner-link-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(31, 74, 139, 0.3);
    }

    .banner-link-button:hover::before {
        left: 100%;
    }
}

/* Banner points: pulse animation */
.banner-point li {
    transition: all 0.3s ease;
    cursor: pointer;
}

.banner-point li.active {
    animation: aePointPulse 2s ease-in-out infinite;
}

@keyframes aePointPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ==========================================================================
   6. Section Title Enhancement
   ========================================================================== */

/* Pro_biaoti title: gradient underline grows on reveal */
.pro_biaoti b {
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Section title text: letter spacing on reveal */
.pro_biaoti span {
    transition: letter-spacing 0.8s ease;
}

.pro_biaoti.ae-visible span {
    letter-spacing: 4px;
}

/* ==========================================================================
   7. Product Cards Enhancement (PC + Mobile)
   ========================================================================== */

/* Flex items: 3D tilt + glow */
.flex_item {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.4s ease !important;
    transform-style: preserve-3d;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    .flex_item:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 12px 30px rgba(31, 74, 139, 0.15) !important;
    }

    .flex_item:hover img {
        filter: brightness(1.05);
    }
}

/* Flex item image: smooth zoom with overlay */
.flex_item img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    .flex_item:hover img {
        transform: scale(1.08);
    }
}

/* Flex item button: gradient + hover lift */
.flex_item span a {
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.flex_item span a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.5s ease;
}

.flex_item span a:hover::after {
    left: 100%;
}

/* ==========================================================================
   8. Product List Items (#detail) Enhancement
   ========================================================================== */

ul#detail li {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease !important;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    ul#detail li:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 10px 25px rgba(31, 74, 139, 0.12) !important;
    }

    ul#detail li:hover img {
        transform: scale(1.06) !important;
    }
}

ul#detail li img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Image overlay with zoom icon feel */
ul#detail li {
    overflow: hidden;
    position: relative;
}

ul#detail li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(31, 74, 139, 0) 0%,
        rgba(31, 74, 139, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

@media only screen and (min-width: 768px) {
    ul#detail li:hover::before {
        opacity: 1;
    }
}

/* ==========================================================================
   9. Five Product Items Enhancement
   ========================================================================== */

ul#five_pro li {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease !important;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    ul#five_pro li:hover {
        transform: scale(1.15) !important;
    }

    ul#five_pro li:hover img {
        filter: drop-shadow(0 8px 16px rgba(31, 74, 139, 0.2));
    }
}

ul#five_pro li img {
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* ==========================================================================
   10. Advantage Box Enhancement
   ========================================================================== */

ul#adv_box li {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.4s ease,
                box-shadow 0.4s ease !important;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    ul#adv_box li:hover {
        transform: scale(1.05) translateY(-4px) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
    }

    /* Advantage box left image: parallax shift */
    .adv_box_leftpic {
        overflow: hidden;
    }

    .adv_box_leftpic img {
        transition: transform 0.5s ease;
    }

    ul#adv_box li:hover .adv_box_leftpic img {
        transform: scale(1.1);
    }
}

/* ==========================================================================
   11. News Cards Enhancement
   ========================================================================== */

.l_news, .top_news, .bottom_news {
    position: relative;
    overflow: hidden;
}

/* Image zoom on hover */
.l_news img,
.top_news img,
.bottom_news img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@media only screen and (min-width: 768px) {
    .l_news:hover img,
    .top_news:hover img,
    .bottom_news:hover img {
        transform: scale(1.1) !important;
    }
}

/* News title bar: slide up on hover */
.l_news_biaot,
.r_news_biaot {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.4s ease !important;
}

@media only screen and (min-width: 768px) {
    .l_news:hover .l_news_biaot,
    .top_news:hover .r_news_biaot,
    .bottom_news:hover .r_news_biaot {
        transform: translateY(-4px);
    }
}

/* ==========================================================================
   12. Index Three Items (mianthree) Enhancement
   ========================================================================== */

#mianthree ul li {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease,
                border-color 0.35s ease !important;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    #mianthree ul li:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Three items images: circular zoom */
.about .tpleft img,
.pro .tpcenter img,
.case .tpright img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s ease !important;
}

@media only screen and (min-width: 768px) {
    .about .tpleft:hover img,
    .pro .tpcenter:hover img,
    .case .tpright:hover img {
        transform: scale(1.15) !important;
        opacity: 0.85 !important;
    }
}

/* ==========================================================================
   13. Stats Numbers (tubiao) Enhancement
   ========================================================================== */

ul#tubiao li img {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform;
}

ul#tubiao li:hover img {
    transform: rotate(360deg) !important;
}

/* Stats numbers: count-up animation */
ul#tubiao li span {
    transition: transform 0.4s ease;
    display: block;
}

ul#tubiao li:hover span {
    transform: scale(1.1);
}

/* ==========================================================================
   14. Product Container Items Enhancement
   ========================================================================== */

ul#pro_container li {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.4s ease,
                box-shadow 0.4s ease !important;
    will-change: transform;
}

@media only screen and (min-width: 768px) {
    ul#pro_container li:hover {
        transform: translateY(-6px) scale(1.02) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    }
}

ul#pro_container li img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ==========================================================================
   15. Footer Enhancement
   ========================================================================== */

/* Footer link hover: smooth slide */
ul#footnav li a {
    transition: color 0.3s ease, padding-left 0.3s ease, text-decoration 0.3s ease;
    position: relative;
    padding-left: 0;
}

ul#footnav li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #1F4A8B;
    transition: width 0.3s ease;
}

@media only screen and (min-width: 768px) {
    ul#footnav li a:hover {
        padding-left: 12px;
        text-decoration: none;
    }

    ul#footnav li a:hover::before {
        width: 8px;
    }
}

/* Footer h2: bottom border grow */
ul#footnav li h2 {
    position: relative;
    transition: color 0.3s ease;
}

ul#footnav li h2::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1F4A8B;
    transition: width 0.4s ease;
}

@media only screen and (min-width: 768px) {
    ul#footnav li:hover h2::after {
        width: 30px;
    }
}

/* ==========================================================================
   16. Sub-page Nav Enhancement
   ========================================================================== */

ul#left_nav li a,
ul#left_nav_pro li a {
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

ul#left_nav li a::after,
ul#left_nav_pro li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1F4A8B;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

ul#left_nav li a:hover::after,
ul#left_nav_pro li a:hover::after {
    width: 50%;
}

/* ==========================================================================
   17. Four Service Button Enhancement
   ========================================================================== */

ul#four_ser li {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.4s ease,
                opacity 0.4s ease !important;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
    ul#four_ser li:hover {
        transform: translateY(-3px) scale(1.05) !important;
    }

    /* Shimmer sweep */
    ul#four_ser li::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
        transition: left 0.6s ease;
    }

    ul#four_ser li:hover::after {
        left: 120%;
    }
}

/* ==========================================================================
   18. Circular Items Enhancement
   ========================================================================== */

ul#circular li .fdimg {
    transition: box-shadow 0.4s ease;
}

ul#circular li .fdimg img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@media only screen and (min-width: 768px) {
    ul#circular li:hover .fdimg {
        box-shadow: 0 8px 20px rgba(31, 74, 139, 0.25);
    }

    ul#circular li:hover .fdimg img {
        transform: scale(1.12) !important;
    }
}

/* ==========================================================================
   19. Generic Link Enhancement
   ========================================================================== */

/* Smooth all links */
a {
    transition: color 0.3s ease, text-decoration 0.3s ease, padding 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Image links: gentle zoom wrapper */
a > img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s ease,
                filter 0.5s ease;
}

/* ==========================================================================
   20. Back-to-Top Button (floating, appears on scroll)
   ========================================================================== */

.ae-backtop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1F4A8B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999990;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 74, 139, 0.3);
}

.ae-backtop.ae-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ae-backtop:hover {
    background: #2A5FA8;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(31, 74, 139, 0.4);
}

.ae-backtop:active {
    transform: scale(0.95);
}

.ae-backtop svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Back-to-top breathing glow when visible */
.ae-backtop.ae-show {
    animation: aeBacktopGlow 3s ease-in-out infinite;
}

@keyframes aeBacktopGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(31, 74, 139, 0.3),
                    0 0 0 0 rgba(31, 74, 139, 0.15);
    }
    50% {
        box-shadow: 0 4px 15px rgba(31, 74, 139, 0.3),
                    0 0 0 10px rgba(31, 74, 139, 0);
    }
}

@media only screen and (max-width: 767px) {
    .ae-backtop {
        bottom: 70px;
        right: 15px;
        width: 42px;
        height: 42px;
    }

    .ae-backtop svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   21. Page Load Fade-in
   ========================================================================== */

body {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.ae-loaded {
    opacity: 1;
}

/* ==========================================================================
   22. Preloader Enhancement (if #preloader exists)
   ========================================================================== */

#preloader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#status {
    animation: aeSpinner 1.2s linear infinite;
}

@keyframes aeSpinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   23. Glassmorphism Card Hover (generic)
   ========================================================================== */

@media only screen and (min-width: 768px) {

    /* Product detail container */
    .hc_pro {
        transition: box-shadow 0.4s ease, transform 0.4s ease;
    }

    .hc_pro:hover {
        box-shadow: 0 8px 25px rgba(31, 74, 139, 0.1);
    }

    /* Contact button on detail page */
    #hc_contact {
        transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    #hc_contact:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(31, 74, 139, 0.3);
    }

    #hc_contact::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
        transition: left 0.5s ease;
    }

    #hc_contact:hover::after {
        left: 100%;
    }

    /* Back button */
    .news .back a {
        transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .news .back a:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(31, 74, 139, 0.25);
    }
}

/* ==========================================================================
   24. Left Nav List Enhancement
   ========================================================================== */

ul#leftlist li a {
    transition: color 0.3s ease, padding-right 0.3s ease;
}

ul#leftlist li a:hover {
    transition: color 0.3s ease, padding-right 0.3s ease;
}

/* ==========================================================================
   25. Image Lazy Load Shimmer (placeholder effect)
   ========================================================================== */

img {
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img.ae-img-loading {
    opacity: 0.3;
    background: linear-gradient(90deg, #f0f0f0 25%, #f5f5f5 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: aeImgShimmer 1.5s infinite;
}

img.ae-img-loaded {
    opacity: 1;
}

@keyframes aeImgShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   26. Mobile-specific Enhancements
   ========================================================================== */

@media only screen and (max-width: 767px) {

    /* Touch feedback for all interactive elements */
    .flex_item:active,
    ul#detail li:active,
    ul#five_pro li:active,
    ul#adv_box li:active,
    ul#pro_container li:active {
        transform: scale(0.96) !important;
    }

    /* Smooth tap highlight */
    * {
        -webkit-tap-highlight-color: rgba(31, 74, 139, 0.1);
    }

    /* Mobile card entrance: staggered */
    .ae-mobile-stagger > * {
        opacity: 0;
        animation: aeMobileStaggerIn 0.5s ease forwards;
    }

    .ae-mobile-stagger > *:nth-child(1) { animation-delay: 0.05s; }
    .ae-mobile-stagger > *:nth-child(2) { animation-delay: 0.10s; }
    .ae-mobile-stagger > *:nth-child(3) { animation-delay: 0.15s; }
    .ae-mobile-stagger > *:nth-child(4) { animation-delay: 0.20s; }
    .ae-mobile-stagger > *:nth-child(5) { animation-delay: 0.25s; }
    .ae-mobile-stagger > *:nth-child(6) { animation-delay: 0.30s; }
    .ae-mobile-stagger > *:nth-child(7) { animation-delay: 0.35s; }
    .ae-mobile-stagger > *:nth-child(8) { animation-delay: 0.40s; }

    @keyframes aeMobileStaggerIn {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile section title: subtle bounce on reveal */
    .pro_biaoti.ae-visible span {
        animation: aeMobileTitleBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes aeMobileTitleBounce {
        0% { transform: scale(0.9); opacity: 0; }
        60% { transform: scale(1.05); }
        100% { transform: scale(1); opacity: 1; }
    }

    /* Mobile product image: gentle float */
    ul#detail li img,
    .flex_item img {
        animation: aeMobileImgFloat 4s ease-in-out infinite;
        animation-play-state: paused;
    }

    ul#detail li:nth-child(odd) img {
        animation-play-state: running;
        animation-delay: 0s;
    }

    ul#detail li:nth-child(even) img {
        animation-play-state: running;
        animation-delay: 2s;
    }

    @keyframes aeMobileImgFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
    }

    /* Mobile scroll reveal: lighter animation */
    .ae-reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .ae-reveal.ae-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Reduce animation for accessibility */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* ==========================================================================
   27. Reduced Motion (accessibility - all screens)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ae-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   28. Smooth Scrollbar Styling (PC)
   ========================================================================== */
@media only screen and (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(31, 74, 139, 0.3);
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(31, 74, 139, 0.5);
    }

    /* Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(31, 74, 139, 0.3) #f1f1f1;
    }
}

/* ==========================================================================
   29. GPU Acceleration for Animated Elements
   ========================================================================== */

.flex_item,
ul#five_pro li,
ul#adv_box li,
ul#detail li,
ul#pro_container li,
ul#circular li,
#mianthree ul li,
ul#four_ser li,
.banner-text,
.slider-text,
.ae-backtop,
.ae-scroll-progress {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* ==========================================================================
   30. Text Selection Color
   ========================================================================== */
::selection {
    background: rgba(31, 74, 139, 0.2);
    color: #1F4A8B;
}

::-moz-selection {
    background: rgba(31, 74, 139, 0.2);
    color: #1F4A8B;
}
