<?php
require_once 'includes/config.php';
$pageTitle = '20th Kenya Expo 2026 | East Africa\'s Premier Trade Exhibition';
$pageDesc  = 'Join the 20th Kenya Expo by Inexpo Group — East Africa\'s premier international trade exhibition. November 19-22, 2026 at KICC, Nairobi. 200+ exhibitors, 16+ countries, 35,000+ visitors.';
$images    = readJSON(IMAGES_FILE);
$kenya     = readJSON(KENYA_FACTS_FILE);
$trade     = readJSON(TRADE_INDUSTRY_FILE);
$cats      = readJSON(EXHIBITOR_CATS_FILE);
$stats     = readJSON(EVENT_STATS_FILE);
require_once 'includes/header.php';
?>

<!-- SECTION 1 — HERO -->
<section class="hero-section">
  <div class="hero-bg" style="background-image: url('<?php echo htmlspecialchars($images['hero_bg'] ?? ''); ?>');"></div>
  <div class="hero-pattern"></div>
  <div class="container hero-content text-center">
    <div class="hero-badge reveal">
      <i class="fas fa-bullhorn me-2"></i>20TH EDITION
    </div>
    <h1 class="hero-title reveal reveal-delay-1">
      East Africa's Premier <span>Trade Expo</span>
    </h1>
    <h3 class="hero-title reveal reveal-delay-1">
      Book Before 31st August and avail <span>25% Discount </span>on Stand Booking
    </h3>
    <p class="hero-subtitle reveal reveal-delay-2">20th Kenya Expo 2026</p>
    <p class="hero-meta reveal reveal-delay-2">
      <i class="fas fa-map-marker-alt"></i> November 19–22, 2026 &middot; Kenyatta International Convention Centre (KICC), Nairobi
    </p>
    <div class="hero-buttons justify-content-center reveal reveal-delay-3">
      <a href="/register.php?type=exhibitor" class="btn btn-gold btn-lg">
        <i class="fas fa-store me-2"></i>Register as Exhibitor
      </a>
      <a href="/register.php?type=visitor" class="btn btn-outline-gold btn-lg">
        <i class="fas fa-ticket me-2"></i>Register as Visitor
      </a>
    </div>
    <p class="hero-stat-line reveal reveal-delay-4">
      200+ Exhibitors &middot; 16 Countries &middot; 35,000+ Visitors
    </p>
  </div>
  <a href="#milestone" class="hero-scroll-down" aria-label="Scroll down">
    <i class="fas fa-chevron-down"></i>
  </a>
</section>

<!-- SECTION 2 — EDITION MILESTONE STRIP -->
<div id="milestone" class="edition-milestone-strip">
  <div class="container">
    <span class="milestone-text">
      <i class="fas fa-award me-2"></i>20 YEARS OF CONNECTING KENYA TO THE WORLD <br> &middot; 20TH ANNIVERSARY 2026 &middot; KICC, NAIROBI
    </span>
  </div>
</div>

<!-- SECTION 3 — LIVE EVENT STATS -->
<section class="stats-bar section-padding">
  <div class="container">
    <div class="row g-4">
      <div class="col-6 col-lg-3">
        <div class="stat-item reveal">
          <div class="stat-number" data-target="200" data-suffix="+">0</div>
          <div class="stat-label">Exhibitors</div>
        </div>
      </div>
      <div class="col-6 col-lg-3">
        <div class="stat-item reveal">
          <div class="stat-number" data-target="35000" data-suffix="+">0</div>
          <div class="stat-label">Visitors</div>
        </div>
      </div>
      <div class="col-6 col-lg-3">
        <div class="stat-item reveal">
          <div class="stat-number" data-target="16" data-suffix="+">0</div>
          <div class="stat-label">Countries</div>
        </div>
      </div>
      <div class="col-6 col-lg-3">
        <div class="stat-item reveal">
          <div class="stat-number" data-target="20" data-suffix=" Years">0</div>
          <div class="stat-label">Anniversary</div>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- SECTION 4 — ABOUT THE EXPO -->
