<?php
/**
 * OPPULENT CHEMICALLS EXCELLENCE INNOVATION
 * Cosmetics & Personal Care — Premium Responsive Page
 * WhatsApp Enquiry: +91 74284 65992
 * No strict_types declaration.
 */

$cpHeaderCandidates = [
    __DIR__ . '/header.php',
    __DIR__ . '/../header.php',
    __DIR__ . '/../../header.php'
];

foreach ($cpHeaderCandidates as $cpHeaderFile) {
    if (is_file($cpHeaderFile)) {
        include_once $cpHeaderFile;
        break;
    }
}
?>

<!-- Bootstrap & External CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;700;800&family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">


<style>
/* =========================================================
   COSMETICS & PERSONAL CARE — PREMIUM 2026 UI
========================================================= */
.cosmetics-page {
    --cp-green: #28583e;
    --cp-green-dark: #173b2a;
    --cp-green-light: #eaf3ed;
    --cp-gold: #c4a66a;
    --cp-heading: #182a23;
    --cp-text: #617067;
    --cp-muted: #f5f8f5;
    --cp-border: #e2eae4;
    --cp-white: #fff;
    color: var(--cp-text);
    background: #fff;
    font-family: inherit;
    overflow: hidden;
}

.cosmetics-page *,
.cosmetics-page *::before,
.cosmetics-page *::after {
    box-sizing: border-box;
}

.cosmetics-page img {
    display: block;
    max-width: 100%;
}

.cosmetics-page a {
    text-decoration: none;
}

.cosmetics-page h1,
.cosmetics-page h2,
.cosmetics-page h3,
.cosmetics-page h4 {
    color: var(--cp-heading);
    font-weight: 750;
    line-height: 1.2;
}

.cp-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.cp-section {
    padding: 86px 0;
}

.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--cp-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cp-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 3px;
    background: var(--cp-gold);
}

.cp-section-heading {
    max-width: 740px;
    margin: 0 auto 44px;
    text-align: center;
}

.cp-section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(29px, 3.5vw, 43px);
    letter-spacing: -1.3px;
}

.cp-section-heading p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9;
}

.cp-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 23px;
    border: 1px solid var(--cp-green);
    border-radius: 8px;
    background: var(--cp-green);
    color: #fff !important;
    font-size: 13px;
    font-weight: 750;
    transition: .25s ease;
    cursor: pointer;
}

.cp-button:hover {
    transform: translateY(-3px);
    border-color: var(--cp-green-dark);
    background: var(--cp-green-dark);
    box-shadow: 0 12px 24px rgba(40, 88, 62, .18);
}

.cp-button-outline {
    border-color: var(--cp-border);
    background: #fff;
    color: var(--cp-green) !important;
}

.cp-button-outline:hover {
    border-color: var(--cp-green);
    background: var(--cp-green-light);
    color: var(--cp-green) !important;
    box-shadow: none;
}

.cp-button i {
    font-size: 15px;
}

/* =========================================================
   1. IMAGE-ONLY BANNER
========================================================= */
.cosmetics-page .cp-banner {
    width: 100%;
    height: clamp(230px, 34vw, 430px);
    min-height: 230px;
    background-color: #e9eee9;
    background-image: url("assets/images/csrhomepage1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* =========================================================
   2. HERO
========================================================= */
.cp-hero {
    position: relative;
    padding: 82px 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(203, 224, 208, .4), transparent 40%),
        linear-gradient(135deg, #f7faf7, #fff 65%);
}

.cp-hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 62px;
}

.cp-hero-copy h1 {
    max-width: 650px;
    margin: 0 0 23px;
    font-size: clamp(36px, 4.5vw, 57px);
    letter-spacing: -2px;
    line-height: 1.1;
}

.cp-hero-copy h1 span {
    color: var(--cp-green);
}

.cp-hero-copy > p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.95;
}

.cp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.cp-hero-image {
    position: relative;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(26, 57, 38, .12);
}

.cp-hero-image::before {
    position: absolute;
    z-index: 0;
    top: -12px;
    right: -12px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--cp-gold);
    border-right: 3px solid var(--cp-gold);
    border-radius: 0 18px 0 0;
    content: "";
    pointer-events: none;
}

