📁 File Manager
Editing:
/home/wvl7mof7402e/public_html/chem/food-colours.php
<?php /** * OPPULENT CHEMICALLS EXCELLENCE INNOVATION * Food Colours — Premium Responsive Page */ if (session_status() === PHP_SESSION_NONE) { session_start(); } $pageTitle = 'Food Colours | OPPULENT CHEMICALLS EXCELLENCE INNOVATION'; $pageDescription = 'Explore basic food colours, blended colours and caramel food colours for suitable industrial food applications.'; /* * Find shared header/footer whether this page is in the root * directory or inside a category subdirectory. */ include_once __DIR__ . '/header.php'; function food_page_e($value) { return htmlspecialchars((string)$value, ENT_QUOTES, 'UTF-8'); } $basicColours = [ ['BC100', 'Tartrazine', '#FFF200', '19140', 'E102'], ['BC101', 'Sunset Yellow FCF', '#F68633', '15985', 'E110'], ['BC102', 'Carmoisine', '#E3406B', '14720', 'E122'], ['BC103', 'Ponceau 4R', '#F04E58', '16255', 'E124'], ['BC104', 'Brilliant Blue FCF', '#2CA9E0', '42090', 'E133'], ['BC105', 'Indigo Carmine', '#317FC2', '73015', 'E132'], ['BC106', 'Erythrosine', '#ED0677', '45430', 'E127'], ['BC107', 'Fast Green FCF', '#146C89', '42053', 'E143'], ['BC108', 'Amaranth', '#C5326A', '16185', 'E123'], ['BC109', 'Allura Red', '#F04E46', '16035', 'E129'], ['BC110', 'Red 2G', '#F26962', '18050', 'E128'], ]; $blendedColours = [ ['BL200', 'Egg Yellow', '#FAA830'], ['BL201', 'Kesari B', '#FCBA2E'], ['BL202', 'Apple Green', '#57BA52'], ['BL203', 'Pea Green', '#00A859'], ['BL204', 'Raspberry Red', '#E32E6E'], ['BL205', 'Strawberry Red', '#E3305C'], ['BL206', 'Black BK 26', '#000000'], ['BL207', 'Black BK 27', '#404040'], ['BL215', 'CARAMEL', '#5C2C04'], ['BL232', 'Baby Blue', '#91A8FE'], ]; $caramelColours = [ ['CL300', 'Caramel Type – I (Plain Caramel)', 'E – 150 a'], ['CL301', 'Caramel Type – II (Caustic Sulphite Caramel)', 'E – 150 b'], ['CL302', 'Caramel Type – III (Ammonia Caramel)', 'E – 150 c'], ['CL304', 'Caramel Type – IV (Ammonia Sulphite Caramel)', 'E – 150 d'], ]; $specialityCards = [ ['Paint And Coating', 'Paints.jpg'], ['Paper', 'Paper.jpg'], ['Fine Chemicals', 'fine-chemicals.jpg'], ['Finished Lubricants', 'Finished.jpg'], ['Food Colours', 'Food Colours.jpg'], ['Textile', 'Textile.jpg'], ['Water Treatment', 'Water.jpg'], ]; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="<?= food_page_e($pageDescription); ?>"> <meta name="theme-color" content="#082b50"> <title><?= food_page_e($pageTitle); ?></title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet"> <link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" rel="stylesheet"> <link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="../assets/css/responsive.css"> <style> :root { --fc-navy: #082b50; --fc-navy-dark: #041b32; --fc-blue: #0879dc; --fc-cyan: #18c4d4; --fc-text: #20354a; --fc-muted: #6d7e90; --fc-border: #e1eaf3; --fc-bg: #f4f8fc; --fc-radius: 20px; --fc-shadow: 0 16px 45px rgba(8, 43, 80, .09); } .fc-page, .fc-page * { box-sizing: border-box; } .fc-page { overflow: hidden; background: #fff; color: var(--fc-text); font-family: "Manrope", sans-serif; line-height: 1.7; } .fc-page img { max-width: 100%; } .fc-container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; } .fc-section { padding: 82px 0; } .fc-section-light { background: var(--fc-bg); } .fc-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid #d7eff6; border-radius: 50px; background: #eefaff; color: var(--fc-blue); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; } .fc-section-heading { margin: 14px 0; color: var(--fc-navy); font-size: clamp(29px, 4vw, 43px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.2; } .fc-section-description { max-width: 720px; margin: 0 auto; color: var(--fc-muted); font-size: 14px; } .fc-center { text-align: center; } /* HERO */ .fc-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 450px; padding: 80px 0; background: linear-gradient(110deg, rgba(3, 20, 38, .96), rgba(5, 57, 101, .86) 62%, rgba(6, 111, 152, .68)), url("../assets/images/food-colours.jpg") center/cover no-repeat, var(--fc-navy); } .fc-hero::after { position: absolute; z-index: -1; right: -140px; bottom: -260px; width: 570px; height: 570px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); content: ""; } .fc-hero-content { max-width: 800px; } .fc-hero .fc-eyebrow { color: #d8f8ff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); } .fc-hero h1 { margin: 20px 0; color: #fff; font-size: clamp(38px, 5.5vw, 65px); font-weight: 800; letter-spacing: -2px; line-height: 1.1; } .fc-hero h1 span { color: #5ce0ed; } .fc-hero p { max-width: 680px; margin-bottom: 28px; color: #dceaf5; font-size: 15px; } .fc-actions { display: flex; flex-wrap: wrap; gap: 12px; } .fc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; border-radius: 10px; font-family: inherit; font-size: 12px; font-weight: 800; text-decoration: none; transition: .25s ease; } .fc-btn-primary { color: #fff; background: linear-gradient(120deg, var(--fc-blue), #08b5d1); box-shadow: 0 9px 25px rgba(8,121,220,.22); } .fc-btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8,121,220,.3); } .fc-btn-outline { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); } .fc-btn-outline:hover { color: #fff; background: rgba(255,255,255,.13); } /* TRUST STRIP */ .fc-trust { padding: 25px 0; color: #fff; background: var(--fc-navy); } .fc-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .fc-trust-item { display: flex; align-items: center; gap: 13px; } .fc-trust-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: #59e1ed; background: rgba(255,255,255,.07); } .fc-trust-item strong { display: block; font-size: 12px; } .fc-trust-item small { color: #bfd0df; font-size: 10px; } /* INTRO */ .fc-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; } .fc-intro-copy h2 { margin: 17px 0; color: var(--fc-navy); font-size: clamp(27px, 3.5vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.25; } .fc-intro-copy p { color: var(--fc-muted); font-size: 13px; line-height: 1.95; } .fc-intro-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 23px; } .fc-intro-point { display: flex; gap: 9px; padding: 13px; border: 1px solid var(--fc-border); border-radius: 12px; background: #fff; font-size: 11px; font-weight: 800; } .fc-intro-point i { margin-top: 4px; color: var(--fc-blue); } .fc-intro-visual { position: relative; min-height: 365px; overflow: hidden; border-radius: 23px; background: linear-gradient(145deg, rgba(6,29,53,.08), rgba(8,43,80,.3)), url("../assets/images/building.jpg") center/cover no-repeat, #dce9f3; box-shadow: var(--fc-shadow); } .fc-visual-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 15px; color: #fff; background: rgba(5,28,51,.84); backdrop-filter: blur(12px); } .fc-visual-caption strong { display: block; font-size: 18px; } .fc-visual-caption span { color: #d4e4f1; font-size: 11px; } /* PRODUCT SEARCH */ .fc-search-card { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 30px auto 0; padding: 9px 12px 9px 18px; border: 1px solid var(--fc-border); border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(8,43,80,.07); } .fc-search-card > i { color: var(--fc-blue); } .fc-search-card input { width: 100%; min-width: 0; padding: 10px 0; border: 0; outline: none; background: transparent; font-family: inherit; font-size: 12px; } .fc-search-card .fc-search-hint { flex: 0 0 auto; padding: 6px 9px; border-radius: 8px; color: var(--fc-blue); background: #edf7ff; font-size: 10px; font-weight: 800; } /* PRODUCT TABS AND TABLES */ .fc-products-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; } .fc-products-header h2 { margin: 12px 0 0; color: var(--fc-navy); font-size: clamp(27px, 3.5vw, 39px); font-weight: 800; letter-spacing: -1px; } .fc-products-header p { margin: 7px 0 0; color: var(--fc-muted); font-size: 12px; } .fc-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0; border: 0; } .fc-tabs .nav-link { min-height: 43px; padding: 11px 17px; border: 1px solid var(--fc-border); border-radius: 10px; color: #40566c; background: #fff; font-family: inherit; font-size: 11px; font-weight: 800; transition: .2s ease; } .fc-tabs .nav-link:hover { border-color: #acd8fb; color: var(--fc-blue); } .fc-tabs .nav-link.active { border-color: var(--fc-blue); color: #fff; background: linear-gradient(120deg, var(--fc-blue), #08a9d1); box-shadow: 0 7px 18px rgba(8,121,220,.18); } .fc-table-card { overflow: hidden; padding: 17px; border: 1px solid var(--fc-border); border-radius: 18px; background: #fff; box-shadow: var(--fc-shadow); } .fc-table-card .bootstrap-table { width: 100%; } .fc-table-card .fixed-table-toolbar { padding: 5px 0 15px; } .fc-table-card .search input { min-height: 39px; border-color: var(--fc-border); border-radius: 9px; box-shadow: none; font-family: inherit; font-size: 12px; } .fc-table-card .fixed-table-container { border: 0; } .fc-table-card .table { margin-bottom: 0; vertical-align: middle; } .fc-table-card .table thead th { padding: 15px 12px; border: 0; color: #fff; background: var(--fc-navy); font-size: 10px; font-weight: 800; white-space: nowrap; } .fc-table-card .table tbody td { padding: 13px 12px; border-color: #edf1f6; color: #344b60; font-size: 11px; vertical-align: middle; } .fc-table-card .table-striped > tbody > tr:nth-of-type(odd) > * { background: #f7faff; } .fc-table-card .table-hover > tbody > tr:hover > * { background: #edf7ff; } .fc-product-code { display: inline-block; padding: 5px 8px; border-radius: 6px; color: #096dbb; background: #eaf5ff; font-size: 10px; font-weight: 800; } .fc-shade { display: inline-block; width: 45px; height: 25px; border: 1px solid rgba(0,0,0,.09); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); } .fc-quote-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #cfe5f8; border-radius: 8px; color: var(--fc-blue); background: #f2f9ff; font-size: 10px; font-weight: 800; white-space: nowrap; text-decoration: none; transition: .2s ease; } .fc-quote-btn:hover { border-color: var(--fc-blue); color: #fff; background: var(--fc-blue); } .fc-table-card .pagination .page-link { color: var(--fc-blue); font-size: 11px; } .fc-table-card .pagination .active .page-link { border-color: var(--fc-blue); color: #fff; background: var(--fc-blue); } /* SPECIALITY CARDS */ .fc-speciality-grid { margin-top: 38px; } .fc-feature-card { position: relative; min-height: 260px; overflow: hidden; border-radius: 17px; background: var(--fc-navy); isolation: isolate; } .fc-feature-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; } .fc-feature-card:hover img { transform: scale(1.07); } .fc-feature-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(3,18,34,.95), rgba(3,18,34,.02) 85%); content: ""; } .fc-feature-content { position: absolute; right: 17px; bottom: 18px; left: 17px; color: #fff; } .fc-feature-content h3 { margin: 0 0 5px; color: #fff; font-size: 15px; font-weight: 800; } .fc-feature-content p { margin: 0; color: #d9e8f5; font-size: 10px; } #fc-speciality-slider .owl-dots { margin-top: 20px; } #fc-speciality-slider .owl-dot span { width: 8px; height: 8px; background: #c9d9e8; } #fc-speciality-slider .owl-dot.active span { width: 24px; border-radius: 8px; background: var(--fc-blue); } /* ENQUIRY */ .fc-enquiry-section { background: radial-gradient(circle at 5% 10%, rgba(19,190,208,.1), transparent 30%), var(--fc-bg); } .fc-enquiry-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: stretch; } .fc-enquiry-info { display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, rgba(4,25,46,.96), rgba(5,75,123,.91)), url("../assets/images/building.jpg") center/cover no-repeat, var(--fc-navy); } .fc-enquiry-info h2 { margin: 17px 0; color: #fff; font-size: clamp(27px, 3vw, 38px); font-weight: 800; line-height: 1.2; } .fc-enquiry-info > div > p { color: #d4e4f1; font-size: 12px; } .fc-contact-line { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; } .fc-contact-line > i { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #5ce0ed; background: rgba(255,255,255,.07); } .fc-contact-line strong { display: block; font-size: 12px; } .fc-contact-line span { color: #d4e4f1; font-size: 11px; overflow-wrap: anywhere; } .fc-form-card { padding: 32px; border: 1px solid var(--fc-border); border-radius: 22px; background: #fff; box-shadow: var(--fc-shadow); } .fc-form-card h3 { margin: 0 0 7px; color: var(--fc-navy); font-size: 25px; font-weight: 800; } .fc-form-subtitle { margin-bottom: 24px; color: var(--fc-muted); font-size: 11px; } .fc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .fc-field { min-width: 0; } .fc-field-full { grid-column: 1 / -1; } .fc-field label { display: block; margin-bottom: 7px; color: #30465b; font-size: 10px; font-weight: 800; } .fc-field input, .fc-field select, .fc-field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #dce6ef; border-radius: 9px; outline: 0; color: var(--fc-text); background: #fbfdff; font-family: inherit; font-size: 11px; transition: .2s ease; } .fc-field textarea { min-height: 110px; resize: vertical; } .fc-field input:focus, .fc-field select:focus, .fc-field textarea:focus { border-color: var(--fc-blue); box-shadow: 0 0 0 3px rgba(8,121,220,.1); } .fc-submit { width: 100%; margin-top: 20px; border: 0; cursor: pointer; } .fc-form-note { margin: 12px 0 0; color: #8191a1; font-size: 10px; text-align: center; } /* DETAILS */ .fc-details { background: #fff; } .fc-details h2 { margin-bottom: 17px; color: var(--fc-navy); font-size: 25px; font-weight: 800; } .fc-details p { color: var(--fc-muted); font-size: 12px; line-height: 2; } /* CTA */ .fc-cta { padding: 45px 0; color: #fff; background: linear-gradient(110deg, #061d35, #07558a); } .fc-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; } .fc-cta h2 { margin: 0 0 7px; color: #fff; font-size: clamp(22px, 3vw, 31px); font-weight: 800; } .fc-cta p { margin: 0; color: #d2e5f4; font-size: 12px; } @media (max-width: 991px) { .fc-products-header { align-items: flex-start; flex-direction: column; } .fc-tabs { justify-content: flex-start; } .fc-intro-grid { gap: 28px; } .fc-enquiry-grid { grid-template-columns: 1fr; } .fc-enquiry-info { gap: 32px; } } @media (max-width: 700px) { .fc-section { padding: 58px 0; } .fc-hero { min-height: 410px; padding: 60px 0; } .fc-hero h1 { letter-spacing: -1px; } .fc-hero p { font-size: 13px; } .fc-trust-grid { grid-template-columns: 1fr; gap: 16px; } .fc-intro-grid { grid-template-columns: 1fr; } .fc-intro-visual { min-height: 270px; } .fc-intro-points { grid-template-columns: 1fr; } .fc-table-card { padding: 10px; } .fc-table-card .table thead th, .fc-table-card .table tbody td { padding: 11px 9px; } .fc-enquiry-info, .fc-form-card { padding: 23px; border-radius: 17px; } .fc-cta-inner { align-items: flex-start; flex-direction: column; } } @media (max-width: 480px) { .fc-container { width: calc(100% - 26px); } .fc-actions { flex-direction: column; } .fc-actions .fc-btn { width: 100%; } .fc-form-grid { grid-template-columns: 1fr; } .fc-field-full { grid-column: auto; } .fc-tabs { display: grid; grid-template-columns: 1fr; width: 100%; } .fc-tabs .nav-link { width: 100%; } .fc-search-card { gap: 8px; padding-left: 12px; } .fc-search-card .fc-search-hint { display: none; } } </style> </head> <body> <main class="fc-page"> <!-- PREMIUM HERO --> <section class="fc-hero"> <div class="fc-container"> <div class="fc-hero-content"> <span class="fc-eyebrow"> <i class="fa-solid fa-flask"></i> Food Colour Solutions </span> <h1> Food Colours for<br> <span>Every Application</span> </h1> <p> Explore basic colours, blended shades and caramel colours for suitable food-industry applications. Contact our team to discuss product specifications and requirements. </p> <div class="fc-actions"> <a href="#fc-products" class="fc-btn fc-btn-primary"> Explore Our Products <i class="fa-solid fa-arrow-right"></i> </a> <a href="#enquiry-section" class="fc-btn fc-btn-outline"> <i class="fa-regular fa-envelope"></i> Request an Enquiry </a> </div> </div> </div> </section> <!-- TRUST STRIP --> <section class="fc-trust"> <div class="fc-container fc-trust-grid"> <div class="fc-trust-item"> <span class="fc-trust-icon"><i class="fa-solid fa-palette"></i></span> <div> <strong>Multiple Colour Categories</strong> <small>Basic, blended and caramel colours</small> </div> </div> <div class="fc-trust-item"> <span class="fc-trust-icon"><i class="fa-solid fa-industry"></i></span> <div> <strong>Industry-Focused Portfolio</strong> <small>Discuss your intended application</small> </div> </div> <div class="fc-trust-item"> <span class="fc-trust-icon"><i class="fa-solid fa-headset"></i></span> <div> <strong>Product Enquiry Assistance</strong> <small>Connect with our product team</small> </div> </div> </div> </section> <!-- INTRODUCTION --> <section class="fc-section"> <div class="fc-container fc-intro-grid"> <div class="fc-intro-copy"> <span class="fc-eyebrow"> <i class="fa-solid fa-atom"></i> About Food Colours </span> <h2>Colour Solutions for Food Industry Applications</h2> <p> Caramel colours have a long history of use as colouring ingredients in a variety of food and beverage applications. They are produced by heating food-grade carbohydrates under controlled manufacturing conditions. </p> <p> Our food colour portfolio includes caramel colours, selected colour shades and blended colours. Product suitability, composition, application limits and specifications should be confirmed for the intended use. </p> <div class="fc-intro-points"> <div class="fc-intro-point"> <i class="fa-solid fa-circle-check"></i> Basic food colour range </div> <div class="fc-intro-point"> <i class="fa-solid fa-circle-check"></i> Blended colour options </div> <div class="fc-intro-point"> <i class="fa-solid fa-circle-check"></i> Caramel colour range </div> <div class="fc-intro-point"> <i class="fa-solid fa-circle-check"></i> Product enquiry support </div> </div> </div> <div class="fc-intro-visual"> <div class="fc-visual-caption"> <strong>OPPULENT CHEMICALLS EXCELLENCE INNOVATION</strong> <span>Food colours and speciality chemical solutions</span> </div> </div> </div> </section> <!-- PRODUCT TABLES --> <section class="fc-section fc-section-light" id="fc-products"> <div class="fc-container"> <div class="fc-products-header"> <div> <span class="fc-eyebrow"> <i class="fa-solid fa-layer-group"></i> Product Portfolio </span> <h2>Explore Our Products</h2> <p>Select a category to view product details and request a quote.</p> </div> <ul class="nav nav-pills fc-tabs" id="fcProductTabs" role="tablist"> <li class="nav-item" role="presentation"> <button class="nav-link active" id="fc-basic-tab" data-bs-toggle="pill" data-bs-target="#fc-basic" type="button" role="tab" aria-controls="fc-basic" aria-selected="true"> Basic Colours </button> </li> <li class="nav-item" role="presentation"> <button class="nav-link" id="fc-blended-tab" data-bs-toggle="pill" data-bs-target="#fc-blended" type="button" role="tab" aria-controls="fc-blended" aria-selected="false"> Blended Colours </button> </li> <li class="nav-item" role="presentation"> <button class="nav-link" id="fc-caramel-tab" data-bs-toggle="pill" data-bs-target="#fc-caramel" type="button" role="tab" aria-controls="fc-caramel" aria-selected="false"> Caramel Colours </button> </li> </ul> </div> <div class="fc-search-card"> <i class="fa-solid fa-magnifying-glass"></i> <input type="search" id="fcGlobalSearch" placeholder="Search product name, product code, colour index or E-number..." aria-label="Search food colour products" > <span class="fc-search-hint">PRODUCT SEARCH</span> </div> <div class="tab-content mt-4" id="fcProductTabContent"> <!-- BASIC COLOURS --> <div class="tab-pane fade show active" id="fc-basic" role="tabpanel" aria-labelledby="fc-basic-tab" tabindex="0"> <div class="fc-table-card"> <table id="foodtable" class="table table-striped table-hover"></table> </div> </div> <!-- BLENDED COLOURS --> <div class="tab-pane fade" id="fc-blended" role="tabpanel" aria-labelledby="fc-blended-tab" tabindex="0"> <div class="fc-table-card"> <table id="foodtable2tb" class="table table-striped table-hover"></table> </div> </div> <!-- CARAMEL COLOURS --> <div class="tab-pane fade" id="fc-caramel" role="tabpanel" aria-labelledby="fc-caramel-tab" tabindex="0"> <div class="fc-table-card"> <table id="carameltable" class="table table-striped table-hover"></table> </div> </div> </div> </div> </section> <!-- SPECIALITY CHEMICALS --> <section class="fc-section"> <div class="fc-container"> <div class="fc-center"> <span class="fc-eyebrow"> <i class="fa-solid fa-atom"></i> Discover Our Portfolio </span> <h2 class="fc-section-heading">Speciality Chemicals</h2> <p class="fc-section-description"> Explore additional chemical categories for a range of industrial applications. </p> </div> <div class="owl-carousel owl-theme fc-speciality-grid" id="fc-speciality-slider"> <?php foreach ($specialityCards as $card): ?> <div class="item"> <article class="fc-feature-card"> <img src="../assets/images/<?= rawurlencode($card[1]); ?>" alt="<?= food_page_e($card[0]); ?>" loading="lazy" onerror="this.style.display='none';" > <div class="fc-feature-content"> <h3><?= food_page_e($card[0]); ?></h3> <p>Explore our speciality chemical portfolio.</p> </div> </article> </div> <?php endforeach; ?> </div> </div> </section> <!-- ENQUIRY SECTION --> <section class="fc-section fc-enquiry-section" id="enquiry-section"> <div class="fc-container"> <div class="fc-center mb-5"> <span class="fc-eyebrow"> <i class="fa-regular fa-paper-plane"></i> Contact Our Team </span> <h2 class="fc-section-heading">Request Product Information</h2> <p class="fc-section-description"> Share your product requirements and continue your enquiry through WhatsApp. </p> </div> <div class="fc-enquiry-grid"> <div class="fc-enquiry-info"> <div> <span class="fc-eyebrow"> <i class="fa-solid fa-headset"></i> We're Here to Help </span> <h2>Let's Discuss Your Requirements</h2> <p> Tell us which colour category you are interested in and share the intended application, required quantity and relevant specifications. </p> </div> <div> <div class="fc-contact-line"> <i class="fa-brands fa-whatsapp"></i> <div> <strong>WhatsApp Enquiries</strong> <span>+91 74284 65992</span> </div> </div> <div class="fc-contact-line"> <i class="fa-solid fa-palette"></i> <div> <strong>Product Categories</strong> <span>Basic, blended and caramel colours</span> </div> </div> <div class="fc-contact-line"> <i class="fa-solid fa-file-circle-check"></i> <div> <strong>Product Information</strong> <span>Ask about specifications and intended-use suitability.</span> </div> </div> </div> </div> <div class="fc-form-card"> <h3>Send Your Enquiry</h3> <p class="fc-form-subtitle">Fields marked * are required.</p> <form id="fcWhatsAppForm"> <div class="fc-form-grid"> <div class="fc-field"> <label for="wa_name">Full Name *</label> <input type="text" id="wa_name" name="name" placeholder="Enter your name" maxlength="100" required> </div> <div class="fc-field"> <label for="wa_email">Email Address *</label> <input type="email" id="wa_email" name="email" placeholder="name@company.com" maxlength="150" required> </div> <div class="fc-field"> <label for="wa_phone">Mobile Number *</label> <input type="tel" id="wa_phone" name="phone" placeholder="Enter mobile number" maxlength="25" required> </div> <div class="fc-field"> <label for="wa_location">Location *</label> <input type="text" id="wa_location" name="location" placeholder="City / Country" maxlength="150" required> </div> <div class="fc-field fc-field-full"> <label for="wa_company">Company Name *</label> <input type="text" id="wa_company" name="company" placeholder="Enter company name" maxlength="150" required> </div> <div class="fc-field"> <label for="wa_product">Product Name *</label> <input type="text" id="wa_product" name="product" placeholder="Product or colour name" maxlength="200" required> </div> <div class="fc-field"> <label for="wa_qty">Required Quantity *</label> <input type="text" id="wa_qty" name="quantity" placeholder="e.g. 25 kg" maxlength="100" required> </div> <div class="fc-field fc-field-full"> <label for="wa_msg">Message / Application *</label> <textarea id="wa_msg" name="message" placeholder="Describe your requirements..." maxlength="3000" required></textarea> </div> </div> <button type="submit" class="fc-btn fc-btn-primary fc-submit"> Continue on WhatsApp <i class="fa-brands fa-whatsapp"></i> </button> <p class="fc-form-note"> WhatsApp will open with your enquiry details prepared. </p> </form> </div> </div> </div> </section> <!-- FOOD COLOURS DETAILS --> <section class="fc-section fc-details"> <div class="fc-container"> <span class="fc-eyebrow"> <i class="fa-solid fa-book-open"></i> Product Overview </span> <h2 class="mt-3">Food Colours: Product Information</h2> <p> Food colours are used across many food and beverage applications. Colour ingredients may be natural, synthetic or produced through specific processing methods. The permitted ingredients, conditions of use and labelling requirements depend on the product and the regulations applicable in the intended market. </p> <p> Caramel colours are used in selected products such as beverages, sauces, confectionery and other food applications. Different caramel colour classes have distinct manufacturing methods and characteristics. Please confirm the appropriate product grade, technical documentation and regulatory suitability with the supplier before use. </p> <p> Contact OPPULENT CHEMICALLS EXCELLENCE INNOVATION for product information, availability and application-specific enquiries. </p> </div> </section> <!-- FINAL CTA --> <section class="fc-cta"> <div class="fc-container fc-cta-inner"> <div> <h2>Looking for a Specific Colour?</h2> <p>Send your product name, application and required quantity.</p> </div> <a href="#enquiry-section" class="fc-btn fc-btn-primary"> Request a Quote <i class="fa-solid fa-arrow-right"></i> </a> </div> </section> </main> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> <script src="https://unpkg.com/bootstrap-table@1.22.1/dist/bootstrap-table.min.js"></script> <script> (function ($) { "use strict"; if (!$) return; const quoteButton = function () { return '<a href="#enquiry-section" class="fc-quote-btn js-fc-quote">' + 'Get a Quote <i class="fa-solid fa-arrow-right"></i></a>'; }; const shadeCell = function (colour) { return '<span class="fc-shade" style="background-color:' + colour + ';" aria-label="Colour shade"></span>'; }; const basicData = <?= json_encode(array_map(function ($p) { return [ 'code' => $p[0], 'name' => $p[1], 'shade' => $p[2], 'index' => $p[3], 'eno' => $p[4] ]; }, $basicColours), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); ?>; const blendedData = <?= json_encode(array_map(function ($p) { return [ 'code' => $p[0], 'name' => $p[1], 'shade' => $p[2] ]; }, $blendedColours), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); ?>; const caramelData = <?= json_encode(array_map(function ($p) { return [ 'code' => $p[0], 'name' => $p[1], 'eno' => $p[2] ]; }, $caramelColours), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP); ?>; function initTable(selector, columns, data) { const $table = $(selector); if (!$table.length || typeof $table.bootstrapTable !== "function") { return; } $table.bootstrapTable({ columns: columns, data: data, search: true, pagination: true, pageSize: 5, pageList: [5, 10, 20, 50, "all"], showRefresh: false, showToggle: false, showColumns: false, mobileResponsive: true, escape: true, formatNoMatches: function () { return "No matching products found."; } }); } initTable("#foodtable", [ { field: "code", title: "Product Code", formatter: function (v) { return '<span class="fc-product-code">' + $("<div>").text(v).html() + '</span>'; }}, { field: "name", title: "Product Name" }, { field: "shade", title: "Colour Shade", formatter: function (v) { return shadeCell(v); }}, { field: "index", title: "Colour Index No." }, { field: "eno", title: "E-Number" }, { field: "action", title: "Enquiry", formatter: function () { return quoteButton(); }} ], basicData); initTable("#foodtable2tb", [ { field: "code", title: "Product Code", formatter: function (v) { return '<span class="fc-product-code">' + $("<div>").text(v).html() + '</span>'; }}, { field: "name", title: "Product Name" }, { field: "shade", title: "Colour Shade", formatter: function (v) { return shadeCell(v); }}, { field: "action", title: "Enquiry", formatter: function () { return quoteButton(); }} ], blendedData); initTable("#carameltable", [ { field: "code", title: "Product Code", formatter: function (v) { return '<span class="fc-product-code">' + $("<div>").text(v).html() + '</span>'; }}, { field: "name", title: "Product Name" }, { field: "eno", title: "E-Number" }, { field: "action", title: "Enquiry", formatter: function () { return quoteButton(); }} ], caramelData); /* * Main search field controls the active category's Bootstrap Table search. */ const tableByPane = { "#fc-basic": "#foodtable", "#fc-blended": "#foodtable2tb", "#fc-caramel": "#carameltable" }; function activeTableSelector() { const pane = document.querySelector("#fcProductTabContent .tab-pane.active"); if (!pane) return "#foodtable"; return tableByPane["#" + pane.id] || "#foodtable"; } function applyGlobalSearch() { const query = ($("#fcGlobalSearch").val() || "").trim(); const selector = activeTableSelector(); const $table = $(selector); if ($table.length && typeof $table.bootstrapTable === "function") { $table.bootstrapTable("resetSearch", query); } } $("#fcGlobalSearch").on("input", applyGlobalSearch); document.querySelectorAll("#fcProductTabs [data-bs-toggle='pill']").forEach(function (tab) { tab.addEventListener("shown.bs.tab", applyGlobalSearch); }); /* * Quote button pre-fills the selected product. */ $(document).on("click", ".js-fc-quote", function (event) { event.preventDefault(); const $row = $(this).closest("tr"); const productName = $row.find("td").eq(1).text().trim(); const productField = document.getElementById("wa_product"); if (productField && productName) { productField.value = productName; } const enquiry = document.getElementById("enquiry-section"); if (enquiry) { enquiry.scrollIntoView({ behavior: "smooth", block: "start" }); } }); /* * Speciality Chemicals carousel. */ function initSpecialitySlider() { const $slider = $("#fc-speciality-slider"); if ($slider.length && $.fn.owlCarousel) { $slider.owlCarousel({ loop: true, margin: 18, nav: false, dots: true, autoplay: true, autoplayTimeout: 3500, autoplayHoverPause: true, responsive: { 0: { items: 1 }, 480: { items: 2 }, 768: { items: 3 }, 1100: { items: 4 } } }); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", initSpecialitySlider); } else { initSpecialitySlider(); } /* * WhatsApp enquiry. */ const form = document.getElementById("fcWhatsAppForm"); if (form) { form.addEventListener("submit", function (event) { event.preventDefault(); if (!form.reportValidity()) return; const value = function (id) { const field = document.getElementById(id); return field ? field.value.trim() : ""; }; const details = [ "Hello, I would like to enquire about Food Colours.", "", "Name: " + value("wa_name"), "Email: " + value("wa_email"), "Mobile: " + value("wa_phone"), "Location: " + value("wa_location"), "Company: " + value("wa_company"), "Product: " + value("wa_product"), "Quantity: " + value("wa_qty"), "", "Message: " + value("wa_msg") ]; const whatsappNumber = "917428465992"; const url = "https://wa.me/" + whatsappNumber + "?text=" + encodeURIComponent(details.join("\n")); const popup = window.open(url, "_blank", "noopener,noreferrer"); if (!popup) { window.location.href = url; } }); } })(window.jQuery); </script> <?php /* Automatically load shared footer */ $footerCandidates = [ __DIR__ . '/footer.php', __DIR__ . '/footer.php', ]; foreach ($footerCandidates as $footerFile) { if (is_file($footerFile)) { include_once $footerFile; break; } } ?> </body> </html>
Save
Cancel