<?php 
// db connection
include("db/connection.php");
// For demo, if no DB row, set fallback
if(empty($row[1])) {
    $row[1] = "SDB INNOVATIONS";
    $row[3] = "8171437264";
}
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title><?php echo $row[1]; ?> | Certified Direct Selling Brand</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="SDB Innovations - Direct Selling Company with Wellness Products" name="description">
    <meta content="direct selling, wellness products, business opportunity, MLM" name="keywords">

    <!-- Favicon -->
    <link href="img/logo/logo22222.png" rel="icon">

    <!-- Google Fonts -->
    <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=Poppins:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">

    <!-- EmailJS -->
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"></script>
    <script type="text/javascript">(function() { emailjs.init("NhvyG9LCvIcpO-HoQ"); })();</script>

    <!-- Font Awesome & Bootstrap Icons -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css" rel="stylesheet">

    <!-- Bootstrap 5 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- AOS Animation Library -->
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">

    <!-- Custom CSS -->
    <style>
        * {
            font-family: 'Poppins', sans-serif;
        }
        
        :root {
            --primary: #8B5CF6;
            --secondary: #EC4899;
            --accent: #10B981;
            --dark: #1F2937;
            --light: #F9FAFB;
        }
        .rounded-circle {
    border-radius: 20% !important;
}
       
        /* Modern Gradient Backgrounds */
        .gradient-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .gradient-secondary {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        
        .gradient-success {
            background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
        }
        
        /* Glass Morphism */
        .glass-card {
            background: rgb(6 6 6 / 95%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 87px;
        }
        
        /* Animated Background */
        .animated-bg {
            background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
            background-size: 400% 400%;
            animation: gradient 15s ease infinite;
        }
        
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        /* Floating Animation */
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        /* Pulse Animation */
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        /* Modern Cards */
        .modern-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .modern-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .rounded-circle {
    border-radius: 50% !important;
    object-fit: cover;
        }
        /* Rank Cards */
        .rank-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 15px;
            padding: 1.5rem;
            margin: 10px 0;
            transition: all 0.3s ease;
        }
        
        .rank-card:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
        }
        
        /* Product Cards */
        .product-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
        }
        
        .product-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--secondary);
            color: white;
            padding: 5px 15px;
            border-radius: 50px;
            font-weight: 600;
            z-index: 1;
        }
        
        /* Counter Numbers */
        .counter-box {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .counter {
            font-size: 3rem;
            font-weight: 800;
            color: var(--primary);
        }
        
        /* Timeline */
        .timeline {
            position: relative;
            padding: 20px 0;
        }
        
        .timeline-item {
            padding: 20px;
            background: white;
            border-radius: 15px;
            margin-bottom: 20px;
            border-left: 5px solid var(--primary);
            transition: all 0.3s ease;
        }
        
        .timeline-item:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        /* Floating Action Button */
        .fab {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .fab:hover {
            transform: scale(1.1) rotate(360deg);
        }
        
        /* Progress Bar */
        .progress-bar-animated {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            animation: progress 2s ease-in-out infinite;
        }
        
        @keyframes progress {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        /* Section Titles */
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 20px;
        }
        
        .section-title p {
            font-size: 1.1rem;
            color: #6B7280;
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* Navbar */
        .navbar-modern {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }
        
        /* Hero Section */
        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero-shape {
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            clip-path: polygon(100% 0, 0% 100%, 100% 100%);
            opacity: 0.1;
        }
        
        /* Statistics Section */
        .stat-box {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
        }
        
        /* Testimonial Slider */
        .testimonial-slider {
            background: white;
            border-radius: 20px;
            padding: 3rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2rem;
            }
        }
        
        /* Loading Spinner */
        .loader {
            width: 48px;
            height: 48px;
            border: 5px solid #FFF;
            border-bottom-color: var(--primary);
            border-radius: 50%;
            display: inline-block;
            box-sizing: border-box;
            animation: rotation 1s linear infinite;
        }
        
        @keyframes rotation {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    </style>
</head>

<body>
    <!-- Loading Spinner -->
    

    <!-- Floating Action Button -->
   

    <!-- Modern Navbar -->
    <?php include('assets/header.php'); ?>

    <!-- Hero Section -->
    <section id="home" class="hero-section" style="background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);">
        <div class="hero-shape"></div>
        <div class="container">
            <div class="row min-vh-100 align-items-center">
                <div class="col-lg-6" data-aos="fade-right">
                    <h1 class="display-3 fw-bold mb-4">
                        <span class="gradient-primary" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">
                            SDB INNOVATIONS
                        </span>
                    </h1>
                    <p class="lead mb-4">A CERTIFIED BRAND | ISO | MSME | Govt. Approved</p>
                    <div class="d-flex gap-3 mb-4">
                        <div class="stat-box-small">
                            <i class="fas fa-users text-primary fa-2x"></i>
                            <h3 class="counter" data-target="50000">0</h3>
                            <p>Happy Members</p>
                        </div>
                        <div class="stat-box-small">
                            <i class="fas fa-trophy text-primary fa-2x"></i>
                            <h3 class="counter" data-target="25">0</h3>
                            <p>States Covered</p>
                        </div>
                    </div>
                    <a href="#join" class="btn btn-lg btn-primary rounded-pill px-5 py-3 me-2 pulse">Join Free <i class="fas fa-arrow-right ms-2"></i></a>
                    <a href="#packages" class="btn btn-lg btn-outline-primary rounded-pill px-5 py-3">View Packages</a>
                </div>
                <div class="col-lg-6" data-aos="fade-left">
                    <img src="img/logo/logo11.png" class="img-fluid floating" alt="SDB Innovations">
                </div>
            </div>
        </div>
    </section>

    <!-- Why Direct Selling Section -->
    <section class="py-5" style="background: white;">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2>WHY DIRECT SELLING?</h2>
                <p class="h4 text-primary mb-3">महत्वपूर्ण क्यों है?</p>
                <h3 class="display-6">Because dreams need more than a paycheck.</h3>
            </div>
            
            <div class="row g-4">
                <div class="col-md-4" data-aos="flip-left">
                    <div class="modern-card text-center">
                        <i class="fas fa-home fa-3x text-primary mb-3"></i>
                        <h4>Dream House</h4>
                        <p>Your dream home is closer than you think</p>
                    </div>
                </div>
                <div class="col-md-4" data-aos="flip-left" data-aos-delay="100">
                    <div class="modern-card text-center">
                        <i class="fas fa-graduation-cap fa-3x text-primary mb-3"></i>
                        <h4>High Education</h4>
                        <p>Secure your children's future</p>
                    </div>
                </div>
                <div class="col-md-4" data-aos="flip-left" data-aos-delay="200">
                    <div class="modern-card text-center">
                        <i class="fas fa-globe-asia fa-3x text-primary mb-3"></i>
                        <h4>World Trip</h4>
                        <p>Travel the world with family</p>
                    </div>
                </div>
            </div>
            
            <div class="alert alert-warning mt-5 text-center" data-aos="zoom-in">
                <i class="fas fa-exclamation-triangle fa-2x mb-3"></i>
                <h4>INFLATION IS STEALING OUR CHOICES</h4>
                <p class="lead">Not anymore. We're changing the game.</p>
            </div>
        </div>
    </section>

    <!-- Features Section -->
    <section class="py-5 gradient-primary text-white">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2 style="-webkit-text-fill-color: white;">FIND A PLATFORM WHERE YOU CAN</h2>
            </div>
            
            <div class="row g-4">
                <div class="col-md-3" data-aos="fade-up">
                    <div class="glass-card p-4 text-center text-white">
                        <i class="fas fa-home fa-3x mb-3"></i>
                        <h5>Work from Home</h5>
                    </div>
                </div>
                <div class="col-md-3" data-aos="fade-up" data-aos-delay="100">
                    <div class="glass-card p-4 text-center text-white">
                        <i class="fas fa-brain fa-3x mb-3"></i>
                        <h5>Do Smart Work</h5>
                    </div>
                </div>
                <div class="col-md-3" data-aos="fade-up" data-aos-delay="200">
                    <div class="glass-card p-4 text-center text-white">
                        <i class="fa-solid fa-tachograph-digital fa-3x mb-3"></i>
                        <h5>Go Digital</h5>
                    </div>
                </div>
                <div class="col-md-3" data-aos="fade-up" data-aos-delay="300">
                    <div class="glass-card p-4 text-center text-white">
                        <i class="fas fa-network-wired fa-3x mb-3"></i>
                        <h5>Build Your Network</h5>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Products Section with Benefits -->
    <section id="products" class="py-5" style="background: #f8f9fa;">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2>OUR WELLNESS PRODUCTS</h2>
                <p>Premium Quality | Amazing Benefits</p>
            </div>
            
            <div class="row g-4">
                <div class="col-lg-3 col-md-6" data-aos="zoom-in">
                    <div class="product-card">
                        <div class="product-badge">New</div>
                        <img src="img/products/alkaline.jpg" class="img-fluid" alt="Alkaline Water Purifier">
                        <div class="p-4">
                            <h5>Alkaline Water Purifier</h5>
                            <p class="text-muted">Benefits: pH balance, antioxidant properties, better hydration</p>
                            <div class="d-flex justify-content-between align-items-center">
                                <span class="h5 text-primary">₹4,999</span>
                                <button class="btn btn-sm btn-primary" onclick="showProductDetails('Alkaline Water Purifier')">View Details</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-lg-3 col-md-6" data-aos="zoom-in" data-aos-delay="100">
                    <div class="product-card">
                        <div class="product-badge">Popular</div>
                        <img src="img/products/ems-massager.jpg" class="img-fluid" alt="EMS Foot Massager">
                        <div class="p-4">
                            <h5>EMS Foot Massager</h5>
                            <p class="text-muted">Benefits: Pain relief, improved circulation, stress reduction</p>
                            <div class="d-flex justify-content-between align-items-center">
                                <span class="h5 text-primary">₹2,499</span>
                                <button class="btn btn-sm btn-primary" onclick="showProductDetails('EMS Foot Massager')">View Details</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-lg-3 col-md-6" data-aos="zoom-in" data-aos-delay="200">
                    <div class="product-card">
                        <img src="img/products/anti-radiation.jpg" class="img-fluid" alt="Anti-Radiation Chip">
                        <div class="p-4">
                            <h5>Anti-Radiation Chip</h5>
                            <p class="text-muted">Benefits: Protects from EMF radiation, safe device usage</p>
                            <div class="d-flex justify-content-between align-items-center">
                                <span class="h5 text-primary">₹999</span>
                                <button class="btn btn-sm btn-primary" onclick="showProductDetails('Anti-Radiation Chip')">View Details</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="col-lg-3 col-md-6" data-aos="zoom-in" data-aos-delay="300">
                    <div class="product-card">
                        <img src="img/products/detox-patch.jpg" class="img-fluid" alt="Detox Foot Patch">
                        <div class="p-4">
                            <h5>Detox Foot Patch</h5>
                            <p class="text-muted">Benefits: Toxin removal, better sleep, improved energy</p>
                            <div class="d-flex justify-content-between align-items-center">
                                <span class="h5 text-primary">₹599</span>
                                <button class="btn btn-sm btn-primary" onclick="showProductDetails('Detox Foot Patch')">View Details</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Packages Section with Interactive Cards -->
    <section id="packages" class="py-5">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2>MEMBERSHIP PACKAGES</h2>
                <p>Choose your journey | One time investment | Lifetime benefits</p>
            </div>
            
            <div class="row justify-content-center g-4">
                <div class="col-lg-5" data-aos="flip-left">
                    <div class="modern-card text-center" style="border-top: 5px solid #667eea;">
                        <div class="display-4 mb-3">₹2,500</div>
                        <h3 class="mb-4">STARTER PACKAGE</h3>
                        <ul class="list-unstyled">
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>EMS Foot Massager (Worth ₹2,499)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Detox Foot Patch (Worth ₹599)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Anti Radiation Chip (Worth ₹999)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Magnetic Door Mat (Worth ₹1,499)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Panch Tulsi Drops (Worth ₹299)</li>
                        </ul>
                        <button class="btn btn-primary btn-lg rounded-pill w-100" onclick="selectPackage(2500)">Join Now</button>
                    </div>
                </div>
                
                <div class="col-lg-5" data-aos="flip-right" data-aos-delay="200">
                    <div class="modern-card text-center position-relative" style="border-top: 5px solid #ec4899; transform: scale(1.05);">
                        <div class="position-absolute top-0 start-50 translate-middle badge bg-danger rounded-pill px-4 py-2">Most Popular</div>
                        <div class="display-4 mb-3">₹3,500</div>
                        <h3 class="mb-4">PRO PACKAGE</h3>
                        <ul class="list-unstyled">
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Alkaline Water Jug (Worth ₹3,999)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Anti Radiation Chip (Worth ₹999)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>EMS Foot Massager (Worth ₹2,499)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Panch Tulsi Drops (Worth ₹299)</li>
                            <li class="mb-3"><i class="fas fa-check-circle text-success me-2"></i>Detox Foot Patch (Worth ₹599)</li>
                        </ul>
                        <button class="btn btn-danger btn-lg rounded-pill w-100" onclick="selectPackage(3500)">Join Now</button>
                    </div>
                </div>
            </div>
            
            <div class="text-center mt-5" data-aos="fade-up">
                <div class="alert alert-info">
                    <i class="fas fa-gift fa-2x mb-3"></i>
                    <h4>Special Launch Offer</h4>
                    <p>Complete Level 1 in 5 Days → Get FREE Anti Radiation Chip</p>
                    <p>Complete Level 2 in 30 Days → Get FREE Ear Buds</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Income Plan with Interactive Table -->
    <section id="income" class="py-5" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2 style="-webkit-text-fill-color: white;">ROYALTY INCOME PLAN</h2>
                <p class="text-white">More Effort = More Money | Based on Autopool System</p>
            </div>
            
            <div class="row" data-aos="fade-up">
                <div class="col-12">
                    <div class="table-responsive">
                        <table class="table table-hover glass-card text-white">
                            <thead>
                                <tr class="text-white">
                                    <th>Level</th>
                                    <th>Members</th>
                                    <th>Rank</th>
                                    <th>Income</th>
                                    <th>Rewards</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr><td>1</td><td>4</td><td>STARTER</td><td>₹1,000</td><td>N/A</td></tr>
                                <tr><td>2</td><td>16</td><td>BRONZE</td><td>₹2,000</td><td>Grocery Items</td></tr>
                                <tr><td>3</td><td>64</td><td>SILVER</td><td>₹6,500</td><td>GOA Tour + Insurance</td></tr>
                                <tr><td>4</td><td>256</td><td>GOLD</td><td>₹28,000</td><td>Nepal Tour + Training</td></tr>
                                <tr><td>5</td><td>1024</td><td>PLATINUM</td><td>₹1,30,000</td><td>Shimla Tour</td></tr>
                                <tr><td>6</td><td>4096</td><td>DIAMOND</td><td>₹5,40,000</td><td>Foreign Tour</td></tr>
                                <tr><td>7</td><td>16384</td><td>BLACK DIAMOND</td><td>₹22,50,000</td><td>Foreign Tour + Car</td></tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            
            <!-- Extra Income -->
            <div class="row mt-5">
                <div class="col-md-6" data-aos="fade-right">
                    <div class="glass-card p-4 text-white">
                        <h4><i class="fas fa-coins me-2"></i> Extra Direct Income</h4>
                        <p class="display-6">UPTO ₹200 PER USER</p>
                    </div>
                </div>
                <div class="col-md-6" data-aos="fade-left">
                    <div class="glass-card p-4 text-white">
                        <h4><i class="fas fa-chart-line me-2"></i> Multiple Growth Opportunities</h4>
                        <p>Higher Rank = Higher Income</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Facilities & Benefits Section -->
    <section class="py-5" style="background: white;">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2>OUR FACILITIES & BENEFITS</h2>
                <p>Supporting you every step of the way</p>
            </div>
            
            <div class="row g-4">
                <div class="col-md-4" data-aos="fade-up">
                    <div class="modern-card">
                        <i class="fas fa-hospital fa-3x text-primary mb-3"></i>
                        <h4>Medical Emergency</h4>
                        <ul class="list-unstyled">
                            <li><i class="fas fa-check text-success me-2"></i>Lab Testing: 25%-50% assistance</li>
                            <li><i class="fas fa-check text-success me-2"></i>Blood Bank: Free for Silver+</li>
                            <li><i class="fas fa-check text-success me-2"></i>Accident Treatment: Up to ₹50,000</li>
                        </ul>
                    </div>
                </div>
                
                <div class="col-md-4" data-aos="fade-up" data-aos-delay="100">
                    <div class="modern-card">
                        <i class="fas fa-shield-alt fa-3x text-primary mb-3"></i>
                        <h4>Insurance Coverage</h4>
                        <ul class="list-unstyled">
                            <li><i class="fas fa-check text-success me-2"></i>Accident Insurance: ₹5-10 Lakh</li>
                            <li><i class="fas fa-check text-success me-2"></i>Emergency Fund: ₹10,000-1,00,000</li>
                            <li><i class="fas fa-check text-success me-2"></i>Life Cover benefits</li>
                        </ul>
                    </div>
                </div>
                
                <div class="col-md-4" data-aos="fade-up" data-aos-delay="200">
                    <div class="modern-card">
                        <i class="fas fa-graduation-cap fa-3x text-primary mb-3"></i>
                        <h4>Training & Development</h4>
                        <ul class="list-unstyled">
                            <li><i class="fas fa-check text-success me-2"></i>Free MSME Training Programs</li>
                            <li><i class="fas fa-check text-success me-2"></i>Business Development</li>
                            <li><i class="fas fa-check text-success me-2"></i>Leadership Workshops</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Company Leadership Section -->
    <section class="py-5" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
        <div class="container">
            <div class="section-title" data-aos="fade-up">
                <h2 style="-webkit-text-fill-color: white;">OUR LEADERSHIP</h2>
                <p class="text-white">Building a Legacy of Trust and Empowerment</p>
            </div>
            
            <div class="row g-4">
                <div class="col-md-4" data-aos="flip-left">
                    <div class="glass-card p-4 text-center text-white">
                        <img src="img/team-1.jpg" class="rounded-circle mb-3" width="150" height="150" alt="CMD">
                        <h4>Mr. Mohan Singh</h4>
                        <p>CMD (Chairman & Managing Director)</p>
                        <p class="small">Visionary leader with 25+ years of experience</p>
                    </div>
                </div>
                
                <div class="col-md-4" data-aos="flip-left" data-aos-delay="100">
                    <div class="glass-card p-4 text-center text-white">
                        <img src="img/team-2.jpg" class="rounded-circle mb-3" width="150" height="150" alt="Director">
                        <h4>Mr. Asalendra Singh</h4>
                        <p>Director</p>
                        <p class="small">Operations & Business Development</p>
                    </div>
                </div>
                
                <div class="col-md-4" data-aos="flip-left" data-aos-delay="200">
                    <div class="glass-card p-4 text-center text-white">
                        <img src="img/team-3.jpg" class="rounded-circle mb-3" width="150" height="150" alt="Director">
                        <h4>Mrs. Renu Singh</h4>
                        <p>Director</p>
                        <p class="small">Strategic Planning & CSR</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Registration Form with Enhanced UI -->
    <section id="join" class="py-5">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-8">
                    <div class="modern-card" data-aos="fade-up">
                        <div class="text-center mb-5">
                            <h2>JOIN US TODAY</h2>
                            <p>Fill your details and start your journey with SDB Innovations</p>
                            <p class="text-success"><i class="fas fa-check-circle"></i> Registration FREE</p>
                        </div>
                        
                        <form id="joinForm" onsubmit="return submitJoinForm(event)">
                            <div class="row g-4">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label class="form-label">Full Name *</label>
                                        <input type="text" class="form-control form-control-lg" id="fullName" required>
                                    </div>
                                </div>
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label class="form-label">Email *</label>
                                        <input type="email" class="form-control form-control-lg" id="email" required>
                                    </div>
                                </div>
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label class="form-label">Mobile *</label>
                                        <input type="tel" class="form-control form-control-lg" id="mobile" pattern="[0-9]{10}" required>
                                    </div>
                                </div>
                                
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label class="form-label">Adhaar Number *</label>
                                        <input type="text" class="form-control form-control-lg" id="adhaar">
                                    </div>
                                </div>
                                
                                <div class="col-12">
                                    <div class="form-group">
                                        <label class="form-label">Address *</label>
                                        <textarea class="form-control form-control-lg" id="address" rows="3" required></textarea>
                                    </div>
                                </div>
                                
                                <div class="col-12">
                                    <div class="form-group">
                                        <label class="form-label">Select Package *</label>
                                        <select class="form-select form-select-lg" id="package" required>
                                            <option value="">Choose your package</option>
                                            <option value="2500">Starter Package - ₹2,500</option>
                                            <option value="3500">Pro Package - ₹3,500</option>
                                        </select>
                                    </div>
                                </div>
                                
                                <div class="col-12">
                                    <a href="register.php"><button type="button" href="register.php" class="btn btn-primary btn-lg w-100 py-3 pulse">
                                        <i class="fas fa-paper-plane me-2"></i>Submit Application
                                    </button></a>
                                </div>
                                
                                <div class="col-12">
                                    <div class="alert alert-info">
                                        <small><i class="fas fa-info-circle me-2"></i> By submitting, you agree to our Terms & Conditions. One ID per PAN/Aadhar.</small>
                                    </div>
                                </div>
                            </div>
                        </form>
                        
                        <!-- Success Message (Hidden by default) -->
                        <div id="successMessage" style="display: none;" class="alert alert-success text-center mt-4">
                            <i class="fas fa-check-circle fa-3x mb-3"></i>
                            <h4>Application Submitted Successfully!</h4>
                            <p>Our team will contact you within 24 hours.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Bank Details & T&C Section -->
    <section class="py-5 bg-light">
        <div class="container">
            <div class="row">
                <div class="col-md-6" data-aos="fade-right">
                    <div class="modern-card">
                        <h3 class="mb-4"><i class="fas fa-university text-primary me-2"></i> BANK DETAILS</h3>
                        <p><strong>Account No.:</strong> 66580101005057</p>
                        <p><strong>Bank Name:</strong> UNION BANK</p>
                        <p><strong>IFSC Code:</strong> UBIN0566586</p>
                        <p><strong>Account Holder:</strong> SDB Innovations Pvt Ltd</p>
                    </div>
                </div>
                
                <div class="col-md-6" data-aos="fade-left">
                    <div class="modern-card">
                        <h3 class="mb-4"><i class="fas fa-file-contract text-primary me-2"></i> TERMS & CONDITIONS</h3>
                        <ul class="list-unstyled">
                            <li><i class="fas fa-check text-success me-2"></i> Minimum Age 18+ Years</li>
                            <li><i class="fas fa-check text-success me-2"></i> One Time Purchase</li>
                            <li><i class="fas fa-check text-success me-2"></i> Admin Charge: 10%</li>
                            <li><i class="fas fa-check text-success me-2"></i> TDS: 5%</li>
                            <li><i class="fas fa-check text-success me-2"></i> Payout Dates: 1st & 15th</li>
                            <li><i class="fas fa-check text-success me-2"></i> 24x7 Customer Support</li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <div class="row mt-4">
                <div class="col-12">
                    <div class="modern-card text-center" data-aos="fade-up">
                        <h4>Registered Office</h4>
                        <p>Nagla Radhe, Umari National Highway 19, Sirsaganj, Firozabad, UTTAR PRADESH - 283151</p>
                        <p><i class="fas fa-envelope me-2"></i> sdbinnovation@mail.com | <i class="fas fa-phone me-2"></i> 8171437264</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <?php include('assets/footer.php'); ?>

    <!-- JavaScript Libraries -->
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    
    <!-- Custom JavaScript -->
    <script>
        // Initialize AOS
        AOS.init({
            duration: 1000,
            once: true,
            offset: 100
        });
        
        // Counter Animation
        function animateCounter() {
            $('.counter').each(function() {
                $(this).prop('Counter', 0).animate({
                    Counter: $(this).data('target')
                }, {
                    duration: 2000,
                    easing: 'swing',
                    step: function(now) {
                        $(this).text(Math.ceil(now));
                    }
                });
            });
        }
        
        // Trigger counters when visible
        $(window).scroll(function() {
            $('.counter').each(function() {
                if ($(this).isInViewport()) {
                    animateCounter();
                }
            });
        });
        
        // Check if element is in viewport
        $.fn.isInViewport = function() {
            var elementTop = $(this).offset().top;
            var elementBottom = elementTop + $(this).outerHeight();
            var viewportTop = $(window).scrollTop();
            var viewportBottom = viewportTop + $(window).height();
            return elementBottom > viewportTop && elementTop < viewportBottom;
        };
        
        // Smooth scroll
        $('a[href*="#"]').on('click', function(e) {
            e.preventDefault();
            $('html, body').animate({
                scrollTop: $($(this).attr('href')).offset().top - 80
            }, 500);
        });
        
        // Scroll to top function
        
        
        // Product details modal
        function showProductDetails(productName) {
            alert(`Viewing details for: ${productName}\n\nFull benefits and specifications will be shown here.`);
        }
        
        // Package selection
        function selectPackage(price) {
            $('#package').val(price);
            $('html, body').animate({
                scrollTop: $('#join').offset().top - 80
            }, 500);
        }
        
        // Form submission with loading animation
        function submitJoinForm(event) {
            event.preventDefault();
            
            // Show loading
            $('#loading').fadeIn();
            
            // Validate form
            var name = $('#fullName').val();
            var email = $('#email').val();
            var mobile = $('#mobile').val();
            var address = $('#address').val();
            var package = $('#package').val();
            
            if(!name || !email || !mobile || !address || !package) {
                $('#loading').fadeOut();
                alert('Please fill all required fields');
                return false;
            }
            
            // Simulate API call
            setTimeout(function() {
                $('#loading').fadeOut();
                $('#joinForm').hide();
                $('#successMessage').fadeIn();
                
                // Prepare email data
                var templateParams = {
                    name: name,
                    email: email,
                    mobile: mobile,
                    address: address,
                    package: package
                };
                
                // Send email via EmailJS
                emailjs.send('service_68ooygh', 'template_djfp6fb', templateParams)
                    .then(function(response) {
                        console.log('SUCCESS!', response.status, response.text);
                    }, function(error) {
                        console.log('FAILED...', error);
                    });
            }, 2000);
            
            return false;
        }
        
        // Navbar background change on scroll
        $(window).scroll(function() {
            if ($(this).scrollTop() > 100) {
                $('.navbar-modern').addClass('shadow');
            } else {
                $('.navbar-modern').removeClass('shadow');
            }
        });
        
        // Initialize tooltips
        var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
        var tooltipList = tooltipTriggerList.map(function(tooltipTriggerEl) {
            return new bootstrap.Tooltip(tooltipTriggerEl);
        });
        
        // Parallax effect
        $(window).on('scroll', function() {
            var scroll = $(window).scrollTop();
            $('.hero-section').css('background-position-y', -(scroll * 0.5) + 'px');
        });
        
        // Dynamic year in footer
        document.querySelector('.footer-year').textContent = new Date().getFullYear();
    </script>
</body>
</html>