.cp-hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 380px;
    border-radius: 17px;
    background: #f8faf8;
    object-fit: contain;
}

.cp-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--cp-border);
}

.cp-hero-note-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 13px;
    background: var(--cp-green-light);
    color: var(--cp-green);
    font-size: 18px;
}

.cp-hero-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--cp-heading);
    font-size: 13px;
}

.cp-hero-note small {
    display: block;
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   3. PRODUCT PORTFOLIO
========================================================= */
.cp-products {
    background: #fff;
}

.cp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.cp-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cp-border);
    border-radius: 17px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cp-product-card:hover {
    transform: translateY(-7px);
    border-color: #c7d9cc;
    box-shadow: 0 20px 45px rgba(23, 59, 42, .10);
}

.cp-product-image {
    display: grid;
    height: 245px;
    padding: 22px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #f4f8f4, #fafbfa);
}

.cp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.cp-product-card:hover .cp-product-image img {
    transform: scale(1.055);
}

.cp-product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 21px;
}

.cp-product-info h3 {
    margin: 0;
    font-size: 17px;
}

.cp-product-info small {
    display: block;
    margin-top: 7px;
    color: var(--cp-text);
    font-size: 12px;
    line-height: 1.6;
}

.cp-product-arrow {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--cp-green-light);
    color: var(--cp-green);
    transition: .25s ease;
}

.cp-product-card:hover .cp-product-arrow {
    background: var(--cp-green);
    color: #fff;
}

/* =========================================================
   4. SCIENCE & INNOVATION
========================================================= */
.cp-innovation {
    background: var(--cp-muted);
}

.cp-innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 68px;
}

.cp-innovation-image {
    position: relative;
    padding: 12px;
    border: 1px solid #fff;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(23, 59, 42, .08);
}

.cp-innovation-image img {
    width: 100%;
    height: 390px;
    border-radius: 15px;
    background: #f8faf8;
    object-fit: contain;
}

.cp-innovation-copy h2 {
    margin: 0 0 20px;
    font-size: clamp(29px, 3.4vw, 42px);
    letter-spacing: -1.1px;
}

.cp-innovation-copy > p {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.95;
}

.cp-trust-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
}

.cp-trust-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 13px;
    background: #fff;
    color: var(--cp-green);
    box-shadow: 0 5px 18px rgba(23, 59, 42, .06);
    font-size: 19px;
}

.cp-trust-note strong {
    display: block;
    margin: 2px 0 6px;
    color: var(--cp-heading);
    font-size: 14px;
}

.cp-trust-note span {
    display: block;
    font-size: 13px;
    line-height: 1.8;
}

.cp-innovation-copy .cp-button {
    margin-top: 12px;
}

/* =========================================================
   5. SPECIALITY CHEMICALS SLIDER
========================================================= */
.cp-speciality {
    background: #fff;
}

.cp-chemical-slider {
    overflow: hidden;
    padding: 5px 2px 15px;
}

.cp-chemical-grid {
    display: flex;
    align-items: stretch;
    gap: 22px;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.cp-chemical-card {
    display: flex;
    flex: 0 0 calc((100% - 66px) / 4);
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cp-border);
    border-radius: 15px;
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease;
}

.cp-chemical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 36px rgba(23, 59, 42, .09);
}

.cp-chemical-image {
    height: 190px;
    overflow: hidden;
    background: #f4f7f4;
}

.cp-chemical-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.cp-chemical-card:hover .cp-chemical-image img {
    transform: scale(1.06);
}

.cp-chemical-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.cp-chemical-content h3 {
    min-height: 43px;
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.45;
}

.cp-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--cp-green);
    font-size: 12px;
    font-weight: 800;
}

.cp-read-more i {
    transition: transform .2s ease;
}

.cp-read-more:hover {
    color: var(--cp-green-dark);
}

.cp-read-more:hover i {
    transform: translateX(4px);
}

.cp-chemical-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 29px;
}

.cp-chemical-slider-btn {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid var(--cp-border);
    border-radius: 50%;
    background: #fff;
    color: var(--cp-green);
    cursor: pointer;
    transition: .25s ease;
}

