<?php
/**
 * File: our-journey.php
 * OPPULENT CHEMICALLS — Premium Corporate Journey Page
 * Responsive UI | PHP | Bootstrap 5 | Timeline Tabs
 * Images: assets/images/
 */

if (session_status() !== PHP_SESSION_ACTIVE) {
    session_start();
}

if (!function_exists('journeyEscape')) {
    function journeyEscape($value): string
    {
        return htmlspecialchars((string)$value, ENT_QUOTES, 'UTF-8');
    }
}

$imageFolder = 'assets/images/';

$bannerImage = $imageFolder . 'legacycoverpagemin.jpg';
$chartImage  = $imageFolder . 'aboutuspagechart02.png';

/*
|--------------------------------------------------------------------------
| COMPANY TIMELINE
|--------------------------------------------------------------------------
| Existing milestones are retained from your supplied content.
| Founder name has been removed from the leadership milestone.
*/

$timeline = [
    '1981-1990' => [
        [
            '1981',
            'Humble Beginnings',
            'The journey began with chemical distribution, establishing the foundation for future growth.',
            '1981.jpg'
        ],
        [
            '1983–1986',
            'Building the Foundation',
            'Business operations expanded with new agencies and warehouse infrastructure.',
            '1982.jpg'
        ],
        [
            '1986–1990',
            'Expanding Our Reach',
            'The business extended its presence across additional regional markets.',
            '1983.jpg'
        ]
    ],

    '1991-2000' => [
        [
            '1991–2000',
            'Strategic Partnerships',
            'Developed business partnerships to support wider chemical distribution activities.',
            '1991.jpg'
        ],
        [
            '1991–2000',
            'A Wider Network',
            'Expanded operations into additional Indian commercial and industrial markets.',
            '1992.jpg'
        ],
        [
            '1991–2000',
            'Recognition for Performance',
            'Received recognition for business and tax contribution, as recorded in the original company history.',
            '1993.jpg'
        ]
    ],

    '2001-2009' => [
        [
            '2001–2009',
            'Expanding Import Capabilities',
            'Developed bulk chemical import activities through key Indian port locations.',
            '2001.jpg'
        ],
        [
            '2001–2009',
            'Leadership & Governance',
            'Strengthened organisational leadership and industry engagement.',
            '2002.jpg'
        ],
        [
            '2001–2009',
            'Growing Our Presence',
            'Expanded business operations into more Indian cities and international markets.',
            '2003.jpg'
        ]
    ],

    '2010-2015' => [
        [
            '2010–2015',
            'New Markets & Opportunities',
            'Explored international markets and additional business divisions.',
            '2010.jpg'
        ],
        [
            '2010–2015',
            'Infrastructure Development',
            'Invested in warehouse capabilities and operational development.',
            '2011.jpg'
        ],
        [
            '2010–2015',
            'Brand Development',
            'Expanded the product portfolio with branded chemical offerings.',
            '2012.jpg'
        ]
    ],

    '2016-2020' => [
        [
            '2016–2020',
            'Improving Delivery Capabilities',
            'Developed additional delivery services to support customer requirements.',
            '2016.jpg'
        ],
        [
            '2016–2020',
            'Industry Recognition',
            'Received industry recognitions for business and export performance, as recorded in the original history.',
            '2017.jpg'
        ],
        [
            '2016–2020',
            'Exploring New Markets',
            'Expanded market activity and developed new brand and business initiatives.',
            '2018.jpg'
        ]
    ],

    '2021-2024' => [
        [
            '2021–2023',
            'Operational Excellence',
            'Continued developing operational processes, infrastructure and quality-focused practices.',
            '2021.jpg'
        ],
        [
            '2023–2024',
            'Manufacturing Capabilities',
            'Advanced manufacturing infrastructure and production capabilities, according to the supplied company history.',
            '2023.jpg'
        ],
        [
            '2024',
            'Industry Recognition',
            'The original company history records recognition in chemical distribution rankings.',
            '2024.jpg'
        ]
    ]
];

/*
|--------------------------------------------------------------------------
| LEADERSHIP
|--------------------------------------------------------------------------
| Update image files and official names when verified details are available.
*/

