/* HQD Compliance Page Styles */
body {
    color: #000;
}
.compliance-banner {
    width: 100%;
    font-size: 0;
}
.compliance-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.compliance-banner-bg img {
    width: 100%;
}

/* Navigation Tabs */
.compliance-nav {
    padding-top: 4.11vw;
    padding-bottom: 5.26vw;
    margin: 0 auto;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 2.71vw;
}

.nav-tab {
    letter-spacing: 0;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    background: #fff;
    font-size: 1.67vw;
    line-height: 150%;
    text-align: center;
    vertical-align: middle;
    width: 10.42vw;
    height: 3.33vw;
      border:none;
    border-radius: 1.67vw;
     background-color: #F2F2F2;
}

.nav-tab:hover {
    border-color: #FD5000;
    color: #FD5000;
    transform: translateY(-0.1vw);
    box-shadow: 0 0.21vw 0.63vw rgba(255, 107, 53, 0.2);
}

.nav-tab.active {
    background: #FD5000;
    border-color: #FD5000;
    color: white;
}

/* Content Sections */
.compliance-content {
    padding: 0 18.75vw 6.92vw 18.75vw;
}

.compliance-content.hidden {
    display: none;
}

/* Compliance Info Section */
.compliance-info {
    display: flex;
    align-items: flex-start;
    gap: 2.66vw;
    margin-bottom: 5.89vw;
}

.info-logo {
    flex-shrink: 0;
    text-align: right;
}

.info-logo img {
    width: 17.08vw;
    height: auto;
}

.info-logo h2 {
    font-weight: 900;
    font-size: 3.75vw;
    line-height: 100%;
    vertical-align: middle;
    margin: 0;
    letter-spacing: 0;
}

.info-content p {
    font-size: 1.04vw;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
}

.info-content p.reference {
    margin-top: 1vw;
}

/* Compliance Section */
.compliance-section h3 {
    text-align: left;
    margin: 0;
    font-family: Roboto;
    font-weight: 700;
    font-size: 2.71vw;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19.27vw, 1fr));
    gap: 1.67vw;
    margin-top: 1.61vw;
}

.compliance-item {
    /*background: white;*/
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.98vw;
    border-radius: 0.78vw;
    overflow: hidden;
    height: 13.02vw;
    background: #F2F2F2;
    cursor:pointer;
}


.compliance-item:hover {
    transform: translateY(-0.26vw);
    box-shadow: 0 0.52vw 1.3vw rgba(0,0,0,0.15);
}

.compliance-item h4 {
    color: white;
    padding: 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.56vw;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
    background: #FD5000;
    height: 4.43vw;
    line-height: 4.43vw;
}

.compliance-item p {
    margin: 0;
    font-weight: 400;
    font-size: 1.25vw;
    line-height: 150%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    padding: 1.04vw 1.04vw 0 1.04vw;
    box-shadow: rgba(13, 10, 44, 0.08);
    /* border: 0.05vw solid #000; */
    height: 8.59vw;
    border-radius: 0 0 0.78vw 0.78vw;
    border-top: none;
}

.compliance-item.gyd p{
    padding-top: 0.47vw;
}

/* PMTA Process Section */
.pmta-process {
    text-align: center;
}
.pmta-process img{
    width: 55.73vw;
    height: 12.03vw;
}

.pmta-process h3 {
    text-align: center;
    color: #e74c3c;
    font-size: 1.67vw;
    margin-bottom: 1.67vw;
    position: relative;
}

.pmta-process h3::after {
    content: '▼';
    display: block;
    color: #e74c3c;
    font-size: 1.25vw;
    margin-top: 0.42vw;
}

.process-timeline {
    max-width: 41.67vw;
    margin: 0 auto;
}

.phase-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.83vw;
    padding: 0 1.67vw;
}

.phase-label {
    font-size: 0.75vw;
    color: #666;
    background: #f0f0f0;
    padding: 0.42vw 0.83vw;
    border-radius: 0.78vw;
    font-weight: 500;
}

.process-steps {
    display: flex;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0.21vw;
    background: #e0e0e0;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0.83vw;
    position: relative;
    z-index: 2;
    font-weight: 600;
    border-radius: 0.52vw;
    margin: 0 0.21vw;
    transition: all 0.3s ease;
}

.process-step.completed {
    background: #ff6b35;
    color: white;
}

.process-step.current {
    background: #e91e63;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0.21vw 0.63vw rgba(233, 30, 99, 0.3);
}

.process-step:not(.completed):not(.current) {
    background: #6c5ce7;
    color: white;
}

.process-step:nth-child(4) {
    background: #4285f4;
    color: white;
}

.process-step:nth-child(5) {
    background: #00bcd4;
    color: white;
}

