/*==================================================
    KURUNJI MASALA
    CERTIFICATES PAGE
==================================================*/


/*==================================================
    CERTIFICATE HERO
==================================================*/

.certificate-hero{
    position:relative;
    padding:110px 0;
    background:
        linear-gradient(
            90deg,
            rgba(18,53,36,.68),
            rgba(18,53,36,.34)
        ),
        url("../images/certificate/certificates-banner.png")
        center/cover no-repeat;
    color:#fff;
}

.certificate-hero-content{
    max-width:800px;
}

.certificate-hero-content > span{
    display:inline-block;
    margin-bottom:18px;
    padding:8px 18px;
    border:1px solid rgba(255,255,255,.4);
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.certificate-hero h1{
    margin:0 0 22px;
    font-size:56px;
    line-height:1.15;
}

.certificate-hero h1 strong{
    display:block;
    color:#f0c75e;
}

.certificate-hero p{
    max-width:680px;
    margin:0 0 30px;
    color:rgba(255,255,255,.9);
    font-size:17px;
    line-height:1.85;
}


/*==================================================
    BREADCRUMB
==================================================*/

.certificate-breadcrumb{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:14px;
}

.certificate-breadcrumb a{
    color:#fff;
    text-decoration:none;
}

.certificate-breadcrumb a:hover{
    color:#f0c75e;
}

.certificate-breadcrumb i{
    font-size:11px;
    opacity:.7;
}

.certificate-breadcrumb span{
    color:#f0c75e;
}


/*==================================================
    INTRO
==================================================*/

.certificate-intro{
    padding:95px 0 65px;
    background:#fff;
}

.certificate-intro-content{
    max-width:800px;
    margin:0 auto;
    text-align:center;
}

.certificate-intro-content h2{
    margin:0 0 20px;
    color:#222;
    font-size:44px;
    line-height:1.2;
}

.certificate-intro-content p{
    margin:0 auto 15px;
    color:#666;
    font-size:16px;
    line-height:1.85;
}


/*==================================================
    SECTION LABEL
==================================================*/

.certificate-intro .section-label,
.compliance-content .section-label{
    display:inline-block;
    margin-bottom:15px;
    padding:8px 18px;
    border-radius:30px;
    background:#f5ead0;
    color:#8a6500;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}


/*==================================================
    CERTIFICATE LIST
==================================================*/

.certificates-list{
    padding:55px 0 100px;
    background:#f8faf7;
}

.certificates-list .section-header{
    max-width:760px;
    margin:0 auto 50px;
    text-align:center;
}

.certificates-list .section-header > span{
    display:inline-block;
    margin-bottom:15px;
    padding:8px 18px;
    border-radius:30px;
    background:#f5ead0;
    color:#8a6500;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.certificates-list .section-header h2{
    margin:0 0 18px;
    color:#222;
    font-size:42px;
    line-height:1.2;
}

.certificates-list .section-header p{
    margin:0;
    color:#666;
    font-size:16px;
    line-height:1.8;
}


/*==================================================
    CERTIFICATE GRID
==================================================*/

.certificate-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.certificate-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:370px;
    padding:30px 25px;
    background:#fff;
    border:1px solid #e3eae4;
    border-radius:22px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.certificate-card:hover{
    transform:translateY(-8px);
    border-color:rgba(31,107,45,.18);
    box-shadow:0 22px 45px rgba(0,0,0,.09);
}


/*==================================================
    CERTIFICATE ICON
==================================================*/

.certificate-icon{
    width:62px;
    height:62px;
    margin-bottom:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:#eef8ef;
    color:var(--primary);
    font-size:23px;
}


/*==================================================
    STATUS
==================================================*/

.certificate-status{
    display:inline-flex;
    width:max-content;
    margin-bottom:12px;
    padding:6px 11px;
    border-radius:20px;
    background:#eaf7ed;
    color:#24733a;
    font-size:10px;
    font-weight:700;
    letter-spacing:.7px;
}

.certificate-status.pending{
    background:#fff4dc;
    color:#9a6b00;
}


/*==================================================
    CARD CONTENT
==================================================*/

.certificate-card h3{
    margin:0 0 12px;
    color:#222;
    font-size:21px;
    line-height:1.3;
}

.certificate-card p{
    margin:0 0 25px;
    color:#666;
    font-size:14px;
    line-height:1.75;
}


/*==================================================
    VIEW BUTTON
==================================================*/

.certificate-view{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
    padding:12px 15px;
    border:1px solid #dfe7e1;
    border-radius:9px;
    background:#fff;
    color:var(--primary);
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.3s ease;
}

.certificate-view:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}

.certificate-view i{
    transition:.3s ease;
}

.certificate-view:hover i{
    transform:translateX(4px);
}


/*==================================================
    COMPLIANCE
==================================================*/

.compliance-section{
    padding:100px 0;
    background:#fff;
}

.compliance-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:70px;
    align-items:center;
}