$leaders = [
    [
        'Leadership Team',
        'Chairman & Managing Director',
        'cmd.jpg'
    ],
    [
        'Executive Leadership',
        'Executive Director',
        'ed1.jpg'
    ],
    [
        'Business Leadership',
        'Executive Director',
        'ed2.jpg'
    ]
];

/*
|--------------------------------------------------------------------------
| AWARDS
|--------------------------------------------------------------------------
*/

$awards = [
    [
        'Industry Recognition',
        'ChemExcil',
        'awards1.jpg'
    ],
    [
        'Media Recognition',
        'News 7 Tamil',
        'awards2.jpg'
    ],
    [
        'Entrepreneurship',
        'Self Made Entrepreneur',
        'awards4.jpg'
    ],
    [
        'Brand Recognition',
        'Best Brand in Solvents · Paint Vision',
        'awards5.jpg'
    ]
];

$activeRange = '2021-2024';

include __DIR__ . '/header.php';
?>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
      rel="stylesheet">

<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap"
      rel="stylesheet">

<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
      rel="stylesheet">

<style>
/* ==========================================================
   OPPULENT CHEMICALLS — JOURNEY PAGE
   CSS classes are prefixed to minimise header/footer conflicts.
========================================================== */

.oc-journey,
.oc-journey * {
    box-sizing: border-box;
}

.oc-journey {
    --oc-navy: #071b3d;
    --oc-blue: #164b9b;
    --oc-blue-light: #eaf2ff;
    --oc-coral: #ed715e;
    --oc-text: #17263e;
    --oc-muted: #6d798d;
    --oc-border: #e4eaf2;
    --oc-soft: #f5f8fd;
    --oc-white: #fff;
    --oc-radius: 22px;
    --oc-shadow: 0 16px 45px rgba(13, 39, 81, .075);
    font-family: 'DM Sans', sans-serif;
    color: var(--oc-text);
    background: #fff;
    overflow: clip;
}

.oc-journey img {
    display: block;
    max-width: 100%;
}

.oc-journey a {
    text-decoration: none;
}

.oc-container {
    width: min(1190px, calc(100% - 42px));
    margin-inline: auto;
}

.oc-section {
    padding: 82px 0;
}

.oc-soft {
    background: var(--oc-soft);
}

.oc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--oc-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.oc-eyebrow:before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--oc-coral);
    border-radius: 4px;
}

.oc-section-title {
    font-family: 'Manrope', sans-serif;
    color: var(--oc-navy);
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.3px;
    margin: 0;
}

.oc-section-desc {
    max-width: 680px;
    margin: 15px auto 0;
    color: var(--oc-muted);
    font-size: 14px;
    line-height: 1.9;
}

.oc-section-heading {
    text-align: center;
    margin: 0 auto 42px;
}

.oc-section-heading .oc-eyebrow {
    justify-content: center;
}

.oc-section-heading .oc-section-title {
    max-width: 800px;
    margin-inline: auto;
}

.oc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    min-height: 48px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    transition: transform .25s, background .25s, box-shadow .25s;
}

.oc-btn:hover {
    transform: translateY(-3px);
}

.oc-btn-primary {
    color: #fff !important;
    background: var(--oc-coral);
    box-shadow: 0 8px 22px rgba(237, 113, 94, .23);
}

.oc-btn-primary:hover {
    background: #d95c4b;
}

.oc-btn-white {
    color: var(--oc-navy) !important;
    background: #fff;
}

.oc-btn-outline {
    border: 1px solid #d9e2ef;
    color: var(--oc-navy) !important;
    background: #fff;
}

/* HERO BANNER */

.oc-journey-hero {
    position: relative;
    min-height: clamp(235px, 34vw, 430px);
    background: var(--oc-navy);
    overflow: hidden;
}

.oc-journey-hero img {
    width: 100%;
    height: clamp(235px, 34vw, 430px);
    object-fit: cover;
    object-position: center;
}

.oc-journey-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7, 27, 61, .17), transparent 65%);
}

/* INTRO */

.oc-journey-intro {
    position: relative;
    text-align: center;
    padding: 65px 0 68px;
    background: #fff;
}

.oc-journey-intro:after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin: 28px auto 0;
    background: var(--oc-coral);
    border-radius: 8px;
}