<section class="section-padding">
  <div class="container">
    <div class="row align-items-center g-5">
      <div class="col-lg-6 reveal">
        <span class="section-label">About The Expo</span>
        <h2 class="section-title">20 Years of Trade, Growth &amp; Partnership</h2>
        <p class="mb-4">The Kenya Expo is East Africa's longest-running and most influential trade exhibition. Celebrating its 20th anniversary in 2026, the expo brings together manufacturers, investors, government agencies, and international buyers under one roof for 4 days of business, networking, and growth.</p>
        <p class="mb-4" style="color:var(--text-muted);">From 22 exhibitors in 2006 to over 200+ expected in 2026, the Kenya Expo has grown into the definitive platform for East African trade. Our past editions have facilitated billions in trade agreements and launched thousands of lasting partnerships.</p>
       <!-- <ul class="mb-4" style="color:var(--text-muted);font-size:0.9rem;">
          <li><i class="fas fa-check me-2" style="color:var(--secondary);"></i>2023: 240 exhibitors, 12,000 visitors, 38 countries</li>
          <li><i class="fas fa-check me-2" style="color:var(--secondary);"></i>2024: 290 exhibitors, 14,500 visitors, 44 countries</li>
          <li><i class="fas fa-check me-2" style="color:var(--secondary);"></i>2025: 320 exhibitors, 16,200 visitors, 48 countries</li>
        </ul> -->
        <a href="/about.php" class="btn btn-gold">Learn More <i class="fas fa-arrow-right ms-2"></i></a>
      </div>
      <div class="col-lg-6 reveal reveal-delay-2">
        <div class="about-image-wrap">
          <img src="<?php echo htmlspecialchars($images['expo_hall'] ?? ''); ?>" alt="Kenya Expo Exhibition Hall">
          <div class="about-image-badge">
            <i class="fas fa-award me-1"></i> 20th Edition
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- SECTION 5 — EXHIBITOR CATEGORIES -->
<section class="section-padding section-dark">
  <div class="container">
    <div class="text-center reveal">
      <span class="section-label">Exhibition Sectors</span>
      <h2 class="section-title text-center">What You'll Find at Kenya Expo 2026</h2>
    </div>
    <div class="row g-4 mt-2">
      <?php foreach ($cats['categories'] ?? [] as $i => $cat): ?>
      <div class="col-6 col-lg-3 reveal reveal-delay-<?php echo ($i % 4) + 1; ?>">
        <div class="category-card">
          <div class="cat-icon"><i class="fas <?php echo htmlspecialchars($cat['icon']); ?>"></i></div>
          <h4><?php echo htmlspecialchars($cat['name']); ?></h4>
          <p><?php echo htmlspecialchars($cat['description']); ?></p>
        </div>
      </div>
      <?php endforeach; ?>
    </div>
  </div>
</section>

<!-- SECTION 6 — WHY EXHIBIT -->
<section class="section-padding">
  <div class="container">
    <div class="text-center reveal">
      <span class="section-label">Why Exhibit</span>
      <h2 class="section-title text-center">Three Reasons to Exhibit</h2>
    </div>
    <div class="row g-4 mt-2">
      <div class="col-md-4 reveal">
        <div class="glass-card text-center">
          <div class="card-icon"><i class="fas fa-globe-africa"></i></div>
          <h4>35,000+ Verified Trade Visitors</h4>
          <p>Connect with qualified buyers and decision-makers from 16+ countries over 4 high-impact days in Nairobi.</p>
        </div>
      </div>
      <div class="col-md-4 reveal reveal-delay-1">
        <div class="glass-card text-center">
          <div class="card-icon"><i class="fas fa-handshake"></i></div>
          <h4>Pre-Scheduled B2B Meetings</h4>
          <p>Our dedicated matchmaking programme connects you with verified international buyers and investors.</p>
        </div>
      </div>
      <div class="col-md-4 reveal reveal-delay-2">
        <div class="glass-card text-center">
          <div class="card-icon"><i class="fas fa-bullhorn"></i></div>
          <h4>Maximum Brand Exposure</h4>
          <p>Your brand featured across all digital and print channels — website, social media, email, expo catalogue.</p>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- SECTION 7 — PROGRAMME TEASER -->