.cp-chemical-slider-btn:hover:not(:disabled) {
    border-color: var(--cp-green);
    background: var(--cp-green);
    color: #fff;
}

.cp-chemical-slider-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.cp-chemical-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.cp-chemical-slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #ccd6ce;
    cursor: pointer;
    transition: .25s ease;
}

.cp-chemical-slider-dot.is-active {
    width: 23px;
    background: var(--cp-green);
}

/* =========================================================
   6. CONTACT / WHATSAPP ENQUIRY
========================================================= */
.cp-contact {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(205, 226, 210, .45), transparent 42%),
        #f4f7f4;
}

.cp-contact-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: stretch;
    gap: 30px;
}

.cp-contact-card {
    min-width: 0;
    padding: 36px;
    border: 1px solid rgba(226, 234, 228, .9);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 59, 42, .06);
}

.cp-contact-card h2 {
    margin: 0 0 12px;
    font-size: 30px;
    letter-spacing: -.7px;
}

.cp-contact-card > p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.8;
}

.cp-direct-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.cp-direct-contact .cp-button {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 12px;
}

.cp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.cp-form-field {
    min-width: 0;
}

.cp-form-field.full {
    grid-column: 1 / -1;
}

.cp-field-label {
    display: block;
    margin-bottom: 7px;
    color: var(--cp-heading);
    font-size: 12px;
    font-weight: 700;
}

.cp-contact .form-control {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #dfe7e0;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--cp-heading);
    font: inherit;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cp-contact .form-control::placeholder {
    color: #87938b;
    opacity: 1;
}

.cp-contact .form-control:focus {
    border-color: var(--cp-green);
    box-shadow: 0 0 0 3px rgba(40, 88, 62, .10);
}

.cp-contact textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

.cp-contact .cp-submit {
    width: 100%;
    min-height: 53px;
    border: 0;
    background: #18864b;
}

.cp-contact .cp-submit:hover {
    background: #126c3b;
}

.cp-form-note {
    margin: 11px 0 0;
    color: #718077;
    font-size: 11px;
    line-height: 1.7;
}

.cp-contact-image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #dce6dd;
    box-shadow: 0 18px 48px rgba(23, 59, 42, .08);
}

.cp-contact-image img {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
}

.cp-contact-image-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 13px;
    background: rgba(20, 49, 34, .86);
    color: #fff;
    backdrop-filter: blur(8px);
}

.cp-contact-image-caption strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 20px;
}

.cp-contact-image-caption span {
    display: block;
    color: rgba(255,255,255,.84);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================================================
   7. SEO CONTENT
========================================================= */
.cp-seo {
    padding: 66px 0;
    background: #fff;
}

.cp-seo-inner {
    max-width: 1050px;
    margin: auto;
}

.cp-seo h2 {
    margin: 0 0 20px;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.7px;
}

.cp-seo p {
    margin: 0;
    font-size: 14px;
    line-height: 2;
}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */
.cp-floating-whatsapp {
    position: fixed;
    z-index: 999;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 57px;
    height: 57px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #1fae59;
    color: #fff !important;
    box-shadow: 0 7px 24px rgba(0, 0, 0, .20);
    font-size: 29px;
    transition: transform .2s ease;
}

.cp-floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.04);
    color: #fff;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1050px) {
    .cp-hero-grid {
        gap: 35px;
    }

    .cp-innovation-grid {
        gap: 38px;
    }

    .cp-contact-card {
        padding: 27px;
    }

    .cp-chemical-card {
        flex-basis: calc((100% - 44px) / 3);
    }
}