.oc-journey-intro h1 {
    font-family: 'Manrope', sans-serif;
    color: var(--oc-navy);
    font-size: clamp(36px, 5vw, 57px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.12;
    margin: 0;
}

.oc-journey-intro h1 span {
    color: var(--oc-blue);
}

.oc-journey-intro p {
    max-width: 790px;
    margin: 20px auto 0;
    color: var(--oc-muted);
    font-size: 14px;
    line-height: 2;
}

/* BRAND PILLARS */

.oc-journey-pillars {
    padding: 0 0 65px;
}

.oc-pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--oc-border);
    border-radius: 19px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(13, 39, 81, .04);
}

.oc-pillar {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 23px 20px;
    border-right: 1px solid var(--oc-border);
}

.oc-pillar:last-child {
    border-right: 0;
}

.oc-pillar-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    background: var(--oc-blue-light);
    color: var(--oc-blue);
    border-radius: 13px;
}

.oc-pillar strong {
    display: block;
    color: var(--oc-navy);
    font-size: 12px;
    line-height: 1.5;
}

.oc-pillar small {
    display: block;
    margin-top: 3px;
    color: var(--oc-muted);
    font-size: 10px;
    line-height: 1.6;
}

/* TIMELINE */

.oc-timeline-section {
    background:
        radial-gradient(circle at 0 0, #e8f0ff 0, transparent 33%),
        var(--oc-soft);
}

.oc-timeline-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 35px;
}

.oc-timeline-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 17px;
    min-height: 43px;
    border: 1px solid #dce5f2;
    border-radius: 50px;
    background: #fff;
    color: var(--oc-navy);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
}

.oc-timeline-btn:hover {
    border-color: var(--oc-blue);
    color: var(--oc-blue);
    transform: translateY(-2px);
}

.oc-timeline-btn.active {
    background: var(--oc-navy);
    color: #fff;
    border-color: var(--oc-navy);
    box-shadow: 0 8px 20px rgba(7, 27, 61, .16);
}

.oc-timeline-btn .oc-tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--oc-coral);
}

.oc-timeline-panel[hidden] {
    display: none !important;
}

.oc-timeline-panel:not([hidden]) {
    animation: ocPanelFade .35s ease;
}

@keyframes ocPanelFade {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}

.oc-period-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.oc-period-heading span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    background: #fff;
    color: var(--oc-blue);
    border: 1px solid var(--oc-border);
    border-radius: 14px;
}

.oc-period-heading h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--oc-navy);
    font-size: 21px;
    font-weight: 800;
}

.oc-period-heading p {
    margin: 3px 0 0;
    color: var(--oc-muted);
    font-size: 11px;
}

.oc-timeline-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: var(--oc-radius);
    overflow: hidden;
    box-shadow: 0 9px 27px rgba(13, 39, 81, .045);
    transition: transform .3s, box-shadow .3s;
}

.oc-timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--oc-shadow);
}

.oc-timeline-image {
    position: relative;
    height: 215px;
    background: #e9eff8;
    overflow: hidden;
}

.oc-timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.oc-timeline-card:hover .oc-timeline-image img {
    transform: scale(1.06);
}

.oc-image-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #7c8eaa;
    background: linear-gradient(135deg, #eaf2ff, #f8faff);
    font-size: 31px;
}

.oc-timeline-image img:not([src]),
.oc-timeline-image img[src=""] {
    display: none;
}

.oc-timeline-image.oc-image-missing img {
    display: none;
}

.oc-timeline-image.oc-image-missing .oc-image-fallback {
    display: grid;
}

.oc-timeline-image:not(.oc-image-missing) .oc-image-fallback {
    display: none;
}

.oc-timeline-card-body {
    padding: 24px;
}

.oc-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    margin-bottom: 14px;
    background: #edf3ff;
    color: var(--oc-blue);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
}

.oc-timeline-card h3 {
    color: var(--oc-navy);
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 10px;
}

.oc-timeline-card p {
    color: var(--oc-muted);
    font-size: 12px;
    line-height: 1.9;
    margin: 0;
}

/* GROWTH IMAGE */

.oc-growth-section {
    background: #fff;
}

.oc-growth-image-wrap {
    position: relative;
    overflow: hidden;
    padding: 12px;
    border: 1px solid var(--oc-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--oc-shadow);
}

.oc-growth-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

