<?php
/**
 * Pure Chemical — Paints & Coatings
 * File: paints-coatings.php
 * Premium responsive UI + WhatsApp enquiry
 * WhatsApp: +91 7428465992
 */

if (session_status() === PHP_SESSION_NONE) {
    session_start();
}

$pageTitle = "Paints & Coatings | OPPULENT CHEMICALLS EXCELLENCE INNOVATION";

include_once __DIR__ . '/header.php';

$pcWhatsAppNumber = '917428465992';

$pcProducts = [
    [
        'category' => 'Catalysts',
        'title' => 'Blocked Acid Catalyst',
        'image' => 'assets/images/products/blocked-acid.jpg'
    ],
    [
        'category' => 'Catalysts',
        'title' => 'Acid Catalyst',
        'image' => 'assets/images/products/acid-catalyst.jpg'
    ],
    [
        'category' => 'Performance Additives',
        'title' => 'Adhesion Promoters',
        'image' => 'assets/images/products/adhesion-promoter.jpg'
    ],
    [
        'category' => 'Functional Additives',
        'title' => 'Defoamers',
        'image' => 'assets/images/products/defoamers.jpg'
    ],
    [
        'category' => 'Binders & Emulsions',
        'title' => 'PURECRYL',
        'image' => 'assets/images/products/purecryl.jpg'
    ],
    [
        'category' => 'Functional Additives',
        'title' => 'Wetting & Dispersing Agents',
        'image' => 'assets/images/products/wetting-agents.jpg'
    ],
];

$pcSolutions = [
    [
        'icon' => 'bi-bezier2',
        'title' => 'PURCAT',
        'description' => 'Specialty acid catalysts, blocked acid catalysts and adhesion promoters for coil, can, automotive, wood and industrial coating applications.'
    ],
    [
        'icon' => 'bi-shield-check',
        'title' => 'PUREPLUS',
        'description' => 'Functional additives, including defoamers and wetting and dispersing agents, for coating formulation and application needs.'
    ],
    [
        'icon' => 'bi-droplet-half',
        'title' => 'PURECRYL',
        'description' => 'Acrylic and styrene-acrylic emulsions, construction binders, dispersants and specialty thickeners for different coating applications.'
    ],
];

$pcEscape = static function ($value) {
    return htmlspecialchars((string) $value, ENT_QUOTES, 'UTF-8');
};
?>

<!-- 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>
/* =====================================================
   PURE CHEMICAL | PAINTS & COATINGS
   Scoped styles to avoid conflicts with header/footer
===================================================== */

.pc-page {
    --pc-primary: #082b63;
    --pc-primary-dark: #041a40;
    --pc-accent: #ef4f5b;
    --pc-green: #168b54;
    --pc-text: #24344d;
    --pc-muted: #69768a;
    --pc-light: #f3f6fb;
    --pc-border: #e4e9f2;

    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--pc-text);
    background: #fff;
    overflow: hidden;
    line-height: 1.65;
}

.pc-page *,
.pc-page *::before,
.pc-page *::after {
    box-sizing: border-box;
}

.pc-page img {
    display: block;
    max-width: 100%;
}

.pc-page a {
    text-decoration: none;
}

.pc-page button,
.pc-page input,
.pc-page select,
.pc-page textarea {
    font-family: inherit;
}

.pc-page .pc-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.pc-page .pc-section {
    padding: 86px 0;
}

.pc-page .pc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--pc-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pc-page .pc-eyebrow::before {
    content: "";
    width: 27px;
    height: 2px;
    background: currentColor;
}

