@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

.core-values{
    position:relative;
    width:100%;
    height:calc(100vh - 95px);
    min-height:600px;
    max-height:none;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:#f8f8f6;
    box-sizing:border-box;
}

.cv-background{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
}

.cv-grid{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(201,162,39,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(201,162,39,.035) 1px,transparent 1px);
    background-size:50px 50px;
}

.cv-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
}

.cv-glow-left{
    width:450px;
    height:450px;
    left:-250px;
    top:-280px;
    background:rgba(201,162,39,.08);
}

.cv-glow-right{
    width:400px;
    height:400px;
    right:-220px;
    bottom:-250px;
    background:rgba(201,162,39,.08);
}

.cv-container{
    position:relative;
    z-index:2;
    width:min(90%,1250px);
    margin:auto;
}

.cv-heading{
    margin:0 auto 28px;
    text-align:center;
}

.cv-label{
    display:inline-flex;
    align-items:center;
    padding:6px 16px;
    margin-bottom:9px;
    border:1px solid rgba(201,162,39,.30);
    background:#fff;
    color:#C9A227;
    font-size:.65rem;
    font-weight:800;
    letter-spacing:1.5px;
}

.cv-heading h2{
    margin:0 0 8px;
    color:#111;
    font-size:clamp(2.3rem,3.6vw,3.4rem);
    line-height:1;
    font-weight:800;
    letter-spacing:-2px;
}

.cv-heading h2 span{
    color:#C9A227;
}

.cv-heading p{
    max-width:600px;
    margin:0 auto;
    color:#626262;
    font-size:.82rem;
    line-height:1.5;
}

.cv-layout{
    width:100%;
}

.cv-values{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
    width:100%;
}

.cv-card{
    position:relative;
    grid-column:span 2;
    min-height:175px;
    padding:22px 17px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:#fff;
    border:1px solid rgba(201,162,39,.18);
    box-shadow:0 12px 30px rgba(0,0,0,.05);
    overflow:hidden;
    box-sizing:border-box;
    opacity:0;
    transform:translateY(25px);
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.22,1,.36,1),
        border-color .3s ease,
        box-shadow .3s ease;
}

.cv-card:nth-child(4){
    grid-column:2 / span 2;
}

.cv-card:nth-child(5){
    grid-column:4 / span 2;
}

.cv-card.visible{
    opacity:1;
    transform:translateY(0);
}

.cv-card:nth-child(1){
    transition-delay:.05s;
}

.cv-card:nth-child(2){
    transition-delay:.1s;
}

.cv-card:nth-child(3){
    transition-delay:.15s;
}

.cv-card:nth-child(4){
    transition-delay:.2s;
}

.cv-card:nth-child(5){
    transition-delay:.25s;
}

.cv-card::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    width:45px;
    height:3px;
    transform:translateX(-50%);
    background:#C9A227;
}

.cv-card:hover{
    transform:translateY(-6px);
    border-color:rgba(201,162,39,.55);
    box-shadow:0 20px 40px rgba(0,0,0,.09);
}

.cv-card-icon{
    width:48px;
    height:48px;
    margin-bottom:11px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#C9A227;
    color:#fff;
    font-size:17px;
    box-shadow:0 9px 20px rgba(201,162,39,.18);
    transition:transform .3s ease,background .3s ease;
}

.cv-card:hover .cv-card-icon{
    transform:translateY(-3px);
    background:#111;
}

.cv-card h3{
    margin:0 0 6px;
    color:#111;
    font-size:1rem;
    font-weight:800;
}

.cv-card p{
    max-width:220px;
    margin:0;
    color:#666;
    font-size:.68rem;
    line-height:1.5;
}

.cv-feature{
    display:none;
}

@media(max-width:1100px){
    .core-values{
        height:auto;
        min-height:100vh;
        padding:60px 0;
    }

    .cv-container{
        width:90%;
    }
}

@media(max-width:768px){
    .core-values{
        height:auto;
        min-height:100svh;
        padding:55px 0;
    }

    .cv-container{
        width:90%;
    }

    .cv-heading{
        margin-bottom:25px;
    }

    .cv-heading h2{
        font-size:2.5rem;
    }

    .cv-heading p{
        font-size:.78rem;
    }

    .cv-values{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .cv-card,
    .cv-card:nth-child(4),
    .cv-card:nth-child(5){
        grid-column:auto;
        min-height:155px;
        padding:18px 10px;
    }

    .cv-card:nth-child(5){
        grid-column:1 / -1;
        width:calc(50% - 6px);
        justify-self:center;
    }

    .cv-card-icon{
        width:43px;
        height:43px;
        margin-bottom:9px;
        font-size:15px;
    }

    .cv-card h3{
        font-size:.82rem;
    }

    .cv-card p{
        font-size:.6rem;
        line-height:1.45;
    }
}

@media(max-width:480px){
    .core-values{
        padding:45px 0;
    }

    .cv-container{
        width:92%;
    }

    .cv-heading{
        margin-bottom:22px;
    }

    .cv-heading h2{
        font-size:2.2rem;
    }

    .cv-heading p{
        font-size:.72rem;
    }

    .cv-values{
        gap:10px;
    }

    .cv-card,
    .cv-card:nth-child(4),
    .cv-card:nth-child(5){
        min-height:145px;
        padding:15px 8px;
    }

    .cv-card:nth-child(5){
        width:calc(50% - 5px);
    }

    .cv-card-icon{
        width:39px;
        height:39px;
        margin-bottom:7px;
        font-size:14px;
    }

    .cv-card h3{
        font-size:.75rem;
    }

    .cv-card p{
        font-size:.55rem;
    }
}

@media(prefers-reduced-motion:reduce){
    .cv-card{
        opacity:1;
        transform:none;
        transition:none;
    }
}