/* LEADERSHIP */

.oc-leadership-section {
    background: var(--oc-soft);
}

.oc-leader-card {
    height: 100%;
    text-align: center;
    padding: 30px 22px;
    border: 1px solid var(--oc-border);
    border-radius: 21px;
    background: #fff;
    transition: .3s;
}

.oc-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--oc-shadow);
}

.oc-leader-image-wrap {
    width: 125px;
    height: 125px;
    position: relative;
    margin: 0 auto 21px;
}

.oc-leader-image {
    width: 100%;
    height: 100%;
    border: 4px solid #fff;
    outline: 1px solid #d8e3f4;
    border-radius: 50%;
    object-fit: cover;
    background: #edf3ff;
}

.oc-leader-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e9f1ff, #f8faff);
    color: var(--oc-blue);
    font-size: 35px;
}

.oc-leader-image-wrap.oc-image-missing .oc-leader-image {
    display: none;
}

.oc-leader-image-wrap.oc-image-missing .oc-leader-placeholder {
    display: flex;
}

.oc-leader-card h3 {
    color: var(--oc-navy);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
}

.oc-leader-card p {
    color: var(--oc-blue);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
}

/* AWARDS */

.oc-awards-section {
    background: #fff;
}

.oc-award-card {
    height: 100%;
    padding: 18px;
    border: 1px solid var(--oc-border);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    transition: .3s;
}

.oc-award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--oc-shadow);
}

.oc-award-image-wrap {
    height: 170px;
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    background: #f8faff;
    border-radius: 13px;
    overflow: hidden;
}

.oc-award-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.oc-award-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    place-items: center;
    color: #8292aa;
    font-size: 32px;
    background: #f1f5fc;
}

.oc-award-image-wrap.oc-image-missing .oc-award-image {
    display: none;
}

.oc-award-image-wrap.oc-image-missing .oc-award-placeholder {
    display: grid;
}

.oc-award-card h3 {
    color: var(--oc-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 6px;
}

.oc-award-card p {
    color: var(--oc-muted);
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}

/* COMPANY PRINCIPLES */

.oc-values-section {
    background: var(--oc-soft);
}

.oc-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.oc-value-card {
    height: 100%;
    padding: 26px;
    border: 1px solid var(--oc-border);
    border-radius: 19px;
    background: #fff;
    transition: .25s;
}

.oc-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--oc-shadow);
}

.oc-value-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--oc-blue);
    background: var(--oc-blue-light);
    border-radius: 14px;
    margin-bottom: 19px;
}

.oc-value-card h3 {
    font-family: 'Manrope', sans-serif;
    color: var(--oc-navy);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 9px;
}

.oc-value-card p {
    color: var(--oc-muted);
    font-size: 12px;
    line-height: 1.9;
    margin: 0;
}

/* CONTACT CTA */

.oc-journey-cta {
    padding: 0 0 82px;
    background: var(--oc-soft);
}

.oc-journey-cta-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 43px;
    border-radius: 25px;
    background: linear-gradient(120deg, #071b3d, #174b9c);
    color: #fff;
}

.oc-journey-cta-inner:after {
    content: "";
    position: absolute;
    right: 14%;
    top: -170px;
    width: 290px;
    height: 290px;
    border: 1px solid #ffffff22;
    border-radius: 50%;
    box-shadow: 0 0 0 40px #ffffff08, 0 0 0 80px #ffffff05;
    pointer-events: none;
}

.oc-journey-cta-copy {
    position: relative;
    z-index: 1;
}