<section class="section-padding section-darker">
  <div class="container">
    <div class="text-center reveal">
      <span class="section-label">Event Programme</span>
      <h2 class="section-title text-center">4 Days of Business &amp; Networking</h2>
    </div>
    <div class="row g-4 mt-4">
      <div class="col-md-6 col-lg-3 reveal">
        <div class="glass-card">
          <div class="d-flex align-items-center mb-3">
            <span class="anniversary-badge me-3" style="width:40px;height:40px;font-size:0.75rem;">01</span>
            <div>
              <h4 class="mb-0">Day 1 — Nov 19</h4>
              <small style="color:var(--secondary);">Opening Day</small>
            </div>
          </div>
          <p style="color:var(--text-muted);font-size:0.88rem;">Official Opening Ceremony with Kenya Cabinet Secretary. Investor Forum: "20 Years of Kenya Trade — What's Next?" Exhibition floor opens. Welcome Gala Dinner.</p>
        </div>
      </div>
      <div class="col-md-6 col-lg-3 reveal reveal-delay-1">
        <div class="glass-card">
          <div class="d-flex align-items-center mb-3">
            <span class="anniversary-badge me-3" style="width:40px;height:40px;font-size:0.75rem;">02</span>
            <div>
              <h4 class="mb-0">Day 2 — Nov 20</h4>
              <small style="color:var(--secondary);">Business Day</small>
            </div>
          </div>
          <p style="color:var(--text-muted);font-size:0.88rem;">Technology Summit: "Silicon Savannah 2026". B2B Matchmaking Session 2. Government Pavilion Launch. Panel: Women in Trade. Agri-Business Investment session.</p>
        </div>
      </div>
      <div class="col-md-6 col-lg-3 reveal reveal-delay-2">
        <div class="glass-card">
          <div class="d-flex align-items-center mb-3">
            <span class="anniversary-badge me-3" style="width:40px;height:40px;font-size:0.75rem;">03</span>
            <div>
              <h4 class="mb-0">Day 3 — Nov 21</h4>
              <small style="color:var(--secondary);">Industry Day</small>
            </div>
          </div>
          <p style="color:var(--text-muted);font-size:0.88rem;">Sector spotlight sessions across manufacturing, agribusiness and energy. B2B Matchmaking Session 3. Buyer-Seller Forum with regional trade delegations. Networking Lunch.</p>
        </div>
      </div>
      <div class="col-md-6 col-lg-3 reveal reveal-delay-3">
        <div class="glass-card">
          <div class="d-flex align-items-center mb-3">
            <span class="anniversary-badge me-3" style="width:40px;height:40px;font-size:0.75rem;">04</span>
            <div>
              <h4 class="mb-0">Day 4 — Nov 22</h4>
              <small style="color:var(--secondary);">Closing Day</small>
            </div>
          </div>
          <p style="color:var(--text-muted);font-size:0.88rem;">Sustainable Trade session. Kenya Expo Excellence Awards Ceremony. Closing Ceremony &amp; Prize Giving. Final exhibition and networking.</p>
        </div>
      </div>
    </div>
   <!-- <div class="text-center mt-5 reveal">
      <a href="/programme.php" class="btn btn-outline-gold">View Full Programme <i class="fas fa-arrow-right ms-2"></i></a>
    </div> -->
  </div>
</section>