@media (max-width: 767px) {
    .cp-container {
        width: calc(100% - 30px);
    }

    .cp-section {
        padding: 52px 0;
    }

    .cosmetics-page .cp-banner {
        height: 225px;
        min-height: 225px;
    }

    .cp-hero {
        padding: 48px 0;
    }

    .cp-hero-grid,
    .cp-innovation-grid,
    .cp-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cp-hero-copy h1 {
        font-size: clamp(33px, 8vw, 43px);
        letter-spacing: -1.2px;
    }

    .cp-hero-copy > p {
        font-size: 14px;
        line-height: 1.85;
    }

    .cp-hero-image img {
        height: 270px;
    }

    .cp-section-heading {
        margin-bottom: 29px;
    }

    .cp-section-heading h2 {
        font-size: 30px;
    }

    .cp-section-heading p {
        font-size: 14px;
    }

    .cp-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .cp-product-image {
        height: 170px;
        padding: 12px;
    }

    .cp-product-info {
        align-items: flex-start;
        padding: 14px;
    }

    .cp-product-info h3 {
        font-size: 14px;
        line-height: 1.45;
    }

    .cp-product-info small {
        font-size: 11px;
    }

    .cp-product-arrow {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .cp-innovation-image img {
        height: 280px;
    }

    .cp-innovation-copy h2 {
        font-size: 31px;
    }

    .cp-chemical-grid {
        gap: 14px;
    }

    .cp-chemical-card {
        flex-basis: calc((100% - 14px) / 2);
    }

    .cp-chemical-image {
        height: 145px;
    }

    .cp-chemical-content {
        padding: 14px;
    }

    .cp-chemical-content h3 {
        min-height: 40px;
        font-size: 14px;
    }

    .cp-contact-card {
        padding: 24px 18px;
    }

    .cp-contact-card h2 {
        font-size: 26px;
    }

    .cp-form-grid {
        gap: 13px;
    }

    .cp-contact-image img {
        min-height: 300px;
        height: 300px;
    }

    .cp-contact-image-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 18px;
    }

    .cp-contact-image-caption strong {
        font-size: 18px;
    }

    .cp-seo {
        padding: 48px 0;
    }

    .cp-floating-whatsapp {
        right: 14px;
        bottom: 15px;
        width: 51px;
        height: 51px;
        font-size: 25px;
    }
}