.oc-journey-cta h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(24px, 3vw, 35px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.oc-journey-cta p {
    max-width: 620px;
    margin: 11px 0 0;
    color: #d4e1f5;
    font-size: 12px;
    line-height: 1.9;
}

.oc-journey-cta .oc-btn {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

/* WHATSAPP FLOATING BUTTON */

.oc-journey-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #20b968;
    color: #fff !important;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
    transition: transform .2s;
}

.oc-journey-whatsapp:hover {
    transform: translateY(-4px);
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .oc-section {
        padding: 65px 0;
    }

    .oc-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oc-pillar:nth-child(2) {
        border-right: 0;
    }

    .oc-pillar:nth-child(-n+2) {
        border-bottom: 1px solid var(--oc-border);
    }

    .oc-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oc-journey-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .oc-container {
        width: calc(100% - 30px);
    }

    .oc-section {
        padding: 52px 0;
    }

    .oc-journey-intro {
        padding: 44px 0;
    }

    .oc-journey-intro h1 {
        letter-spacing: -1px;
    }

    .oc-journey-intro p {
        font-size: 13px;
        line-height: 1.9;
    }

    .oc-journey-pillars {
        padding-bottom: 48px;
    }

    .oc-pillar {
        padding: 16px 12px;
        gap: 9px;
    }

    .oc-pillar-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 10px;
    }

    .oc-pillar strong {
        font-size: 10px;
    }

    .oc-pillar small {
        font-size: 9px;
    }

    .oc-timeline-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .oc-timeline-btn {
        width: 100%;
        padding: 11px 8px;
        font-size: 10px;
    }

    .oc-period-heading {
        margin-bottom: 18px;
    }

    .oc-period-heading h3 {
        font-size: 18px;
    }

    .oc-timeline-image {
        height: 220px;
    }

    .oc-timeline-card-body {
        padding: 21px;
    }

    .oc-growth-image-wrap {
        padding: 7px;
        border-radius: 15px;
    }

    .oc-leader-card {
        padding: 25px 12px;
    }

    .oc-leader-image-wrap {
        width: 95px;
        height: 95px;
    }

    .oc-leader-card h3 {
        font-size: 13px;
    }

    .oc-leader-card p {
        font-size: 10px;
    }

    .oc-award-image-wrap {
        height: 125px;
    }

    .oc-values-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .oc-value-card {
        padding: 22px;
    }

    .oc-journey-cta {
        padding-bottom: 55px;
    }

    .oc-journey-cta-inner {
        padding: 29px 23px;
        border-radius: 20px;
    }
}