<!-- SECTION 8 — INLINE LEAD CAPTURE -->
<section class="section-padding section-dark">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-lg-8 reveal">
        <div class="glass-card" style="border-color:var(--border);">
          <div class="text-center mb-4">
            <span class="section-label">Stay Connected</span>
            <h3>Register Your Interest</h3>
            <p style="color:var(--text-muted);font-size:0.9rem;">Whether you're Sponsoring, Exhibiting or Visiting — we'll send you the right information.</p>
          </div>
          <form data-ajax="true">
            <input type="hidden" name="type" value="visitor">
            <input type="hidden" name="_csrf" value="<?php echo generateCSRF(); ?>">
            <div class="row g-3">
              <div class="col-md-6">
                <label class="form-label">Full Name <span class="required">*</span></label>
                <input type="text" name="name" class="form-control" required>
              </div>
              <div class="col-md-6">
                <label class="form-label">Email <span class="required">*</span></label>
                <input type="email" name="email" class="form-control" required>
              </div>
              <div class="col-md-6">
                <label class="form-label">Phone</label>
                <input type="tel" name="phone" class="form-control">
              </div>
              <div class="col-md-6">
                <label class="form-label">I am interested as <span class="required">*</span></label>
                <select name="interest" class="form-select" required>
                  <option value="">Select...</option>
                  <option value="Exhibitor">Exhibitor</option>
                  <option value="Visitor">Visitor</option>
                  <option value="Sponsor">Sponsor</option>
                  <!-- <option value="Investor">Investor</option>
                  <option value="Press">Press / Media</option> -->
                </select>
              </div>
              <div class="col-md-6">
                <label class="form-label">Country</label>
                <select name="country" class="form-select">
                  <option value="">Select country...</option>
                  <option value="Kenya">Kenya</option>
                  <option value="Uganda">Uganda</option>
                  <option value="Tanzania">Tanzania</option>
                  <option value="Rwanda">Rwanda</option>
                  <option value="Ethiopia">Ethiopia</option>
                  <option value="Nigeria">Nigeria</option>
                  <option value="South Africa">South Africa</option>
                  <option value="UAE">UAE</option>
                  <option value="India">India</option>
                  <option value="China">China</option>
                  <option value="UK">United Kingdom</option>
                  <option value="USA">United States</option>
                  <option value="Germany">Germany</option>
                  <option value="Other">Other</option>
                </select>
              </div>
              <div class="col-md-6">
                <label class="form-label">Message</label>
                <input type="text" name="message" class="form-control" placeholder="Optional">
              </div>
            </div>
            <div class="text-center mt-4">
              <button type="submit" class="btn btn-gold">Submit Registration</button>
            </div>
          </form>
          <p class="text-center mt-3" style="font-size:0.82rem;color:var(--text-muted);">
            View our full <a href="/packages.php">booth packages</a> and <a href="/sponsorship.php">sponsorship opportunities</a>.
          </p>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- SECTION 9 — KENYA TRADE FACTS -->
<section class="section-padding section-darker" style="background-image:var(--kenya-pattern);background-color:var(--dark-3);">
  <div class="container">
    <div class="text-center reveal">
      <span class="section-label">Why Kenya</span>
      <h2 class="section-title text-center">Why Kenya? Why Now?</h2>
    </div>
    <div class="row g-4 mt-4">
      <div class="col-6 col-lg-4 reveal">
        <div class="fact-card">
          <div class="fact-icon"><i class="fas fa-users"></i></div>
          <div class="fact-value"><?php echo htmlspecialchars($kenya['population'] ?? '58.6M'); ?></div>
          <div class="fact-label">Population</div>
        </div>
      </div>
      <div class="col-6 col-lg-4 reveal reveal-delay-1">
        <div class="fact-card">
          <div class="fact-icon"><i class="fas fa-chart-line"></i></div>
          <div class="fact-value"><?php echo htmlspecialchars($kenya['gdp_growth'] ?? '5.3%'); ?></div>
          <div class="fact-label">GDP Growth (2025)</div>
        </div>
      </div>
      <div class="col-6 col-lg-4 reveal reveal-delay-2">
        <div class="fact-card">
          <div class="fact-icon"><i class="fas fa-leaf"></i></div>
          <div class="fact-value"><?php echo htmlspecialchars($kenya['tea_exports'] ?? '$1.4B Tea'); ?></div>
          <div class="fact-label">Top Export</div>
        </div>
      </div>
      <div class="col-6 col-lg-4 reveal">
        <div class="fact-card">
          <div class="fact-icon"><i class="fas fa-city"></i></div>
          <div class="fact-value">#3</div>
          <div class="fact-label">Africa's Largest Business Hub</div>
        </div>
      </div>
      <div class="col-6 col-lg-4 reveal reveal-delay-1">
        <div class="fact-card">
          <div class="fact-icon"><i class="fas fa-warehouse"></i></div>
          <div class="fact-value"><?php echo htmlspecialchars($kenya['sez_zones'] ?? '14+'); ?></div>
          <div class="fact-label">Special Economic Zones</div>
        </div>
      </div>
      <div class="col-6 col-lg-4 reveal reveal-delay-2">
        <div class="fact-card">
          <div class="fact-icon"><i class="fas fa-globe-africa"></i></div>
          <div class="fact-value">$120B+</div>
          <div class="fact-label">East Africa Trade Bloc</div>
        </div>
      </div>
    </div>
    <div class="text-center mt-4 reveal">
      <p style="color:var(--text-muted);font-size:1.35rem;max-width:850px;margin:0 auto;">
        <?php echo htmlspecialchars($kenya['key_fact_1'] ?? 'Kenya is East Africa\'s largest economy by GDP'); ?>. <br>
        <?php echo htmlspecialchars($kenya['key_fact_2'] ?? 'Nairobi hosts 42% of all multinational regional HQs in Sub-Saharan Africa'); ?>.
      </p>
    </div>
  </div>
