@charset "utf-8";
/* CSS Document */

 /* 服务图标容器 */
        .services-container {
            position: absolute;
            top: 60%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 4;
            display: flex;
            gap: 2rem;
            justify-content: center;
            align-items: center;
            width: 90%;
            flex-wrap: wrap;
        }

        /* 服务项样式 */
        .service-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            background: #347AD0;
            border: 2px solid #347AD0;
            border-radius: 20px;
            padding: 2rem;
            width: 220px;
            height: 280px;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }

        /* 服务项悬停效果 */
        .service-item:hover {
            transform: translateY(-10px);
            background: #2a68c0;
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.15),
                0 0 20px rgba(255, 255, 255, 0.2);
            border-color: #2a68c0;
        }

        /* 服务项背景光效 */
        .service-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
            border-radius: 20px;
            transition: all 0.3s ease;
        }

        .service-item:hover::before {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
        }

        /* 服务图标容器 */
        .service-icon-container {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 120px;
            height: 120px;
            background: white;
            border: 2px solid white;
            border-radius: 50%;
            box-shadow: 
                0 4px 15px rgba(0, 0, 0, 0.15),
                inset 0 2px 5px rgba(255, 255, 255, 0.8);
            transition: all 0.3s ease;
        }

        .service-item:hover .service-icon-container {
            background: white;
            box-shadow: 
                0 6px 20px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(255, 255, 255, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.9);
            transform: scale(1.05);
        }

        /* 服务图标样式 */
        .service-icon {
            font-size: 3.5rem;
            color: #347AD0;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .service-item:hover .service-icon {
            color: #2a68c0;
            text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transform: scale(1.05);
        }

       

        /* 服务标题样式 */
        .service-title {
            font-size: 1.4rem;
            color: white;
            font-weight: 600;
            text-align: center;
            letter-spacing: 0.1rem;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .service-item:hover .service-title {
            color: white;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            transform: scale(1.03);
        }

        

        /* 服务图标响应式设计 */
        @media (max-width: 1200px) {
            .services-container {
                gap: 1.5rem;
                top: 65%;
            }
            
            .service-item {
                width: 180px;
                height: 230px;
                padding: 1.5rem;
            }
            
            .service-icon-container {
                width: 100px;
                height: 100px;
            }
            
            .service-icon {
                font-size: 3.5rem;
            }
            
            .service-title {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 992px) {
            .services-container {
                top: 50%;
                gap: 1.2rem;
            }
            
            .service-item {
                width: 160px;
                height: 210px;
                padding: 1.3rem;
                gap: 1rem;
            }
            
            .service-icon-container {
                width: 90px;
                height: 90px;
            }
            
            .service-icon {
                font-size: 3rem;
            }
            
            .service-title {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .services-container {
                top: 50%;
                gap: 1rem;
            }
            
            .service-item {
                width: 140px;
                height: 180px;
                padding: 1.2rem;
                gap: 0.8rem;
            }
            
            .service-icon-container {
                width: 80px;
                height: 80px;
            }
            
            .service-icon {
                font-size: 2.5rem;
            }
            
            .service-title {
                font-size: 1rem;
                letter-spacing: 0.05rem;
            }
        }

        @media (max-width: 480px) {
            .services-container {
                top: 55%;
                gap: 0.8rem;
            }
            
            .service-item {
                width: 110px;
                height: 150px;
                padding: 1rem;
                border-radius: 20px;
                gap: 0.6rem;
            }
            
            .service-icon-container {
                width: 60px;
                height: 60px;
            }
            
            .service-icon {
                font-size: 1.8rem;
            }
            
            .service-title {
                font-size: 0.8rem;
                letter-spacing: 0.05rem;
            }
        }

        /* 漂浮元素响应式调整 */
        @media (max-width: 768px) {
            .element {
                font-size: 2rem;
            }
            
            /* 调整漂浮元素位置 */
            .pulse {
                top: 40%;
                left: 15%;
            }
            
            .acupuncture {
                top: 80%;
                right: 15%;
            }
            
            .herb {
                bottom: 20%;
                left: 25%;
            }
            
            .medicine-pot {
                top: 60%;
                right: 25%;
            }
            
            .message-board {
                bottom: 50%;
                left: 15%;
            }
        }

        @media (max-width: 480px) {
            .element {
                font-size: 1.8rem;
            }
        }