.pc-page .pc-heading {

    margin: 0 0 18px;
    color: var(--pc-primary);
    font-size: clamp(29px, 3.3vw, 45px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.pc-page .pc-description {
    color: var(--pc-muted);
    font-size: 14px;
    line-height: 1.95;
}

.pc-page .pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 13px 23px;
    border: 1px solid var(--pc-primary);
    border-radius: 9px;
    background: var(--pc-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.pc-page .pc-btn:hover {
    transform: translateY(-3px);
    border-color: var(--pc-accent);
    background: var(--pc-accent);
    color: #fff;
}

/* HERO */

.pc-page .pc-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 440px;
    background:
        linear-gradient(100deg, rgba(3, 18, 45, .94), rgba(5, 35, 76, .74) 54%, rgba(5, 35, 76, .18)),
        url("assets/images/paints-coatings-banner.jpg") center/cover no-repeat;
}

.pc-page .pc-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle at 80% 20%, rgba(239,79,91,.15), transparent 32%);
}

.pc-page .pc-hero-content {
    position: relative;
    z-index: 1;
    padding-block: 82px;
}

.pc-page .pc-hero .pc-eyebrow {
    color: #ffb9be;
}

.pc-page .pc-hero h1 {
    max-width: 800px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.5px;
}

.pc-page .pc-hero-text {
    max-width: 590px;
    margin: 0 0 26px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.9;
}

.pc-page .pc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-page .pc-hero .pc-btn {
    border-color: var(--pc-accent);
    background: var(--pc-accent);
}

.pc-page .pc-hero .pc-btn-outline {
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.pc-page .pc-hero .pc-btn-outline:hover {
    background: #fff;
    color: var(--pc-primary);
    border-color: #fff;
}

.pc-page .pc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 31px;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    font-weight: 700;
}

.pc-page .pc-breadcrumb a {
    color: #fff;
}

.pc-page .pc-breadcrumb a:hover {
    color: #ffb9be;
}

/* INTRODUCTION */

.pc-page .pc-intro {
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
}

.pc-page .pc-intro .pc-heading {
    margin-bottom: 22px;
}

.pc-page .pc-intro .pc-description {
    margin-bottom: 16px;
}

.pc-page .pc-intro .pc-btn {
    margin-top: 12px;
}

/* SOLUTIONS */

.pc-page .pc-solutions {
    position: relative;
    background: var(--pc-light);
}

.pc-page .pc-solutions-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: center;
    gap: 55px;
}

.pc-page .pc-graphic {
    position: relative;
    display: grid;
    place-items: center;
    width: 210px;
    height: 170px;
    margin-top: 25px;
    overflow: hidden;
    border: 1px solid #dfe7f6;
    border-radius: 27px;
    background: linear-gradient(135deg, #e2ebff, #fff);
    color: var(--pc-primary);
    font-size: 76px;
}

.pc-page .pc-graphic::after {
    position: absolute;
    right: -20px;
    bottom: -35px;
    width: 105px;
    height: 105px;
    border: 17px solid rgba(8,43,99,.07);
    border-radius: 50%;
    content: "";
}

.pc-page .pc-solution-list {
    display: grid;
    gap: 15px;
}

.pc-page .pc-solution-card {
    display: flex;
    align-items: flex-start;
    gap: 19px;
    padding: 24px;
    border: 1px solid var(--pc-border);
    border-radius: 16px;
    background: #fff;
    transition: .25s ease;
}

.pc-page .pc-solution-card:hover {
    transform: translateY(-3px);
    border-color: #b7c9ed;
    box-shadow: 0 16px 38px rgba(8,43,99,.08);
}

.pc-page .pc-solution-icon {
    display: grid;
    flex: 0 0 49px;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 14px;
    background: #fff0f1;
    color: var(--pc-accent);
    font-size: 22px;
}

.pc-page .pc-solution-card h3 {
    margin: 0 0 8px;
    color: var(--pc-primary);
    font-size: 17px;
    font-weight: 800;
}

.pc-page .pc-solution-card p {
    margin: 0;
    color: var(--pc-muted);
    font-size: 12px;
    line-height: 1.9;
}

/* SECTION HEADINGS */

.pc-page .pc-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.pc-page .pc-section-head .pc-heading {
    margin-bottom: 10px;
}

.pc-page .pc-section-head p {
    max-width: 610px;
    margin-bottom: 0;
}

.pc-page .pc-slider-controls {
    display: flex;
    flex-shrink: 0;
    gap: 9px;
}

.pc-page .pc-slider-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pc-border);
    border-radius: 50%;
    background: #fff;
    color: var(--pc-primary);
    font-size: 17px;
    cursor: pointer;
    transition: .2s ease;
}

