/*==================================================
                QUALITY PAGE
==================================================*/

/*==============================================
                CONTENT
==============================================*/

.content{
    width:100%;
    max-width:1500px;
    margin:0;
    padding:15px 40px 40px;
}

/*==============================================
                PAGE TITLE
==============================================*/

.page-title{
    margin:0 0 50px;
    padding:0;
}

.page-title h1{
    font-size:58px;
    font-weight:300;
    line-height:1.15;
    color:#2f2f2f;
    margin:0 0 30px;
}

.page-title p{
    max-width:1150px;
    font-size:17px;
    line-height:1.8;
    color:#666;
    margin-bottom:20px;
}

/*==============================================
        QUALITY CERTIFICATES
==============================================*/

.certificate-section{
    margin:0 0 70px;
}

.certificate-section h3{
    text-align:center;
    font-size:24px;
    font-weight:400;
    color:#444;
    margin-bottom:40px;
}

/*==============================================
        CERTIFICATE GRID
==============================================*/

.certificate-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/*==============================================
        CERTIFICATE CARD
==============================================*/

.certificate-card{
    position:relative;
    overflow:hidden;
    background:#fff;
    cursor:pointer;
    transition:.35s ease;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.certificate-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.certificate-card img{
    width:100%;
    display:block;
    border:10px solid #d69b2d;
    transition:transform .35s ease,
               filter .35s ease;
}

.certificate-card:hover img{
    transform:scale(1.03);
    filter:brightness(.94);
}

/*==============================================
        HOVER OVERLAY
==============================================*/

.certificate-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.08);
    opacity:0;
    transition:.35s;
}

.certificate-card:hover::after{
    opacity:1;
}

/*==============================================
        SEARCH ICON
==============================================*/

.certificate-card::before{
    content:"🔍";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%) scale(.8);

    width:60px;
    height:60px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.55);

    color:#fff;

    border-radius:50%;

    font-size:24px;

    opacity:0;

    transition:.35s;

    z-index:5;
}

.certificate-card:hover::before{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}

/*==============================================
                ISO SECTION
==============================================*/

.iso-section{
    margin:0 0 80px;
}

.iso-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:50px;
    align-items:start;
}

.iso-card{
    position:relative;
    overflow:hidden;
    text-align:center;
    transition:.35s ease;
}

.iso-card img{
    width:100%;
    max-width:470px;
    margin:auto;
    display:block;
    transition:transform .35s ease,
               filter .35s ease;
}

.iso-card:hover{
    transform:translateY(-6px);
}

.iso-card:hover img{
    transform:scale(1.03);
    filter:brightness(.95);
}

.iso-card::before{
    content:"🔍";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%) scale(.8);

    width:60px;
    height:60px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(0,0,0,.55);

    color:#fff;

    font-size:24px;

    opacity:0;

    transition:.35s;

    z-index:5;
}

.iso-card:hover::before{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}
/*==================================================
                PACKING SECTION
==================================================*/

.packing-section{
    margin:0 0 80px;
}

.packing-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

/*==================================================
                PACKING ITEM
==================================================*/

.packing-item{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.35s ease;
}

.packing-item img{
    width:100%;
    display:block;
    transition:transform .35s ease,
               filter .35s ease;
}

.packing-item:hover{
    transform:translateY(-6px);
}

.packing-item:hover img{
    transform:scale(1.03);
    filter:brightness(.94);
}

.packing-item p{
    margin-top:16px;
    color:#666;
    font-size:15px;
    line-height:1.8;
    text-align:left;
}

/*==================================================
                LAST IMAGE
==================================================*/

.full-width{
    grid-column:1 / span 2;
    max-width:760px;
    margin:15px auto 0;
}

.full-width img{
    width:100%;
}

/*==================================================
                SEARCH ICON
==================================================*/

.packing-item::before{
    content:"🔍";

    position:absolute;

    left:50%;
    top:42%;

    transform:translate(-50%,-50%) scale(.8);

    width:60px;
    height:60px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(0,0,0,.55);

    color:#fff;

    font-size:24px;

    opacity:0;

    transition:.35s;

    z-index:5;
}

.packing-item:hover::before{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}

/*==================================================
                IMAGE CURSOR
==================================================*/

.certificate-card img,
.iso-card img,
.packing-item img{
    cursor:pointer;
}

/*==================================================
                IMAGE EFFECT
==================================================*/

.certificate-card,
.iso-card,
.packing-item{
    transition:all .35s ease;
}

.certificate-card img,
.iso-card img,
.packing-item img{
    transition:all .35s ease;
}

