/* =========================================
   CoreIPC Certifications Page
   Final Responsive CSS
   ========================================= */

.coreipc-certifications-page{
    background:#fff;
}

.cert-wrap{
    width:92%;
    max-width:1320px;
    margin:0 auto;
}

.cert-section{
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding:72px 0;
}

.cert-qms,
.cert-software{
    background:#f7f8fa;
}

.cert-compliance,
.cert-commitment{
    background:#fff;
}

.cert-title{
    margin:0 0 35px;
    color:#10233f;
    font-size:34px;
    line-height:1.2;
    font-weight:700;
}

.cert-desc{
    max-width:720px;
    margin:12px auto 38px;
    color:#5d6878;
    font-size:15px;
    line-height:1.65;
}

.cert-center-head{
    text-align:center;
}

.cert-center-head .coreipc-section-label{
    justify-content:flex-start!important;
}

/* =========================================
   01 QMS
   ========================================= */

.cert-qms > .cert-wrap > .cert-title{
    display:none;
}

.cert-qms{
    padding-top:58px;
    padding-bottom:58px;
}

.cert-qms-grid{
    display:grid;
    grid-template-columns:46% 54%;
    gap:34px;
    align-items:start;
    margin-top:26px;
}

.cert-qms-image{
    min-height:400px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    background:#fff;
    border:1px solid #e4e8ed;
    box-shadow:0 4px 18px rgba(15,35,65,.05);
    overflow:hidden;
}

.cert-qms-image img{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:420px;
    object-fit:contain;
}

.cert-qms-content{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:14px;
    align-items:start;
    padding-top:18px;
}

.cert-qms-content h3,
.cert-qms-content > p{
    grid-column:1 / -1;
}

.cert-qms-content h3{
    margin:0 0 14px;
    color:#10233f;
    font-size:0;
    line-height:1.25;
    font-weight:700;
}

.cert-qms-content h3::after{
    content:"Quality Management System";
    font-size:28px;
    line-height:1.25;
}

.cert-qms-content > p{
    margin:0 0 22px;
    max-width:620px;
    color:#5d6878;
    font-size:14px;
    line-height:1.7;
}

.cert-feature{
    position:relative;
    min-width:0;
    margin:0;
    padding:48px 0 0;
    background:transparent;
    border:0;
}

.cert-feature::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:40px;
    height:40px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
}

.cert-feature:nth-of-type(1)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231769d2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l15 6v11c0 10-6 17-15 21C15 39 9 32 9 22V11z'/%3E%3Cpath d='M17 23l5 5 10-11'/%3E%3C/svg%3E");
}

.cert-feature:nth-of-type(2)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231769d2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='17' cy='16' r='5'/%3E%3Ccircle cx='31' cy='16' r='5'/%3E%3Ccircle cx='24' cy='30' r='5'/%3E%3Cpath d='M8 39c1-6 5-9 10-9M40 39c-1-6-5-9-10-9'/%3E%3C/svg%3E");
}

.cert-feature:nth-of-type(3)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%231769d2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 38h34M11 32l8-8 7 5 11-15'/%3E%3Cpath d='M31 14h6v6'/%3E%3C/svg%3E");
}

.cert-feature strong{
    display:block;
    margin:0 0 7px;
    color:#172033;
    font-size:13px;
    line-height:1.35;
    font-weight:700;
    overflow-wrap:anywhere;
}

.cert-feature span{
    display:block;
    max-width:160px;
    color:#667181;
    font-size:11.5px;
    line-height:1.5;
    overflow-wrap:anywhere;
}

/* =========================================
   02 Compliance
   ========================================= */

.cert-compliance-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.cert-card{
    background:#fff;
    border:1px solid #e1e6ec;
}

.cert-card-image{
    height:330px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:#f8fafc;
}

.cert-card-image img{
    width:auto;
    height:100%;
    max-width:100%;
    object-fit:contain;
}

.cert-card-content{
    padding:22px 22px 25px;
}

.cert-card-content strong{
    display:block;
    margin-bottom:8px;
    color:#10233f;
    font-size:19px;
}

.cert-card-content p{
    margin:0;
    color:#667181;
    font-size:13.5px;
    line-height:1.6;
}

/* =========================================
   03 Software
   ========================================= */

.cert-software-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    row-gap:18px;
    column-gap:24px;
    max-width:1180px;
    margin:0 auto;
}

.cert-software-card{
    width:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#fff;
    border:1px solid #e1e6ec;
    box-shadow:0 3px 12px rgba(15,35,65,.035);
}

.cert-software-image{
    height:330px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    background:#fff;
    border-bottom:1px solid #edf0f3;
}

.cert-software-image img{
    display:block;
    width:222px;
    height:auto;
    max-width:100%;
    max-height:300px;
    object-fit:contain;
}

.cert-software-text{
    min-height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px 14px;
    text-align:center;
    background:#fff;
}

.cert-software-text h3{
    margin:0;
    color:#10233f;
    font-size:15.5px;
    line-height:1.35;
    font-weight:700;
}

/* =========================================
   04 Commitment
   ========================================= */

.cert-commit-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.cert-commit-item{
    min-height:132px;
    display:grid;
    grid-template-columns:62px minmax(0,1fr);
    gap:16px;
    align-items:center;
    padding:22px 20px;
    background:#fff;
    border:1px solid #e3e8ee;
    border-radius:8px;
    box-shadow:0 4px 16px rgba(15,35,65,.045);
    text-align:left;
}

.cert-commit-icon{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1769d2;
}

