.colourmetrix,
.keyintermediates{
    --what-sets-apart-background: #ffebeb80;
    --section-title-background: linear-gradient(to right, #a30c5e, #d41e8e, #640962);
    --section-subtitle-color: #333;
    --section-subtitle-font-size: 1.5rem;
    --values-section-display: flex;
    --value-box-background: #ffffff;
    --value-box-border-radius: 16px;
    --value-box-box-shadow: 0px 2px 8px rgb(0 0 0 / 0.04);
    --value-box-transition: transform 0.3s ease, box-shadow 0.4s ease;
    --value-box-width: 100%;
    --value-box-flex-direction: column;
    --value-box-align-items: center;
    --value-box-border: 1px solid #fff5f0;
    --value-box-nth-child-even-image-wrapper-img-height: 210px;
    --value-box-nth-child-odd-image-wrapper-img-height: 210px;
    --image-wrapper-img-transform-origin: center center;
    --image-wrapper-img-display: block;
    --value-content-padding: 10px 20px 25px;
    --value-content-h3-color: #a30c5e;
    --value-content-h3-font-size: 17px;
    --value-content-h3-font-weight: 600;
    --value-content-h3-letter-spacing: 0.25px;
    --value-content-p-margin-top: 10px;
    --value-content-p-line-height: 1.45;
    --mobile-values-section-gap: 20px;
    --mobile-section-title-font-size: 2rem;
    --mobile-section-title-margin-top: 0px;
    --mobile-section-sub-title-font-size: 1.1rem;
    --mobile-section-sub-title-margin-bottom: 2px;
    --mobile-value-box-width: 80%;
}

.flavandfrag,
.tredapi,
.phormulations,
.xipients{ 
    --what-sets-apart-background: #e8ebea57;
    --what-sets-apart-border-radius: 12px;
    --section-title-background: linear-gradient(180deg, #053763, #4c81b8 100%);
    --section-subtitle-color: #053763;
    --section-subtitle-font-size: 1.4rem;
    --values-section-display: grid;
    --values-section-grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    --value-box-background: linear-gradient(180deg, #ffffff, #f9fcff);
    --value-box-border-radius: 20px;
    --value-box-box-shadow: 0 8px 24px rgba(28, 100, 198, 0.08);
    --value-box-transition: transform 0.3s ease, box-shadow 0.3s ease;
    --value-box-flex-direction: row;
    --value-box-border: 1px solid #e4f0ff;
    --value-box-hover-transform: translateY(-5px);
    --value-box-hover-box-shadow: 0 12px 30px #1c64c61f;
    --value-box-nth-child-even-image-wrapper-img-height: 100%;
    --value-box-nth-child-odd-image-wrapper-img-height: 100%;
    --image-wrapper-flex: 0 0 300px;
    --image-wrapper-border-right: 1px solid #dceeff;
    --image-wrapper-img-height: 100%;
    --value-content-padding: 1.4rem 1.2rem 1.8rem;
    --value-content-h3-color: #053763;
    --value-content-h3-font-size: 18px;
    --value-content-h3-font-weight: 700;
    --value-content-h3-position: relative;
    --value-content-p-margin-top: 0px;
    --value-content-p-line-height: 1.6;
    --mobile-section-title-font-size: 30px;
    --mobile-section-title-margin-top: 24px;
    --mobile-section-sub-title-font-size: 16px;
    --mobile-section-sub-title-margin-bottom: 10px;
    --mobile-value-section-padding: 20px 10px;
    --mobile-value-box-width: 90%;
}

.keyintermediates{
    --what-sets-apart-background: #e1f1fd;
    --section-title-background: linear-gradient(to right, #032668, #093689, #02487d);
    --section-subtitle-color: #555;
    --value-content-h3-color: #053763;
}

.phormulations{
    --value-box-background: linear-gradient(180deg, #e8f0f7, #eff4f9);
}

.xipients{
    --mobile-value-section-padding: none;
}

.what-sets-apart {
    font-family: Afacad, sans-serif;
    padding: 1rem 35px 55px;
    position: relative;
    text-align: center;
    background: var(--what-sets-apart-background);
    scroll-margin-top: 55px;
    border-radius: var(--what-sets-apart-border-radius);
}
.what-sets-apart .section-title {
    font-family: Afacad;
    margin-top: 24px;
    margin-bottom: 0px;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--section-title-background);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: center;
}
.what-sets-apart .section-subtitle {
    font-family: Afacad;
    margin-top: 10px;
    margin-bottom: 2px;
    font-size: var(--section-subtitle-font-size);
    font-weight: 500;
    color: var(--section-subtitle-color);
    text-align: center;
}
.what-sets-apart > .section-description {
    text-align: center;
    color: #7f7f7f;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto 40px;
}
.values-section {
    display: var(--values-section-display);
    gap: 30px;
    justify-content: center;
    grid-template-columns: var(--values-section-grid-template-columns);
}
.value-box {
    background: var(--value-box-background);
    border-radius: var(--value-box-border-radius);
    box-shadow: var(--value-box-box-shadow);
    transition: var(--value-box-transition);
    width: var(--value-box-width);
    display: flex;
    flex-direction: var(--value-box-flex-direction);
    align-items: var(--value-box-align-items);
    overflow: hidden;
    position: relative;
    border: var(--value-box-border);
}
.value-box:hover {
    transform: var(--value-box-hover-transform);
    box-shadow: var(--value-box-hover-box-shadow);
}
.image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    flex: var(--image-wrapper-flex);
    border-right: var(--image-wrapper-border-right);
}
.image-wrapper img {
    width: 100%;
    transition: transform 0.4s ease;
    transform-origin: var(--image-wrapper-img-transform-origin);
    object-fit: cover;
    display: var(--image-wrapper-img-display);
    height: var(--image-wrapper-img-height);
}
.value-box:nth-child(odd) .image-wrapper img {
    height: var(--value-box-nth-child-odd-image-wrapper-img-height);
}
.value-box:nth-child(even) .image-wrapper img {
    height: var(--value-box-nth-child-even-image-wrapper-img-height);
}
.image-wrapper:hover img {
    transform: scale(1.05);
}
.value-content {
    text-align: left;
    padding: var(--value-content-padding);
    flex-grow: 1;
}
.value-content h3 {
    color: var(--value-content-h3-color);
    font-size: var(--value-content-h3-font-size);
    font-weight: var(--value-content-h3-font-weight);
    letter-spacing: var(--value-content-h3-letter-spacing);
    position: var(--value-content-h3-position);
    margin-bottom: 10px;
}
.value-content p {
    margin-top: var(--value-content-p-margin-top);
    margin-bottom: 0px;
    font-size: 15px;
    color: #333;
    line-height: var(--value-content-p-line-height);
}
@media (max-width: 768px){
    .what-sets-apart {
        padding: 1.5rem 1rem 3rem;
        border-radius: 10px;
    }
    .what-sets-apart .section-title {
        font-size: var(--mobile-section-title-font-size);
        margin-top: var(--mobile-section-title-margin-top);
    }
    .what-sets-apart .section-subtitle {
        font-size: var(--mobile-section-sub-title-font-size);
        margin-bottom: var(--mobile-section-sub-title-margin-bottom);
    }
    .what-sets-apart > .section-description {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    .values-section {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        display: flex;
        padding: var(--mobile-value-section-padding);
    }
    .value-box {
        width: var(--mobile-value-box-width);
        max-width: 400px;
        flex-direction: column;
    }
    .image-wrapper {
        flex: none;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #dceeff;
    }
    .image-wrapper img {
        height: 180px !important;
    }
    .value-content {
        text-align: center;
        padding: 15px;
    }
    .value-content h3 {
        font-size: 1.05rem;
    }
    .value-content p {
        font-size: 0.95rem;
    }
}