/* CSS Icons */

/* 通用图标样式 */
.icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #3498db;
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
}

.icon::before,
.icon::after {
    content: '';
    position: absolute;
}

/* 亲子鉴定图标 */
.icon-paternity {
    background-color: #3498db;
}

.icon-paternity::before {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.icon-paternity::after {
    width: 2px;
    height: 15px;
    background-color: #fff;
    top: 35px;
    left: 29px;
}

/* 无创产前检测图标 */
.icon-prenatal {
    background-color: #2ecc71;
}

.icon-prenatal::before {
    width: 20px;
    height: 15px;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    top: 15px;
    left: 20px;
}

.icon-prenatal::after {
    width: 2px;
    height: 15px;
    background-color: #fff;
    top: 30px;
    left: 29px;
}

/* 健康基因检测图标 */
.icon-health {
    background-color: #e74c3c;
}

.icon-health::before {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.icon-health::after {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    top: 19px;
    left: 24px;
}

/* 亲缘鉴定图标 */
.icon-kinship {
    background-color: #9b59b6;
}

.icon-kinship::before {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    top: 12px;
    left: 22px;
}

.icon-kinship::after {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    top: 28px;
    left: 22px;
    box-shadow: -8px 0 0 #fff, 8px 0 0 #fff;
}

/* 祖源分析图标 */
.icon-ancestry {
    background-color: #f39c12;
}

.icon-ancestry::before {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.icon-ancestry::after {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 20px;
    left: 25px;
}

/* 法医DNA鉴定图标 */
.icon-forensic {
    background-color: #1abc9c;
}

.icon-forensic::before {
    width: 20px;
    height: 20px;
    background-color: #fff;
    transform: rotate(45deg);
    top: 15px;
    left: 20px;
}

.icon-forensic::after {
    width: 10px;
    height: 10px;
    background-color: #1abc9c;
    top: 20px;
    left: 25px;
}

/* 基因测序技术图标 */
.icon-sequencing {
    background-color: #3498db;
}

.icon-sequencing::before {
    width: 25px;
    height: 2px;
    background-color: #fff;
    top: 30px;
    left: 17px;
}

.icon-sequencing::after {
    width: 2px;
    height: 25px;
    background-color: #fff;
    top: 17px;
    left: 30px;
}

/* PCR技术图标 */
.icon-pcr {
    background-color: #2ecc71;
}

.icon-pcr::before {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    top: 15px;
    left: 20px;
}

/* 生物信息学分析图标 */
.icon-bioinfo {
    background-color: #e74c3c;
}

.icon-bioinfo::before {
    width: 20px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 3px;
    top: 15px;
    left: 20px;
}

.icon-bioinfo::after {
    width: 16px;
    height: 2px;
    background-color: #fff;
    top: 22px;
    left: 22px;
    box-shadow: 0 3px 0 #fff, 0 6px 0 #fff;
}

/* 质量管理体系图标 */
.icon-quality {
    background-color: #9b59b6;
}

.icon-quality::before {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.icon-quality::after {
    width: 12px;
    height: 6px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    top: 23px;
    left: 24px;
}

/* 电话图标 */
.icon-phone {
    background-color: #3498db;
}

.icon-phone::before {
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 15px;
    left: 22px;
}

.icon-phone::after {
    width: 2px;
    height: 15px;
    background-color: #fff;
    top: 30px;
    left: 29px;
    transform: rotate(30deg);
}

/* 邮箱图标 */
.icon-email {
    background-color: #2ecc71;
}

.icon-email::before {
    width: 20px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 3px;
    top: 15px;
    left: 20px;
}

.icon-email::after {
    width: 16px;
    height: 2px;
    background-color: #fff;
    top: 24px;
    left: 22px;
    transform: rotate(-30deg);
}

/* 地址图标 */
.icon-address {
    background-color: #e74c3c;
}

.icon-address::before {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    top: 15px;
    left: 22px;
}

.icon-address::after {
    width: 15px;
    height: 10px;
    background-color: #fff;
    top: 30px;
    left: 22px;
    border-radius: 0 0 5px 5px;
}

/* 技术设备图标 */
.icon-equipment {
    background-color: #3498db;
}

.icon-equipment::before {
    width: 20px;
    height: 15px;
    background-color: #fff;
    border-radius: 3px;
    top: 15px;
    left: 20px;
}

.icon-equipment::after {
    width: 20px;
    height: 2px;
    background-color: #fff;
    top: 30px;
    left: 20px;
}

/* 专业团队图标 */
.icon-team {
    background-color: #2ecc71;
}

.icon-team::before {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    top: 12px;
    left: 15px;
}

.icon-team::after {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    top: 12px;
    left: 30px;
}

/* 严格质控图标 */
.icon-control {
    background-color: #e74c3c;
}

.icon-control::before {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 15px;
    left: 20px;
}

.icon-control::after {
    width: 12px;
    height: 6px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    top: 23px;
    left: 24px;
}

/* 快速出报告图标 */
.icon-fast {
    background-color: #f39c12;
}

.icon-fast::before {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    top: 15px;
    left: 22px;
}

.icon-fast::after {
    width: 10px;
    height: 2px;
    background-color: #fff;
    top: 22px;
    left: 37px;
    transform: rotate(45deg);
}

/* 认证图标 */
.icon-certificate {
    background-color: #9b59b6;
}

.icon-certificate::before {
    width: 20px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 3px;
    top: 15px;
    left: 20px;
}

.icon-certificate::after {
    width: 16px;
    height: 2px;
    background-color: #fff;
    top: 22px;
    left: 22px;
}

/* 实验室图标 */
.icon-laboratory {
    background-color: #3498db;
}

.icon-laboratory::before {
    width: 20px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 3px;
    top: 15px;
    left: 20px;
}

.icon-laboratory::after {
    width: 16px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-radius: 0 0 3px 3px;
    top: 22px;
    left: 22px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .icon {
        width: 50px;
        height: 50px;
    }
    
    .icon::before,
    .icon::after {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .icon {
        width: 40px;
        height: 40px;
    }
    
    .icon::before,
    .icon::after {
        transform: scale(0.6);
    }
}