.cert-commit-icon svg{
    display:block;
    width:48px;
    height:48px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.cert-commit-copy strong{
    display:block;
    margin:0 0 7px;
    color:#10233f;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
}

.cert-commit-copy span{
    display:block;
    color:#667181;
    font-size:12.5px;
    line-height:1.55;
}

/* =========================================
   Tablet / iPad Pro
   ========================================= */

@media (max-width:1100px){

    .cert-section{
        padding:60px 0;
    }

    .cert-qms-grid{
        grid-template-columns:44% 56%;
        gap:30px;
    }

    .cert-qms-image{
        min-height:350px;
    }

    .cert-qms-image img{
        max-height:380px;
    }

    .cert-qms-content{
        display:block;
        padding-top:8px;
    }

    .cert-qms-content > p{
        max-width:none;
        margin-bottom:24px;
    }

    .cert-feature{
        position:relative;
        display:block;
        width:100%;
        min-height:56px;
        margin:0 0 18px;
        padding:2px 0 2px 58px;
    }

    .cert-feature:last-child{
        margin-bottom:0;
    }

    .cert-feature::before{
        top:0;
        left:0;
        width:40px;
        height:40px;
    }

    .cert-feature strong{
        margin-bottom:5px;
        font-size:13.5px;
        line-height:1.35;
    }

    .cert-feature span{
        max-width:none;
        font-size:12px;
        line-height:1.5;
    }

    .cert-compliance-grid{
        gap:15px;
    }

    .cert-card-image{
        height:280px;
    }

    .cert-software-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        row-gap:16px;
        column-gap:18px;
    }

    .cert-software-image{
        height:320px;
    }

    .cert-software-image img{
        width:216px;
        height:auto;
        max-height:291px;
    }

    .cert-commit-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px;
    }
}

/* =========================================
   iPad Mini / iPad Air
   ========================================= */

@media (min-width:768px) and (max-width:900px){

    .cert-qms-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .cert-qms-image{
        min-height:0;
        max-width:680px;
        margin:0 auto;
    }

    .cert-qms-image img{
        width:100%;
        height:auto;
        max-height:none;
    }

    .cert-qms-content{
        display:block;
        padding-top:0;
    }

    .cert-qms-content h3{
        margin-bottom:14px;
    }

    .cert-qms-content > p{
        width:100%;
        max-width:none;
        margin-bottom:26px;
        font-size:14px;
        line-height:1.65;
    }

    .cert-feature{
        width:100%;
        min-height:56px;
        margin:0 0 18px;
        padding:2px 0 2px 58px;
    }

    .cert-feature:last-child{
        margin-bottom:0;
    }

    .cert-feature::before{
        top:0;
        left:0;
        width:40px;
        height:40px;
    }

    .cert-feature strong{
        margin-bottom:5px;
        font-size:13.5px;
        line-height:1.35;
    }

    .cert-feature span{
        max-width:none;
        font-size:12px;
        line-height:1.5;
    }
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width:767px){

    .cert-wrap{
        width:92%;
    }

    .cert-section{
        padding:40px 0;
    }

    .cert-qms{
        padding-top:44px;
        padding-bottom:44px;
    }

    .cert-title{
        font-size:25px;
        line-height:1.25;
        margin-bottom:22px;
    }

    .cert-center-head{
        text-align:left;
    }

    .cert-center-head .coreipc-section-label{
        justify-content:flex-start!important;
    }

    .cert-desc{
        margin:8px 0 24px;
        font-size:13.5px;
        line-height:1.6;
    }

    .cert-qms-grid,
    .cert-compliance-grid{
        grid-template-columns:1fr;
    }

    .cert-qms-grid{
        gap:25px;
        margin-top:20px;
    }

    .cert-qms-image{
        min-height:0;
    }

    .cert-qms-image img{
        max-height:410px;
    }

    .cert-qms-content{
        display:block;
        padding-top:0;
    }

    .cert-qms-content h3::after{
        font-size:25px;
    }

    .cert-qms-content > p{
        width:100%;
        max-width:none;
        margin-bottom:28px;
        font-size:14px;
        line-height:1.65;
    }

    .cert-feature{
        position:relative;
        display:block;
        width:100%;
        min-height:56px;
        margin:0 0 22px;
        padding:2px 0 2px 62px;
    }

    .cert-feature:last-child{
        margin-bottom:0;
    }

    .cert-feature::before{
        top:0;
        left:0;
        width:42px;
        height:42px;
    }

    .cert-feature strong{
        margin-bottom:6px;
        font-size:15px;
        line-height:1.35;
    }

    .cert-feature span{
        max-width:none;
        font-size:13px;
        line-height:1.55;
    }

    .cert-card-image{
        height:320px;
    }

    .cert-software-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .cert-software-image{
        height:310px;
    }

    .cert-software-image img{
        width:210px;
        height:auto;
        max-height:283px;
    }

    .cert-software-text{
        min-height:66px;
        padding:11px 14px 13px;
    }

    .cert-software-text h3{
        font-size:15px;
    }

    .cert-commit-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .cert-commit-item{
        min-height:118px;
        grid-template-columns:54px minmax(0,1fr);
        gap:14px;
        padding:18px 16px;
    }

    .cert-commit-icon{
        width:48px;
        height:48px;
    }

    .cert-commit-icon svg{
        width:44px;
        height:44px;
    }
}

/* =========================================
   Small Mobile
   ========================================= */

@media (max-width:480px){

    .cert-wrap{
        width:94%;
    }
}