.pc-page .pc-slider-btn:hover {
    border-color: var(--pc-primary);
    background: var(--pc-primary);
    color: #fff;
}

/* PRODUCT SLIDER */

.pc-page .pc-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 1px 20px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.pc-page .pc-slider-viewport::-webkit-scrollbar {
    display: none;
}

.pc-page .pc-product-track {
    display: flex;
    align-items: stretch;
    gap: 21px;
    width: max-content;
}

.pc-page .pc-product-card {
    position: relative;
    display: block;
    flex: 0 0 275px;
    width: 275px;
    height: 340px;
    overflow: hidden;
    border-radius: 18px;
    background: #e6ebf3;
    box-shadow: 0 12px 30px rgba(8,43,99,.09);
    scroll-snap-align: start;
}

.pc-page .pc-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.pc-page .pc-product-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,17,43,.02) 25%, rgba(2,17,43,.9) 100%);
    content: "";
}

.pc-page .pc-product-card:hover img {
    transform: scale(1.08);
}

.pc-page .pc-product-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px 22px;
    color: #fff;
}

.pc-page .pc-product-content small {
    display: block;
    margin-bottom: 8px;
    color: #ffc1c5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.pc-page .pc-product-content h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.pc-page .pc-product-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}

/* STATS */

.pc-page .pc-stats {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 5%, rgba(67,119,202,.2), transparent 30%),
        var(--pc-primary-dark);
}

.pc-page .pc-stats-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 50px;
}

.pc-page .pc-stats .pc-heading {
    color: #fff;
}

.pc-page .pc-stats .pc-description {
    color: #c5d0e1;
}

.pc-page .pc-stats .pc-eyebrow {
    color: #ffadb4;
}

.pc-page .pc-stats-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pc-page .pc-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 155px;
    padding: 22px 10px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    text-align: center;
    transition: .25s ease;
}

.pc-page .pc-stat-box:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.1);
}

.pc-page .pc-stat-box h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.1;
}

.pc-page .pc-stat-box p {
    margin: 0;
    color: #c5d0e1;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.7;
}

/* ENQUIRY SECTION */

.pc-page .pc-enquiry {
    background: linear-gradient(135deg, #f4f7fc, #edf2fb);
}

.pc-page .pc-enquiry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: stretch;
    gap: 27px;
}

.pc-page .pc-form-card {
    padding: clamp(25px, 4vw, 42px);
    border: 1px solid var(--pc-border);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(8,43,99,.075);
}

.pc-page .pc-form-card .pc-heading {
    font-size: clamp(27px, 3vw, 37px);
}

.pc-page .pc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 15px;
    margin-top: 27px;
}

.pc-page .pc-form-field {
    min-width: 0;
}

.pc-page .pc-form-field.pc-full {
    grid-column: 1 / -1;
}

.pc-page .pc-form-field label {
    display: block;
    margin-bottom: 8px;
    color: #34445b;
    font-size: 11px;
    font-weight: 800;
}

.pc-page .pc-form-field input,
.pc-page .pc-form-field select,
.pc-page .pc-form-field textarea {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 13px 14px;
    border: 1px solid #dfe5ef;
    border-radius: 9px;
    outline: none;
    background: #f9fafd;
    color: var(--pc-text);
    font-size: 12px;
    transition: .2s ease;
}