.compliance-content h2{
    margin:0 0 20px;
    color:#222;
    font-size:43px;
    line-height:1.2;
}

.compliance-content p{
    max-width:700px;
    margin:0 0 15px;
    color:#666;
    font-size:16px;
    line-height:1.85;
}


/*==================================================
    COMPLIANCE POINTS
==================================================*/

.compliance-points{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.compliance-point{
    display:flex;
    align-items:center;
    gap:12px;
    padding:18px;
    border:1px solid #e5ebe6;
    border-radius:15px;
    background:#f8faf7;
    color:#444;
    font-size:14px;
    font-weight:600;
}

.compliance-point i{
    width:32px;
    height:32px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eaf7ed;
    color:var(--primary);
    font-size:13px;
}


/*==================================================
    ENQUIRY
==================================================*/

.certificate-enquiry{
    padding:80px 0;
    background:
        linear-gradient(
            135deg,
            #e0e5e2,
            #60d475
        );
    color:#fff;
}

.certificate-enquiry-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.certificate-enquiry-wrapper > div{
    max-width:750px;
}

.certificate-enquiry-wrapper > div > span{
    color:#f0c75e;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.certificate-enquiry-wrapper h2{
    margin:12px 0 15px;
    font-size:40px;
    line-height:1.2;
}

.certificate-enquiry-wrapper p{
    margin:0;
    color:rgba(255,255,255,.85);
    font-size:15px;
    line-height:1.8;
}


/*==================================================
    TABLET
==================================================*/

@media(max-width:1100px){

    .certificate-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:992px){

    .certificate-hero{
        padding:90px 0;
    }

    .certificate-hero h1{
        font-size:46px;
    }

    .compliance-grid{
        grid-template-columns:1fr;
        gap:45px;
    }

    .compliance-content{
        max-width:750px;
        margin:0 auto;
        text-align:center;
    }

    .certificate-enquiry-wrapper{
        flex-direction:column;
        text-align:center;
    }

}


/*==================================================
    MOBILE
==================================================*/

@media(max-width:768px){

    .certificate-hero{
        padding:70px 0;
    }

    .certificate-hero-content{
        text-align:center;
        margin:0 auto;
    }

    .certificate-hero h1{
        font-size:36px;
    }

    .certificate-hero p{
        font-size:15px;
    }

    .certificate-breadcrumb{
        justify-content:center;
    }

    .certificate-intro,
    .certificates-list,
    .compliance-section{
        padding:70px 0;
    }

    .certificate-intro-content h2,
    .certificates-list .section-header h2,
    .compliance-content h2{
        font-size:34px;
    }

    .certificate-grid{
        grid-template-columns:1fr;
    }

    .certificate-card{
        min-height:340px;
    }

    .compliance-points{
        grid-template-columns:1fr;
    }

    .certificate-enquiry{
        padding:65px 0;
    }

    .certificate-enquiry-wrapper h2{
        font-size:32px;
    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media(max-width:480px){

    .certificate-hero h1{
        font-size:30px;
    }

    .certificate-hero-content > span{
        font-size:11px;
    }

    .certificate-intro-content h2,
    .certificates-list .section-header h2,
    .compliance-content h2{
        font-size:29px;
    }

    .certificate-card{
        padding:25px 20px;
    }

    .certificate-enquiry-wrapper h2{
        font-size:28px;
    }

}
/*==================================================
    CERTIFICATE SCROLL ANIMATION
==================================================*/

.certificate-animate{
    opacity:0;
    transform:translateY(25px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.certificate-visible{
    opacity:1;
    transform:translateY(0);
}

/*==================================================
    HERO IMAGE CLARITY FIX
==================================================*/

.certificate-hero h1{
    color:#fff;
    text-shadow:0 2px 5px rgba(0,0,0,.18);
}

.certificate-hero p{
    color:#fff;
    text-shadow:0 1px 3px rgba(0,0,0,.25);
}