/*==================================================
                LIGHTBOX
==================================================*/

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
    padding:40px;
    opacity:0;
    transition:.35s ease;
}

.lightbox.active{
    display:flex;
    opacity:1;
}

.lightbox-content{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    max-width:95%;
    max-height:95%;
}

.lightbox img{
    max-width:100%;
    max-height:85vh;
    object-fit:contain;
    background:#fff;
    padding:8px;
    border-radius:4px;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
    animation:zoomIn .35s ease;
}

/*==================================================
                COUNTER
==================================================*/

.lightbox-counter{
    margin-top:18px;
    color:#fff;
    font-size:15px;
    font-weight:600;
}

/*==================================================
                CLOSE BUTTON
==================================================*/

.lightbox-close{
    position:absolute;
    top:25px;
    right:30px;

    width:48px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:34px;

    cursor:pointer;

    transition:.3s;
}

.lightbox-close:hover{
    background:#10cca9;
}

/*==================================================
                PREVIOUS
==================================================*/

.lightbox-prev{
    position:absolute;
    left:30px;
    top:50%;
    transform:translateY(-50%);

    width:56px;
    height:56px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:36px;

    cursor:pointer;

    transition:.3s;
}

.lightbox-prev:hover{
    background:#10cca9;
}

/*==================================================
                NEXT
==================================================*/

.lightbox-next{
    position:absolute;
    right:30px;
    top:50%;
    transform:translateY(-50%);

    width:56px;
    height:56px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:36px;

    cursor:pointer;

    transition:.3s;
}

.lightbox-next:hover{
    background:#10cca9;
}

/*==================================================
                BODY LOCK
==================================================*/

body.lightbox-open{
    overflow:hidden;
}
/*==================================================
                ANIMATIONS
==================================================*/

.page-title,
.certificate-section,
.iso-section,
.packing-section{
    animation:fadeUp .7s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes zoomIn{

    from{
        transform:scale(.85);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

/*==================================================
                RESPONSIVE
==================================================*/

/* ---------- Large Laptop ---------- */

@media (max-width:1400px){

    .content{
        padding:15px 30px 35px;
    }

    .page-title h1{
        font-size:50px;
    }

}

/* ---------- Laptop ---------- */

@media (max-width:1200px){

    .page-title h1{
        font-size:44px;
    }

    .page-title p{
        font-size:16px;
    }

    .certificate-grid{
        gap:30px;
    }

    .iso-grid{
        gap:35px;
    }

    .packing-grid{
        gap:30px;
    }

}

/* ---------- Tablet ---------- */

@media (max-width:991px){

    .content{
        padding:20px;
    }

    .page-title{
        margin-bottom:35px;
    }

    .page-title h1{
        font-size:36px;
    }

    .page-title p{
        font-size:15px;
    }

    .certificate-grid{
        grid-template-columns:1fr;
    }

    .iso-grid{
        grid-template-columns:1fr;
    }

    .packing-grid{
        grid-template-columns:1fr;
    }

    .full-width{
        grid-column:auto;
        max-width:100%;
    }

    .lightbox-prev{
        left:15px;
    }

    .lightbox-next{
        right:15px;
    }

}

/* ---------- Mobile ---------- */

@media (max-width:768px){

    .page-title h1{
        font-size:30px;
        line-height:1.3;
    }

    .page-title p{
        font-size:14px;
    }

    .certificate-section h3{
        font-size:20px;
    }

    .certificate-card img{
        border-width:6px;
    }

    .packing-item p{
        font-size:14px;
    }

    .lightbox{
        padding:15px;
    }

    .lightbox img{
        max-width:96%;
        max-height:80vh;
    }

    .lightbox-prev,
    .lightbox-next{

        width:42px;
        height:42px;
        font-size:28px;

    }

    .lightbox-close{

        width:40px;
        height:40px;
        font-size:28px;

    }

}

/* ---------- Small Mobile ---------- */

@media (max-width:480px){

    .content{
        padding:15px;
    }

    .page-title h1{
        font-size:26px;
    }

    .page-title p{
        font-size:13px;
    }

    .certificate-card img{
        border-width:4px;
    }

}

/*==================================================
                SELECTION
==================================================*/

::selection{
    background:#10cca9;
    color:#fff;
}

/*==================================================
                FINAL CLEANUP
==================================================*/

section{
    width:100%;
}

section:not(:last-child){
    margin-bottom:70px;
}

.main-wrapper{
    margin-top:0;
}

.content{
    margin-top:0;
}

.page-title{
    margin-top:0;
}

.page-title h1{
    margin-top:0;
}

.popup-img{
    cursor:pointer;
}

/*==================================================
                END
==================================================*/