.pc-page .pc-form-field input:focus,
.pc-page .pc-form-field select:focus,
.pc-page .pc-form-field textarea:focus {
    border-color: var(--pc-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(8,43,99,.07);
}

.pc-page .pc-form-field textarea {
    min-height: 112px;
    resize: vertical;
}

.pc-page .pc-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 0;
    border-radius: 10px;
    background: #168b54;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.pc-page .pc-submit:hover {
    transform: translateY(-2px);
    background: #087540;
    box-shadow: 0 10px 25px rgba(22,139,84,.2);
}

.pc-page .pc-submit i {
    font-size: 20px;
}

.pc-page .pc-privacy-note {
    margin: 13px 0 0;
    color: var(--pc-muted);
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.pc-page .pc-enquiry-image {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: 21px;
    background: var(--pc-primary);
    box-shadow: 0 20px 55px rgba(8,43,99,.12);
}

.pc-page .pc-enquiry-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-page .pc-enquiry-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,20,49,.02) 15%, rgba(3,20,49,.92) 100%);
    content: "";
}

.pc-page .pc-image-caption {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px;
    color: #fff;
}

.pc-page .pc-image-caption .pc-eyebrow {
    color: #ffb8bd;
}

.pc-page .pc-image-caption h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 800;
    line-height: 1.25;
}

.pc-page .pc-image-caption p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    line-height: 1.9;
}

/* SEO */

.pc-page .pc-seo {
    border-top: 1px solid var(--pc-border);
}

.pc-page .pc-seo h2 {
    margin: 0 0 20px;
    color: var(--pc-primary);
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
}

.pc-page .pc-seo p {
    margin-bottom: 15px;
    color: var(--pc-muted);
    font-size: 12px;
    line-height: 2;
}

/* WHATSAPP FLOATING BUTTON */

.pc-page .pc-whatsapp-float {
    position: fixed;
    z-index: 999;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 53px;
    padding: 12px 19px;
    border: 0;
    border-radius: 50px;
    background: #20b968;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.pc-page .pc-whatsapp-float:hover {
    transform: translateY(-4px);
    background: #128c4b;
    color: #fff;
}

.pc-page .pc-whatsapp-float i {
    font-size: 23px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .pc-page .pc-section {
        padding: 65px 0;
    }

    .pc-page .pc-hero {
        min-height: 380px;
    }

    .pc-page .pc-solutions-grid,
    .pc-page .pc-stats-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pc-page .pc-graphic {
        width: 150px;
        height: 130px;
        font-size: 55px;
    }

    .pc-page .pc-enquiry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .pc-page .pc-enquiry-image {
        min-height: 100%;
    }
}

@media (max-width: 767px) {
    .pc-page .pc-container {
        width: calc(100% - 30px);
    }

    .pc-page .pc-section {
        padding: 53px 0;
    }

    .pc-page .pc-hero {
        min-height: 350px;
        background-position: 60% center;
    }

    .pc-page .pc-hero-content {
        padding-block: 55px;
    }

    .pc-page .pc-hero h1 {
        letter-spacing: -1.4px;
    }

    .pc-page .pc-hero-text {
        font-size: 13px;
    }

    .pc-page .pc-section-head {
        align-items: flex-start;
    }

    .pc-page .pc-product-card {
        flex-basis: 245px;
        width: 245px;
        height: 305px;
    }

    .pc-page .pc-enquiry-grid {
        grid-template-columns: 1fr;
    }

    .pc-page .pc-enquiry-image {
        min-height: 380px;
        order: 2;
    }

    .pc-page .pc-form-card {
        padding: 25px 20px;
    }

    .pc-page .pc-stat-box {
        min-height: 130px;
        padding: 18px 7px;
    }

    .pc-page .pc-stat-box p {
        font-size: 9px;
    }

    .pc-page .pc-image-caption {
        padding: 26px;
    }
}