@media (max-width: 420px) {
    .cp-product-grid {
        grid-template-columns: 1fr;
    }

    .cp-product-image {
        height: 220px;
    }

    .cp-chemical-card {
        flex-basis: 100%;
    }

    .cp-chemical-image {
        height: 200px;
    }

    .cp-form-grid {
        grid-template-columns: 1fr;
    }

    .cp-form-field.full {
        grid-column: auto;
    }

    .cp-hero-actions .cp-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cosmetics-page *,
    .cosmetics-page *::before,
    .cosmetics-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
</style>

<div class="cosmetics-page">

    <!-- 1. IMAGE-ONLY BANNER -->
    <section
        class="cp-banner"
        role="img"
        aria-label="Cosmetics and personal care">
    </section>

    <!-- 2. PREMIUM INTRODUCTION -->
    <section class="cp-hero">
        <div class="cp-container">
            <div class="cp-hero-grid">

                <div class="cp-hero-copy">
                    <span class="cp-eyebrow">Cosmetics &amp; Personal Care</span>

                    <h1>
                        Ingredients for
                        <span>Beauty &amp; Personal Care</span>
                    </h1>

                    <p>
                        OPPULENT CHEMICALLS EXCELLENCE INNOVATION offers a portfolio
                        of cosmetic ingredients designed to support the evolving
                        needs of the personal care industry. Our chemical expertise
                        helps manufacturers explore ingredients for product
                        performance, quality and formulation development.
                    </p>

                    <p>
                        Explore solutions including UV filters, vitamins,
                        surfactants and thickeners for modern beauty, skincare
                        and personal care applications.
                    </p>

                    <div class="cp-hero-actions">
                        <a href="#cp-enquiry" class="cp-button">
                            Discuss Your Requirements
                            <i class="fa-solid fa-arrow-right" aria-hidden="true"></i>
                        </a>

                        <a href="#cp-products" class="cp-button cp-button-outline">
                            Explore Products
                            <i class="fa-solid fa-chevron-down" aria-hidden="true"></i>
                        </a>
                    </div>

                    <div class="cp-hero-note">
                        <div class="cp-hero-note-icon">
                            <i class="fa-solid fa-flask" aria-hidden="true"></i>
                        </div>
                        <div>
                            <strong>Ingredient Solutions for Manufacturers</strong>
                            <small>Product enquiries and application-focused assistance.</small>
                        </div>
                    </div>
                </div>

                <div class="cp-hero-image">
                    <img
                        src="assets/images/costpts.jpg"
                        alt="Cosmetics and personal care ingredients"
                        fetchpriority="high">
                </div>

            </div>
        </div>
    </section>

    <!-- 3. OUR PRODUCTS -->
    <section class="cp-section cp-products" id="cp-products">
        <div class="cp-container">

            <div class="cp-section-heading">
                <span class="cp-eyebrow">Our Portfolio</span>
                <h2>Cosmetic Ingredient Solutions</h2>
                <p>
                    Discover products and ingredient categories for personal care
                    development, from skincare to everyday beauty applications.
                </p>
            </div>

            <div class="cp-product-grid">

                <a href="cosmetics-personal-care/cosmetic-product.html"
                   class="cp-product-card">

                    <div class="cp-product-image">
                        <img
                            src="assets/images/1771362158.jpg"
                            alt="Cosmetic product portfolio"
                            loading="lazy">
                    </div>

                    <div class="cp-product-info">
                        <div>
                            <h3>Cosmetic Products</h3>
                            <small>Explore our cosmetic ingredient range.</small>
                        </div>
                        <span class="cp-product-arrow">
                            <i class="fa-solid fa-arrow-right" aria-hidden="true"></i>
                        </span>
                    </div>
                </a>

            </div>
        </div>
    </section>

    <!-- 4. SCIENCE AND INNOVATION -->
    <section class="cp-section cp-innovation">
        <div class="cp-container">
            <div class="cp-innovation-grid">

                <div class="cp-innovation-image">
                    <img
                        src="assets/images/herbaxyllgoo.jpg"
                        alt="Science and innovation for personal care ingredients"
                        loading="lazy">
                </div>

                <div class="cp-innovation-copy">
                    <span class="cp-eyebrow">Our Expertise</span>

                    <h2>Enhancing Beauty Through Science &amp; Innovation</h2>

                    <p>
                        We combine product knowledge and customer-focused support
                        to help manufacturers explore ingredients for their
                        personal care formulations.
                    </p>

                    <div class="cp-trust-note">
                        <div class="cp-trust-icon">
                            <i class="fa-solid fa-flask" aria-hidden="true"></i>
                        </div>
                        <div>
                            <strong>Technical Product Assistance</strong>
                            <span>
                                Discuss ingredient options and application
                                requirements with our team.
                            </span>
                        </div>
                    </div>

                    <div class="cp-trust-note">
                        <div class="cp-trust-icon">
                            <i class="fa-solid fa-leaf" aria-hidden="true"></i>
                        </div>
                        <div>
                            <strong>Thoughtful Formulation Choices</strong>
                            <span>
                                Explore ingredients that suit your product
                                specifications and development goals.
                            </span>
                        </div>
                    </div>

                    <a href="#cp-enquiry" class="cp-button">
                        Request Product Information
                        <i class="fa-solid fa-arrow-right" aria-hidden="true"></i>
                    </a>
                </div>

            </div>
        </div>
    </section>

    <!-- 5. SPECIALITY CHEMICALS -->
    <section class="cp-section cp-speciality">
        <div class="cp-container">

            <div class="cp-section-heading">
                <span class="cp-eyebrow">Explore Our Divisions</span>
                <h2>Speciality Chemicals</h2>
                <p>
                    Explore our wider portfolio of chemical solutions serving
                    different industries and applications.
                </p>
            </div>

            <div class="cp-chemical-slider" data-chemical-slider>
                <div class="cp-chemical-grid">

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="assets/images/Paints.jpg"
                                 alt="Paint and coating chemicals" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Paint &amp; Coating</h3>
                            <a class="cp-read-more" href="coatings-inks.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="assets/images/Paper.jpg"
                                 alt="Paper chemicals" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Paper Chemicals</h3>
                            <a class="cp-read-more" href="paper-chemicals.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="assets/images/fine-chemicals.jpg"
                                 alt="Fine chemicals" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Fine Chemicals</h3>
                            <a class="cp-read-more" href="fine-chemical.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="assets/images/Finished.jpg"
                                 alt="Finished lubricants" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Finished Lubricants</h3>
                            <a class="cp-read-more" href="finished-lubricants.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="assets/images/Food Colours.jpg"
                                 alt="Food colour applications" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Food Colours</h3>
                            <a class="cp-read-more" href="food-colours.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="assets/images/Textile.jpg"
                                 alt="Textile chemicals" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Textile Chemicals</h3>
                            <a class="cp-read-more" href="textile-chemicals.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                    <article class="cp-chemical-card">
                        <div class="cp-chemical-image">
                            <img src="../assets/images/listings/Watertreatment.jpg"
                                 alt="Water treatment solutions" loading="lazy">
                        </div>
                        <div class="cp-chemical-content">
                            <h3>Water Treatment</h3>
                            <a class="cp-read-more" href="water-treatment.html">
                                Read More <i class="fa-solid fa-arrow-right"></i>
                            </a>
                        </div>
                    </article>

                </div>

                <div class="cp-chemical-slider-controls"
                     aria-label="Speciality chemicals slider controls">

                    <button class="cp-chemical-slider-btn"
                            type="button"
                            data-chemical-prev
                            aria-label="Previous speciality chemicals">
                        <i class="fa-solid fa-arrow-left" aria-hidden="true"></i>
                    </button>

                    <div class="cp-chemical-slider-dots"
                         data-chemical-dots
                         aria-label="Choose slider position"></div>

                    <button class="cp-chemical-slider-btn"
                            type="button"
                            data-chemical-next
                            aria-label="Next speciality chemicals">
                        <i class="fa-solid fa-arrow-right" aria-hidden="true"></i>
                    </button>
                </div>
            </div>

        </div>
    </section>

    <!-- 6. WHATSAPP ENQUIRY -->
    <section class="cp-section cp-contact" id="cp-enquiry">
        <div class="cp-container">

            <div class="cp-section-heading">
                <span class="cp-eyebrow">Let's Connect</span>
                <h2>Tell Us What You Need</h2>
                <p>
                    Share your product and quantity requirements. Your enquiry
                    will open in WhatsApp, ready for you to review and send.
                </p>
            </div>

            <div class="cp-contact-grid">

                <div class="cp-contact-card">
                    <h2>Send an Enquiry</h2>
                    <p>
                        Complete the details below to contact our team about
                        cosmetics and personal care ingredients.
                    </p>

                    <div class="cp-direct-contact">
                        <a href="mailto:V.Kumar1087@gmail.com" class="cp-button cp-button-outline">
                            <i class="fa-solid fa-envelope" aria-hidden="true"></i>
                            Email Us
                        </a>

                        <a href="tel:+917428465992" class="cp-button cp-button-outline">
                            <i class="fa-solid fa-phone" aria-hidden="true"></i>
                            +91 74284 65992
                        </a>
                    </div>

                    <form id="cpWhatsAppEnquiryForm" autocomplete="on">
                        <div class="cp-form-grid">

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-name">Full Name *</label>
                                <input id="cp-name" type="text" class="form-control"
                                       name="name" placeholder="Enter your full name"
                                       autocomplete="name" required>
                            </div>

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-email">Email Address *</label>
                                <input id="cp-email" type="email" class="form-control"
                                       name="email" placeholder="you@company.com"
                                       autocomplete="email" required>
                            </div>

                            <div class="cp-form-field">
                                <label class="cp-field-label" for="cp-country-code">Country Code *</label>
                                <select id="cp-country-code" class="form-control"
                                        name="country_code" required>
                                    <option value="+91" selected>India (+91)</option>
                                    <option value="+93">Afghanistan (+93)</option>
                                </select>
                            </div>

                            <div class="cp-form-field">
                                <label class="cp-field-label" for="cp-phone">Mobile Number *</label>
                                <input id="cp-phone" type="tel" class="form-control"
                                       name="phone" placeholder="Mobile number"
                                       autocomplete="tel-national"
                                       inputmode="tel" required>
                            </div>

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-location">Location *</label>
                                <input id="cp-location" type="text" class="form-control"
                                       name="location" placeholder="City, State, Country"
                                       autocomplete="address-level2" required>
                            </div>

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-company">Company Name *</label>
                                <input id="cp-company" type="text" class="form-control"
                                       name="company" placeholder="Your company name"
                                       autocomplete="organization" required>
                            </div>

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-product">Product Required *</label>
                                <input id="cp-product" type="text" class="form-control"
                                       name="product" placeholder="Enter product or ingredient name"
                                       required>
                            </div>

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-quantity">Required Quantity *</label>
                                <input id="cp-quantity" type="text" class="form-control"
                                       name="quantity" placeholder="e.g. 25 kg, 100 kg, 1 MT"
                                       required>
                            </div>

                            <div class="cp-form-field full">
                                <label class="cp-field-label" for="cp-message">Additional Message</label>
                                <textarea id="cp-message" class="form-control"
                                          name="message" rows="4"
                                          placeholder="Tell us about your application or specifications (optional)"></textarea>
                            </div>

                            <div class="cp-form-field full">
                                <button class="cp-button cp-submit" type="submit">
                                    <i class="fa-brands fa-whatsapp" aria-hidden="true"></i>
                                    Continue to WhatsApp
                                </button>
                                <p class="cp-form-note">
                                    WhatsApp will open with your enquiry details filled in.
                                    Check the message and press Send in WhatsApp to submit it.
                                </p>
                            </div>

                        </div>
                    </form>
                </div>

                <div class="cp-contact-image">
                    <img src="assets/images/building.jpg"
                         alt="OPPULENT CHEMICALLS EXCELLENCE INNOVATION"
                         loading="lazy">

                    <div class="cp-contact-image-caption">
                        <strong>Let's Discuss Your Requirements</strong>
                        <span>
                            Contact us for product details, availability and
                            enquiries about cosmetics and personal care ingredients.
                        </span>
                    </div>
                </div>

            </div>
        </div>
    </section>

    <!-- 7. SEO CONTENT -->
    <section class="cp-seo">
        <div class="cp-container">
            <div class="cp-seo-inner">
                <span class="cp-eyebrow">Cosmetic Raw Materials</span>

                <h2>Cosmetic Ingredients &amp; Personal Care Raw Materials</h2>

                <p>
                    OPPULENT CHEMICALLS EXCELLENCE INNOVATION offers cosmetic
                    ingredient solutions for manufacturers, formulators and
                    personal care businesses. The portfolio may include UV
                    filters, vitamins, surfactants, thickeners, emulsifiers and
                    other ingredients used in skincare and personal care
                    formulations. These ingredient categories can support the
                    development of products such as sunscreens, face washes,
                    shampoos, lotions, serums and makeup removers, depending on
                    the selected ingredient and formulation requirements.
                    Customers can contact our team to discuss product
                    specifications, quantities, availability and intended
                    applications. For bulk requirements or ingredient enquiries,
                    use the contact form above to prepare an enquiry through
                    WhatsApp.
                </p>
            </div>
        </div>
    </section>

</div>

<!-- Floating WhatsApp Button -->
<a class="cp-floating-whatsapp"
   href="https://wa.me/917428465992"
   target="_blank"
   rel="noopener noreferrer"
   aria-label="Chat with us on WhatsApp">
    <i class="fa-brands fa-whatsapp" aria-hidden="true"></i>
</a>

<script>
(function () {
    "use strict";

    /* ==========================================
       WHATSAPP ENQUIRY FORM
    ========================================== */
    var enquiryForm = document.getElementById("cpWhatsAppEnquiryForm");

    if (enquiryForm) {
        enquiryForm.addEventListener("submit", function (event) {
            event.preventDefault();

            if (!enquiryForm.reportValidity()) {
                return;
            }

            var formData = new FormData(enquiryForm);

            function field(name) {
                return String(formData.get(name) || "").trim();
            }

            var mobile = field("phone");

            if (!mobile) {
                alert("Please enter your mobile number.");
                return;
            }

            var message = [
                "NEW WEBSITE ENQUIRY",
                "OPPULENT CHEMICALLS EXCELLENCE INNOVATION",
                "",
                "Department: Cosmetics & Personal Care",
                "Name: " + field("name"),
                "Email: " + field("email"),
                "Customer Mobile: " + field("country_code") + " " + mobile,
                "Location: " + field("location"),
                "Company: " + field("company"),
                "Product Required: " + field("product"),
                "Quantity: " + field("quantity"),
                "Additional Message: " + (field("message") || "Not provided"),
                "",
                "Source: Cosmetics & Personal Care website page"
            ].join("\n");

            var whatsappUrl =
                "https://wa.me/917428465992?text=" +
                encodeURIComponent(message);

            /* Open directly from the submit event for better popup compatibility. */
            var whatsappWindow = window.open(
                whatsappUrl,
                "_blank",
                "noopener,noreferrer"
            );

            /* Fallback in case the browser blocks the new tab. */
            if (!whatsappWindow) {
                window.location.href = whatsappUrl;
            }
        });
    }

    /* ==========================================
       SPECIALITY CHEMICALS RESPONSIVE SLIDER
    ========================================== */
    document.querySelectorAll("[data-chemical-slider]").forEach(function (slider) {
        var track = slider.querySelector(".cp-chemical-grid");
        var cards = Array.prototype.slice.call(
            slider.querySelectorAll(".cp-chemical-card")
        );
        var prev = slider.querySelector("[data-chemical-prev]");
        var next = slider.querySelector("[data-chemical-next]");
        var dotsWrap = slider.querySelector("[data-chemical-dots]");

        if (!track || !cards.length || !prev || !next || !dotsWrap) {
            return;
        }

        var index = 0;
        var timer = null;
        var resizeTimer = null;

        function visibleCount() {
            if (window.innerWidth <= 420) return 1;
            if (window.innerWidth <= 767) return 2;
            if (window.innerWidth <= 1050) return 3;
            return 4;
        }

        function maxIndex() {
            return Math.max(0, cards.length - visibleCount());
        }

        function buildDots() {
            dotsWrap.innerHTML = "";
            var count = maxIndex() + 1;

            for (var i = 0; i < count; i++) {
                var dot = document.createElement("button");
                dot.type = "button";
                dot.className = "cp-chemical-slider-dot";
                dot.setAttribute("aria-label", "Show slider position " + (i + 1));
                dot.setAttribute("data-index", String(i));

                dot.addEventListener("click", function (event) {
                    index = parseInt(event.currentTarget.getAttribute("data-index"), 10) || 0;
                    update();
                    restart();
                });

                dotsWrap.appendChild(dot);
            }
        }

        function update() {
            index = Math.max(0, Math.min(index, maxIndex()));

            var cardWidth = cards[0].getBoundingClientRect().width;
            var gap = parseFloat(window.getComputedStyle(track).gap) || 0;
            var distance = index * (cardWidth + gap);

            track.style.transform = "translate3d(-" + distance + "px, 0, 0)";

            Array.prototype.forEach.call(dotsWrap.children, function (dot, i) {
                dot.classList.toggle("is-active", i === index);
                dot.setAttribute("aria-current", i === index ? "true" : "false");
            });

            prev.disabled = index === 0;
            next.disabled = index >= maxIndex();
        }

        function move(amount) {
            var max = maxIndex();
            index += amount;

            if (index > max) index = 0;
            if (index < 0) index = max;

            update();
        }

        function stop() {
            if (timer) {
                window.clearInterval(timer);
                timer = null;
            }
        }

        function start() {
            stop();

            if (maxIndex() > 0) {
                timer = window.setInterval(function () {
                    move(1);
                }, 4000);
            }
        }

        function restart() {
            start();
        }

        prev.addEventListener("click", function () {
            move(-1);
            restart();
        });

        next.addEventListener("click", function () {
            move(1);
            restart();
        });

        slider.addEventListener("mouseenter", stop);
        slider.addEventListener("mouseleave", start);
        slider.addEventListener("focusin", stop);
        slider.addEventListener("focusout", start);

        window.addEventListener("resize", function () {
            if (resizeTimer) {
                window.clearTimeout(resizeTimer);
            }

            resizeTimer = window.setTimeout(function () {
                index = Math.min(index, maxIndex());
                buildDots();
                update();
                start();
            }, 120);
        });

        buildDots();
        update();
        start();
    });
})();
</script>

<?php
$cpFooterCandidates = [
    __DIR__ . '/footer.php',
    __DIR__ . '/../footer.php',
    __DIR__ . '/../../footer.php'
];

foreach ($cpFooterCandidates as $cpFooterFile) {
    if (is_file($cpFooterFile)) {
        include_once $cpFooterFile;
        break;
    }
}
?>