/* Others Section */

.container{
    width: 62.5vw;
}
.others-intro {
    
    margin-bottom: 2.5vw;
}

.others-intro p {
    font-size: 1.15vw;
    line-height: 150%;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
    text-align: left ;
   
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14.06vw, 1fr));
    gap: 1.93vw;
    margin: 0 auto;
}

.certification-item {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 14.17vw;
    height: 8.07vw;
    border: 0.05vw solid #7E7E7E;
}

.certification-item:hover {
    transform: translateY(-0.26vw);
    box-shadow: 0 0.52vw 1.3vw rgba(0,0,0,0.15);
}

.certification-item img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
}

    
.certification-item.gyd img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation Tabs */
    .compliance-nav {
        padding-top: 15.46vw;
        padding-bottom: 32px;
    }

    .nav-tabs {
        gap: 6px;
    }

    .nav-tab {
        font-size: 20px;
        width: 96px;
        height: 34px;
        border-radius: 5.33vw;
        background-color: #F2F2F2;
        border:none;
        /* border: 1px solid #000; */
    }

    .nav-tab:hover {
        box-shadow: 0 1.07vw 2.13vw rgba(255, 107, 53, 0.2);
    }

    /* Content Sections */
    .compliance-content {
        padding: 0 16px 124px 16px;
    }

    /* Compliance Info Section - 垂直布局 */
    .compliance-info {
        flex-direction: column;
        align-items: center;
        gap: 22px;
        margin-bottom: 41px;
    }

    .info-logo {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .info-logo img {
        width: 183px;
        height: auto;
        margin: 0 auto;
    }

    .info-logo h2 {
        font-size: 46px;
        margin-top: 13px;
    }

    .info-content {
        width: 100%;
    }

    .info-content p {
        font-size: 3.73vw;
        line-height: 150%;
        text-align: left;
    }

    .info-content p.reference {
        margin-top: 4vw;
    }

    /* Compliance Section - 单列布局 */
    .compliance-section h3 {
        font-size: 25px;
    }

    .compliance-grid {
        gap: 8px;
        margin-top: 11px;
        grid-template-columns: repeat(auto-fit, minmax(167px, 1fr));
    }

    .compliance-item {
        margin-bottom: 8px;
        border-radius: 8px;
        height: 142px;
        background: #F2F2F2 !important;
    }

    .compliance-item:hover {
        transform: translateY(-1.33vw);
        box-shadow: 0 2.67vw 5.33vw rgba(0,0,0,0.15);
    }

    .compliance-item h4 {
        font-size: 16px;
        height: 39px;
        line-height: 39px;
    }

    .compliance-item p {
        font-size: 14px;
        line-height: 150%;
        padding: 0 6px;
       box-shadow: rgba(13, 10, 44, 0.08);
        height: 103px;
        border-radius: 0 0 8px 8px;
        padding-top: 10px;
        border-top: none;
    }

    .compliance-item.gyd p {
        padding: 0;
        padding-top: 8px;
    }

    /* PMTA Process Section */
    .pmta-process img {
        width: 100%;
        height: auto;
        max-width: 89.33vw;
    }

    .pmta-process h3 {
        font-size: 5.33vw;
        margin-bottom: 5.33vw;
    }

    .pmta-process h3::after {
        font-size: 4.27vw;
        margin-top: 2.67vw;
    }

    .process-timeline {
        max-width: 100%;
    }

    .phase-labels {
        margin-bottom: 2.67vw;
        padding: 0 2.67vw;
    }

    .phase-label {
        font-size: 2.67vw;
        padding: 1.33vw 2.67vw;
        border-radius: 2.67vw;
    }

    .process-steps::before {
        height: 0.53vw;
    }

    .process-step {
        padding: 2.67vw;
        border-radius: 2.13vw;
        margin: 0 0.67vw;
        font-size: 3.2vw;
    }

    .process-step.current {
        box-shadow: 0 1.07vw 2.67vw rgba(233, 30, 99, 0.3);
    }

    /* Others Section */
    .container {
        width: 100%;
        max-width: 100%;
    }

    .others-intro {
        margin-bottom: 31px;
        text-align: left;
    }

    .others-intro p {
        font-size: 15px;
        text-align: left !important;
    }

    /* Certifications Grid - 2列布局 */
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11.17px;
    }

    .certification-item {
        width: 100%;
        height: 94.5px;
        border: 0.27vw solid #7E7E7E;
        margin-bottom: 10px;
    }

    .certification-item:hover {
        transform: translateY(-1.33vw);
        box-shadow: 0 2.67vw 5.33vw rgba(0,0,0,0.15);
    }

    .certification-item img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

    
    .certification-item.gyd img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }
}