@media (max-width: 480px) {
    .pc-page .pc-form-grid {
        grid-template-columns: 1fr;
    }

    .pc-page .pc-form-field.pc-full {
        grid-column: auto;
    }

    .pc-page .pc-slider-heading {
        gap: 10px;
    }

    .pc-page .pc-slider-btn {
        width: 37px;
        height: 37px;
    }

    .pc-page .pc-slider-controls {
        gap: 6px;
    }

    .pc-page .pc-stats-items {
        grid-template-columns: 1fr;
    }

    .pc-page .pc-stat-box {
        min-height: 105px;
    }

    .pc-page .pc-stat-box p br {
        display: none;
    }

    .pc-page .pc-whatsapp-float {
        right: 13px;
        bottom: 13px;
        min-height: 48px;
        padding: 10px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-page *,
    .pc-page *::before,
    .pc-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
</style>

<div class="pc-page">

    <!-- HERO -->
    <section class="pc-hero">
        <div class="pc-container pc-hero-content">
            <span class="pc-eyebrow">Performance Chemicals</span>

            <h1>Paints &amp; Coatings<br>Solutions</h1>

            <p class="pc-hero-text">
                Specialty chemical ingredients and performance solutions
                designed for modern paints, coatings and industrial applications.
            </p>

            <div class="pc-hero-actions">
                <a href="#pc-products" class="pc-btn">
                    Explore Products
                    <i class="bi bi-arrow-up-right"></i>
                </a>

                <a href="#pc-enquiry" class="pc-btn pc-btn-outline">
                    Contact Our Team
                    <i class="bi bi-chat-dots"></i>
                </a>
            </div>

            <nav class="pc-breadcrumb" aria-label="Breadcrumb">
                <a href="index.php">Home</a>
                <i class="bi bi-chevron-right"></i>
                <a href="performance-chemicals.php">Performance Chemicals</a>
                <i class="bi bi-chevron-right"></i>
                <span>Paints &amp; Coatings</span>
            </nav>
        </div>
    </section>

    <!-- INTRODUCTION -->
    <section class="pc-section">
        <div class="pc-container">
            <div class="pc-intro">
                <span class="pc-eyebrow">What We Do</span>

                <h2 class="pc-heading">
                    Innovative Chemistry.<br>
                    Outstanding Coatings.
                </h2>

                <p class="pc-description">
                    We bring advanced coating technologies and specialty ingredients
                    together to help manufacturers address their formulation needs.
                    Our portfolio includes wetting and dispersing agents, defoamers,
                    slip and levelling agents, resins, micronized waxes, catalysts,
                    UV absorbers, matting agents, pigments and colourants.
                </p>

                <p class="pc-description">
                    OPPULENT CHEMICALLS EXCELLENCE INNOVATION provides specialty
                    chemical solutions for paint, coating and ink manufacturers.
                    Our team can discuss your technical requirements and help
                    identify suitable products for your applications.
                </p>

                <a href="#pc-enquiry" class="pc-btn">
                    Discuss Your Requirements
                    <i class="bi bi-arrow-up-right"></i>
                </a>
            </div>
        </div>
    </section>

    <!-- COATING SOLUTIONS -->
    <section class="pc-section pc-solutions">
        <div class="pc-container">
            <div class="pc-solutions-grid">

                <div>
                    <span class="pc-eyebrow">Our Expertise</span>

                    <h2 class="pc-heading">
                        Your Source for Coatings Ingredients Under One Roof
                    </h2>

                    <p class="pc-description">
                        Explore specialty ingredients and tailored solutions
                        designed for a wide range of coating applications,
                        from decorative finishes to protective industrial coatings.
                    </p>

                    <div class="pc-graphic" aria-hidden="true">
                        <i class="bi bi-droplet-half"></i>
                    </div>
                </div>

                <div class="pc-solution-list">
                    <?php foreach ($pcSolutions as $solution): ?>
                        <article class="pc-solution-card">
                            <div class="pc-solution-icon">
                                <i class="bi <?= $pcEscape($solution['icon']); ?>"></i>
                            </div>

                            <div>
                                <h3><?= $pcEscape($solution['title']); ?></h3>
                                <p><?= $pcEscape($solution['description']); ?></p>
                            </div>
                        </article>
                    <?php endforeach; ?>
                </div>

            </div>
        </div>
    </section>

    <!-- PRODUCTS SLIDER -->
    <section class="pc-section" id="pc-products">
        <div class="pc-container">

            <div class="pc-section-head">
                <div>
                    <span class="pc-eyebrow">Our Portfolio</span>
                    <h2 class="pc-heading">Explore Our Products</h2>
                    <p class="pc-description">
                        Specialty ingredients and performance solutions for
                        diverse coating applications.
                    </p>
                </div>

                <div class="pc-slider-controls">
                    <button class="pc-slider-btn"
                            type="button"
                            data-pc-slide="products"
                            data-pc-direction="-1"
                            aria-label="Previous products">
                        <i class="bi bi-arrow-left"></i>
                    </button>

                    <button class="pc-slider-btn"
                            type="button"
                            data-pc-slide="products"
                            data-pc-direction="1"
                            aria-label="Next products">
                        <i class="bi bi-arrow-right"></i>
                    </button>
                </div>
            </div>

            <div class="pc-slider-viewport" id="pc-products-slider">
                <div class="pc-product-track">

                    <?php foreach ($pcProducts as $product): ?>
                        <a href="#pc-enquiry"
                           class="pc-product-card"
                           data-pc-product="<?= $pcEscape($product['title']); ?>">

                            <img
                                src="<?= $pcEscape($product['image']); ?>"
                                alt="<?= $pcEscape($product['title']); ?>"
                                loading="lazy"
                                onerror="this.style.display='none';"
                            >

                            <div class="pc-product-content">
                                <small><?= $pcEscape($product['category']); ?></small>

                                <h3><?= $pcEscape($product['title']); ?></h3>

                                <span>
                                    Enquire Now
                                    <i class="bi bi-arrow-up-right"></i>
                                </span>
                            </div>
                        </a>
                    <?php endforeach; ?>

                </div>
            </div>
        </div>
    </section>

    <!-- COMPANY STATISTICS -->
    <section class="pc-section pc-stats">
        <div class="pc-container">
            <div class="pc-stats-grid">

                <div>
                    <span class="pc-eyebrow">Our Journey</span>

                    <h2 class="pc-heading">
                        Since 1981,<br>
                        Catalysing Your Growth
                    </h2>

                    <p class="pc-description">
                        A specialty chemical partner focused on products,
                        technical support and solutions for evolving
                        industrial requirements.
                    </p>

                    <a href="#pc-enquiry" class="pc-btn">
                        Connect With Our Team
                        <i class="bi bi-arrow-up-right"></i>
                    </a>
                </div>

                <div class="pc-stats-items">
                    <div class="pc-stat-box">
                        <h3>28</h3>
                        <p>Branches &amp;<br>Warehouses</p>
                    </div>

                    <div class="pc-stat-box">
                        <h3>4</h3>
                        <p>Manufacturing<br>Units</p>
                    </div>

                    <div class="pc-stat-box">
                        <h3>5</h3>
                        <p>Overseas<br>Branches</p>
                    </div>
                </div>

            </div>
        </div>
    </section>

    <!-- WHATSAPP ENQUIRY FORM -->
    <section class="pc-section pc-enquiry" id="pc-enquiry">
        <div class="pc-container">
            <div class="pc-enquiry-grid">

                <div class="pc-form-card">
                    <span class="pc-eyebrow">Let's Talk</span>

                    <h2 class="pc-heading">Get In Touch</h2>

                    <p class="pc-description">
                        Share your product requirements. Your enquiry details
                        will be prepared in WhatsApp for you to review and send.
                    </p>

                    <form id="pc-whatsapp-enquiry">

                        <div class="pc-form-grid">

                            <div class="pc-form-field">
                                <label for="pc-name">Full Name *</label>
                                <input
                                    type="text"
                                    id="pc-name"
                                    name="Name"
                                    placeholder="Enter your full name"
                                    autocomplete="name"
                                    required
                                >
                            </div>

                            <div class="pc-form-field">
                                <label for="pc-company">Company Name *</label>
                                <input
                                    type="text"
                                    id="pc-company"
                                    name="Company"
                                    placeholder="Enter company name"
                                    autocomplete="organization"
                                    required
                                >
                            </div>

                            <div class="pc-form-field">
                                <label for="pc-mobile">Mobile Number *</label>
                                <input
                                    type="tel"
                                    id="pc-mobile"
                                    name="Mobile"
                                    placeholder="+91 XXXXX XXXXX"
                                    autocomplete="tel"
                                    inputmode="tel"
                                    required
                                >
                            </div>

                            <div class="pc-form-field">
                                <label for="pc-email">Business Email *</label>
                                <input
                                    type="email"
                                    id="pc-email"
                                    name="Email"
                                    placeholder="name@company.com"
                                    autocomplete="email"
                                    required
                                >
                            </div>

                            <div class="pc-form-field pc-full">
                                <label for="pc-product">Product / Grade of Interest *</label>

                                <select id="pc-product" name="Product" required>
                                    <option value="">Select a product</option>
                                    <option value="Blocked Acid Catalyst">Blocked Acid Catalyst</option>
                                    <option value="Acid Catalyst">Acid Catalyst</option>
                                    <option value="Adhesion Promoters">Adhesion Promoters</option>
                                    <option value="Defoamers">Defoamers</option>
                                    <option value="PURECRYL / Acrylic Emulsions">PURECRYL / Acrylic Emulsions</option>
                                    <option value="Wetting & Dispersing Agents">Wetting &amp; Dispersing Agents</option>
                                    <option value="Other Coating Chemicals">Other Coating Chemicals</option>
                                </select>
                            </div>

                            <div class="pc-form-field pc-full">
                                <label for="pc-message">Message / Requirements</label>

                                <textarea
                                    id="pc-message"
                                    name="Message"
                                    placeholder="Describe your application, grade, quantity or technical requirements."
                                ></textarea>
                            </div>

                            <div class="pc-form-field pc-full">
                                <button type="submit" class="pc-submit">
                                    Send Enquiry on WhatsApp
                                    <i class="bi bi-whatsapp"></i>
                                </button>

                                <p class="pc-privacy-note">
                                    WhatsApp will open with your enquiry details.
                                    Review the message and press Send to submit it.
                                </p>
                            </div>

                        </div>
                    </form>
                </div>

                <!-- RIGHT SIDE IMAGE -->
                <div class="pc-enquiry-image">
                    <img
                        src="assets/images/building.jpg"
                        alt="Pure Chemical specialty chemicals team"
                        loading="lazy"
                    >

                    <div class="pc-image-caption">
                        <span class="pc-eyebrow">Your Trusted Partner</span>

                        <h3>
                            Let's Find the Right Solution for Your Business.
                        </h3>

                        <p>
                            Tell us what you need. Our team is ready to discuss
                            suitable coating ingredients and specialty chemical
                            solutions for your business.
                        </p>
                    </div>
                </div>

            </div>
        </div>
    </section>

    <!-- SEO CONTENT -->
    <section class="pc-section pc-seo">
        <div class="pc-container">

            <h2>Paints &amp; Coatings Chemicals Supplier in India</h2>

            <p>
                OPPULENT CHEMICALLS EXCELLENCE INNOVATION offers specialty
                chemical solutions for paint, coating and ink applications.
                Our portfolio includes catalysts, functional additives,
                acrylic emulsions, wetting and dispersing agents, defoamers,
                wax additives and other ingredients for formulation requirements.
            </p>

            <p>
                We work with manufacturers to identify products suited to
                their application, process conditions and performance objectives.
                Whether you are exploring blocked acid catalysts, adhesion
                promoters, coating additives or acrylic binders, our team can
                discuss your requirements.
            </p>

            <p>
                For product availability, technical information or a quotation,
                submit the enquiry form above. Your details will be prepared
                in WhatsApp so you can review and send your enquiry directly.
            </p>

        </div>
    </section>

    <!-- FLOATING WHATSAPP BUTTON -->
    <a
        class="pc-whatsapp-float"
        href="https://wa.me/<?= $pcEscape($pcWhatsAppNumber); ?>?text=<?= rawurlencode('Hello, I would like to enquire about your Paints & Coatings chemicals.'); ?>"
        target="_blank"
        rel="noopener noreferrer"
        aria-label="Contact Pure Chemical on WhatsApp"
    >
        <i class="bi bi-whatsapp"></i>
        WhatsApp Enquiry
    </a>

</div>

<script>
(function () {
    "use strict";

    const page = document.querySelector(".pc-page");

    if (!page) {
        return;
    }

    /* ----------------------------------------
       PRODUCT SLIDER CONTROLS
    ---------------------------------------- */

    const productSlider = page.querySelector("#pc-products-slider");

    page.querySelectorAll("[data-pc-slide][data-pc-direction]")
        .forEach(function (button) {

            button.addEventListener("click", function () {
                const sliderName = button.dataset.pcSlide;
                const direction = Number(button.dataset.pcDirection);

                let slider = null;

                if (sliderName === "products") {
                    slider = productSlider;
                }

                if (!slider) {
                    return;
                }

                const track = slider.firstElementChild;
                const firstCard = track ? track.firstElementChild : null;

                const cardWidth = firstCard
                    ? firstCard.getBoundingClientRect().width
                    : 275;

                slider.scrollBy({
                    left: direction * (cardWidth + 21),
                    behavior: "smooth"
                });
            });
        });

    /* ----------------------------------------
       PRODUCT CARD: SELECT PRODUCT IN FORM
    ---------------------------------------- */

    page.querySelectorAll("[data-pc-product]").forEach(function (card) {
        card.addEventListener("click", function () {
            const productName = card.dataset.pcProduct;
            const productSelect = page.querySelector("#pc-product");

            if (!productSelect) {
                return;
            }

            const matchingOption = Array.from(productSelect.options).find(
                function (option) {
                    return option.value === productName;
                }
            );

            if (matchingOption) {
                productSelect.value = matchingOption.value;
            } else {
                productSelect.value = "Other Coating Chemicals";
            }
        });
    });

    /* ----------------------------------------
       WHATSAPP ENQUIRY FORM
    ---------------------------------------- */

    const form = page.querySelector("#pc-whatsapp-enquiry");

    if (!form) {
        return;
    }

    form.addEventListener("submit", function (event) {
        event.preventDefault();

        if (!form.checkValidity()) {
            form.reportValidity();
            return;
        }

        function getValue(name) {
            const field = form.elements.namedItem(name);

            return field ? String(field.value).trim() : "";
        }

        const name = getValue("Name");
        const company = getValue("Company");
        const mobile = getValue("Mobile");
        const email = getValue("Email");
        const product = getValue("Product");
        const message = getValue("Message");

        const whatsappMessage = [
            "NEW PAINTS & COATINGS ENQUIRY",
            "",
            "Name: " + name,
            "Company: " + company,
            "Mobile: " + mobile,
            "Email: " + email,
            "Product / Grade: " + product,
            "Requirements: " + (message || "Not provided"),
            "",
            "Source: Pure Chemical Website"
        ].join("\n");

        /* India country code + requested number */
        const whatsappNumber = "917428465992";

        const whatsappURL =
            "https://wa.me/" +
            whatsappNumber +
            "?text=" +
            encodeURIComponent(whatsappMessage);

        const newWindow = window.open(
            whatsappURL,
            "_blank",
            "noopener,noreferrer"
        );

        /* Fallback if the browser blocks a new tab */
        if (!newWindow) {
            window.location.href = whatsappURL;
        }
    });

})();
</script>

<?php
include_once __DIR__ . '/footer.php';
?>