</section>

<!-- SECTION 10 — PAST EDITIONS -->
<!-- <section class="section-padding">
  <div class="container">
    <div class="text-center reveal">
      <span class="section-label">Our Track Record</span>
      <h2 class="section-title text-center">Our Growth Story</h2>
    </div>
    <div class="timeline mt-5">
      <?php foreach ($stats['past_editions'] ?? [] as $past): ?>
      <div class="timeline-item reveal">
        <div class="timeline-year"><?php echo $past['year']; ?></div>
        <div style="font-family:var(--font-heading);color:#fff;font-size:1.1rem;">
          <?php echo $past['exhibitors']; ?> exhibitors &middot; <?php echo number_format($past['visitors']); ?> visitors &middot; <?php echo $past['countries']; ?> countries
        </div>
        <div class="timeline-text"><?php echo htmlspecialchars($past['highlight'] ?? ''); ?></div>
      </div>
      <?php endforeach; ?>
      <div class="timeline-item reveal">
        <div class="timeline-year" style="color:var(--secondary);">2026</div>
        <div style="font-family:var(--font-heading);color:var(--secondary);font-size:1.1rem;">
          200+ exhibitors &middot; 35,000+ visitors &middot; 16+ countries
        </div>
        <div class="timeline-text">20th Anniversary — our biggest edition yet. <a href="/register.php">Register now &rarr;</a></div>
      </div>
    </div>
  </div>
</section> -->

<!-- SECTION 11 — PARTNER LOGOS -->
<!-- <section class="section-padding section-dark">
  <div class="container">
    <div class="text-center reveal">
      <span class="section-label">Our Partners</span>
      <h2 class="section-title text-center">Our Sponsors &amp; Partners</h2>
    </div>
    <div class="marquee-wrap mt-5 reveal">
      <div class="marquee-track">
        <?php for ($i = 1; $i <= 8; $i++): ?>
        <div class="sponsor-placeholder">PARTNER <?php echo $i; ?></div>
        <?php endfor; ?>
        <?php for ($i = 1; $i <= 8; $i++): ?>
        <div class="sponsor-placeholder">PARTNER <?php echo $i; ?></div>
        <?php endfor; ?>
      </div>
    </div>
    <div class="text-center mt-4 reveal">
      <p style="color:var(--text-muted);font-size:0.9rem;">Interested in becoming a sponsor? <a href="/sponsorship.php">View sponsorship packages &rarr;</a></p>
    </div>
  </div>
</section> -->

<!-- SECTION 12 — NEWSLETTER / FINAL CTA -->
<!-- <section class="pre-footer-cta" style="padding:80px 0;">
  <div class="container text-center reveal">
    <div class="anniversary-badge large mb-4" style="margin:0 auto 24px;display:flex;">XX</div>
    <h2 class="pre-footer-title">Don't Miss East Africa's Biggest Trade Event of 2026</h2>
    <p style="color:rgba(10,15,13,0.7);font-family:var(--font-stats);font-size:1.1rem;letter-spacing:3px;">NOVEMBER 19–22 &middot; KICC, NAIROBI</p>
    <div class="pre-footer-buttons mt-4">
      <a href="/register.php" class="btn btn-gold btn-lg">Register Free</a>
      <a href="/contact.php" class="btn btn-outline-gold btn-lg">Contact Us</a>
    </div>
  </div>
</section> -->

<?php require_once 'includes/footer.php'; ?>