@media (max-width: 380px) {
    .oc-pillar-grid {
        grid-template-columns: 1fr;
    }

    .oc-pillar {
        border-right: 0;
        border-bottom: 1px solid var(--oc-border);
    }

    .oc-pillar:last-child {
        border-bottom: 0;
    }

    .oc-timeline-btn {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oc-journey *,
    .oc-journey *:before,
    .oc-journey *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
</style>

<main class="oc-journey">

    <!-- HERO BANNER -->
    <section class="oc-journey-hero" aria-label="Company journey banner">
        <img
            src="<?= journeyEscape($bannerImage) ?>"
            alt="Chemical company journey"
            fetchpriority="high"
            onerror="this.style.display='none';"
        >
    </section>

    <!-- INTRODUCTION -->
    <section class="oc-journey-intro">
        <div class="oc-container">
            <span class="oc-eyebrow">Our Story · Our Progress</span>

            <h1>
                Our Journey.<br>
                <span>Our Commitment.</span>
            </h1>

            <p>
                At OPPULENT CHEMICALLS, our journey reflects the importance
                of customer partnerships, chemical expertise and continuous
                improvement. We look forward to the future with a focus on
                quality, responsible business practices and solutions that
                respond to evolving industry needs.
            </p>
        </div>
    </section>

    <!-- CORE PILLARS -->
    <section class="oc-journey-pillars">
        <div class="oc-container">
            <div class="oc-pillar-grid">

                <div class="oc-pillar">
                    <div class="oc-pillar-icon">
                        <i class="fa-solid fa-flask"></i>
                    </div>
                    <div>
                        <strong>Chemical Expertise</strong>
                        <small>Product-focused solutions</small>
                    </div>
                </div>

                <div class="oc-pillar">
                    <div class="oc-pillar-icon">
                        <i class="fa-solid fa-shield-halved"></i>
                    </div>
                    <div>
                        <strong>Quality Mindset</strong>
                        <small>Attention to requirements</small>
                    </div>
                </div>

                <div class="oc-pillar">
                    <div class="oc-pillar-icon">
                        <i class="fa-solid fa-handshake"></i>
                    </div>
                    <div>
                        <strong>Customer Partnership</strong>
                        <small>Long-term relationships</small>
                    </div>
                </div>

                <div class="oc-pillar">
                    <div class="oc-pillar-icon">
                        <i class="fa-solid fa-lightbulb"></i>
                    </div>
                    <div>
                        <strong>Future Focus</strong>
                        <small>Continuous improvement</small>
                    </div>
                </div>

            </div>
        </div>
    </section>

  

    <!-- LEADERSHIP -->
    <section class="oc-section oc-leadership-section">
        <div class="oc-container">

            <div class="oc-section-heading">
                <span class="oc-eyebrow">People & Leadership</span>
                <h2 class="oc-section-title">Leadership for the Next Chapter</h2>
                <p class="oc-section-desc">
                    Strong organisations grow through collaboration,
                    accountability and a shared commitment to serving customers.
                </p>
            </div>

            <div class="row g-4 justify-content-center">

                <?php foreach ($leaders as $leader): ?>

                    <div class="col-6 col-lg-4">

                        <article class="oc-leader-card">

                            <div class="oc-leader-image-wrap">

                                <img
                                    class="oc-leader-image"
                                    src="<?= journeyEscape($imageFolder . $leader[2]) ?>"
                                    alt="<?= journeyEscape($leader[0]) ?>"
                                    loading="lazy"
                                    onerror="this.parentElement.classList.add('oc-image-missing');"
                                >

                                <div class="oc-leader-placeholder" aria-hidden="true">
                                    <i class="fa-solid fa-user-tie"></i>
                                </div>

                            </div>

                            <h3><?= journeyEscape($leader[0]) ?></h3>
                            <p><?= journeyEscape($leader[1]) ?></p>

                        </article>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>
    </section>

    <!-- AWARDS -->
    <section class="oc-section oc-awards-section">
        <div class="oc-container">

            <div class="oc-section-heading">
                <span class="oc-eyebrow">Achievements & Recognition</span>
                <h2 class="oc-section-title">Recognition Along the Way</h2>
                <p class="oc-section-desc">
                    This section presents the recognition categories and award
                    images supplied for your website. Please verify the award
                    names and details before publishing.
                </p>
            </div>

            <div class="row g-3 g-lg-4">

                <?php foreach ($awards as $award): ?>

                    <div class="col-6 col-lg-3">

                        <article class="oc-award-card">

                            <div class="oc-award-image-wrap">

                                <img
                                    class="oc-award-image"
                                    src="<?= journeyEscape($imageFolder . $award[2]) ?>"
                                    alt="<?= journeyEscape($award[0]) ?>"
                                    loading="lazy"
                                    onerror="this.parentElement.classList.add('oc-image-missing');"
                                >

                                <div class="oc-award-placeholder" aria-hidden="true">
                                    <i class="fa-solid fa-award"></i>
                                </div>

                            </div>

                            <h3><?= journeyEscape($award[0]) ?></h3>
                            <p><?= journeyEscape($award[1]) ?></p>

                        </article>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>
    </section>

    <!-- OUR VALUES -->
    <section class="oc-section oc-values-section">
        <div class="oc-container">

            <div class="oc-section-heading">
                <span class="oc-eyebrow">Looking Ahead · 2026</span>
                <h2 class="oc-section-title">Built on Trust. Focused on Tomorrow.</h2>
                <p class="oc-section-desc">
                    Our forward-looking approach is centred on dependable
                    relationships, professional service and a willingness
                    to evolve with the chemical industry.
                </p>
            </div>

            <div class="oc-values-grid">

                <article class="oc-value-card">
                    <div class="oc-value-icon">
                        <i class="fa-solid fa-award"></i>
                    </div>
                    <h3>Quality in Every Detail</h3>
                    <p>
                        We value careful product selection, clear information
                        and attention to customer requirements.
                    </p>
                </article>

                <article class="oc-value-card">
                    <div class="oc-value-icon">
                        <i class="fa-solid fa-people-arrows-left-right"></i>
                    </div>
                    <h3>Partnership That Matters</h3>
                    <p>
                        We believe long-term relationships begin with listening,
                        communication and professional support.
                    </p>
                </article>

                <article class="oc-value-card">
                    <div class="oc-value-icon">
                        <i class="fa-solid fa-lightbulb"></i>
                    </div>
                    <h3>Innovation With Purpose</h3>
                    <p>
                        We remain open to new ideas, changing applications
                        and improved ways of meeting business needs.
                    </p>
                </article>

                <article class="oc-value-card">
                    <div class="oc-value-icon">
                        <i class="fa-solid fa-scale-balanced"></i>
                    </div>
                    <h3>Integrity & Transparency</h3>
                    <p>
                        We value responsible communication, clear expectations
                        and professional conduct in every interaction.
                    </p>
                </article>

                <article class="oc-value-card">
                    <div class="oc-value-icon">
                        <i class="fa-solid fa-seedling"></i>
                    </div>
                    <h3>Responsible Progress</h3>
                    <p>
                        We recognise the importance of thoughtful business
                        practices and a long-term outlook.
                    </p>
                </article>

                <article class="oc-value-card">
                    <div class="oc-value-icon">
                        <i class="fa-solid fa-arrow-trend-up"></i>
                    </div>
                    <h3>Ready for the Future</h3>
                    <p>
                        We aim to keep learning and evolving as customer
                        expectations and industry needs develop.
                    </p>
                </article>

            </div>

        </div>
    </section>

    <!-- CONTACT CTA -->
    <section class="oc-journey-cta">
        <div class="oc-container">

            <div class="oc-journey-cta-inner">

                <div class="oc-journey-cta-copy">
                    <h2>Let's Build the Next Chapter Together.</h2>
                    <p>
                        Have a product enquiry or want to explore a business
                        partnership? Connect with our team to discuss your
                        chemical requirements.
                    </p>
                </div>

                <a
                    class="oc-btn oc-btn-white"
                    href="https://wa.me/917428465992?text=Hello%20OPPULENT%20CHEMICALLS%2C%20I%20would%20like%20to%20discuss%20a%20business%20enquiry."
                    target="_blank"
                    rel="noopener noreferrer"
                >
                    <i class="fa-brands fa-whatsapp"></i>
                    Connect With Us
                </a>

            </div>

        </div>
    </section>

</main>

<!-- FLOATING WHATSAPP -->
<a
    class="oc-journey-whatsapp"
    href="https://wa.me/917428465992?text=Hello%20OPPULENT%20CHEMICALLS%2C%20I%20have%20a%20chemical%20enquiry."
    target="_blank"
    rel="noopener noreferrer"
    aria-label="Contact us on WhatsApp"
>
    <i class="fa-brands fa-whatsapp"></i>
</a>

<!-- TIMELINE INTERACTION -->
<script>
document.addEventListener('DOMContentLoaded', function () {

    const root = document.querySelector('.oc-journey');

    if (!root) {
        return;
    }

    const buttons = root.querySelectorAll('.oc-timeline-btn');
    const panels = root.querySelectorAll('.oc-timeline-panel');

    function activatePeriod(range, moveFocus) {

        let matchingPanel = null;

        buttons.forEach(function (button) {

            const isActive = button.dataset.range === range;

            button.classList.toggle('active', isActive);
            button.setAttribute('aria-pressed', isActive ? 'true' : 'false');

            if (isActive && moveFocus) {
                button.focus();
            }
        });

        panels.forEach(function (panel) {

            const isActive = panel.dataset.panel === range;

            panel.hidden = !isActive;

            if (isActive) {
                matchingPanel = panel;
                panel.style.animation = 'none';
                void panel.offsetWidth;
                panel.style.animation = '';
            }
        });

        return matchingPanel;
    }

    buttons.forEach(function (button, index) {

        button.addEventListener('click', function () {
            activatePeriod(button.dataset.range, false);
        });

        // Accessible keyboard navigation for the timeline tabs.
        button.addEventListener('keydown', function (event) {

            let nextIndex = index;

            if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {
                nextIndex = (index + 1) % buttons.length;
            } else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {
                nextIndex = (index - 1 + buttons.length) % buttons.length;
            } else if (event.key === 'Home') {
                nextIndex = 0;
            } else if (event.key === 'End') {
                nextIndex = buttons.length - 1;
            } else {
                return;
            }

            event.preventDefault();

            const nextButton = buttons[nextIndex];

            activatePeriod(nextButton.dataset.range, true);
        });
    });

    // Make sure the configured default panel is visible.
    const initialButton = root.querySelector('.oc-timeline-btn.active');

    if (initialButton) {
        activatePeriod(initialButton.dataset.range, false);
    }

});
</script>

<?php include __DIR__ . '/footer.php'; ?>
