pdf4 / index.html
sfssss's picture
Add 3 files
2249058 verified
Raw History Blame Contribute Delete
33 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PDF Toolkit Pro</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
--primary: #4361ee;
--secondary: #3f37c9;
--accent: #4895ef;
--light: #f8f9fa;
--dark: #212529;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #f5f7fb;
}
.tool-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.tool-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.drop-zone {
border: 2px dashed #ccc;
transition: all 0.3s;
}
.drop-zone.active {
border-color: var(--primary);
background-color: rgba(67, 97, 238, 0.05);
}
.file-item {
transition: all 0.3s;
}
.file-item:hover {
background-color: rgba(67, 97, 238, 0.1);
}
.file-item.dragging {
opacity: 0.5;
background-color: rgba(67, 97, 238, 0.2);
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.bounce {
animation: bounce 2s infinite;
}
.nav-btn {
transition: all 0.3s;
}
.nav-btn:hover {
transform: scale(1.05);
}
.progress-bar {
transition: width 0.5s ease;
}
.page {
display: none;
}
.page.active {
display: block;
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.icon-rotate {
transition: transform 0.5s ease;
}
.tool-card:hover .icon-rotate {
transform: rotate(15deg);
}
</style>
</head>
<body class="min-h-screen">
<!-- Navigation Bar -->
<nav class="bg-white shadow-lg sticky top-0 z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-file-pdf text-red-500 text-2xl mr-2"></i>
<span class="text-xl font-bold text-gray-800">PDF Toolkit Pro</span>
</div>
</div>
<div class="flex items-center">
<div id="breadcrumbs" class="hidden md:flex items-center space-x-2 text-sm">
<!-- Breadcrumbs will be dynamically inserted here -->
</div>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<!-- Dashboard Page -->
<div id="dashboard" class="page active">
<div class="text-center mb-12">
<h1 class="text-4xl font-bold text-gray-800 mb-4">Your Complete PDF Solution</h1>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Transform, edit and manage your PDF documents with our powerful online tools</p>
</div>
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6">
<!-- Split PDF -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('split-pdf')">
<div class="icon-rotate mb-4 text-4xl text-red-500">
<i class="fas fa-cut"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Split PDF</h3>
<p class="text-sm text-gray-500">Divide a PDF into multiple documents</p>
</div>
<!-- Merge PDF -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('merge-pdf')">
<div class="icon-rotate mb-4 text-4xl text-blue-500">
<i class="fas fa-object-group"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Merge PDF</h3>
<p class="text-sm text-gray-500">Combine multiple PDFs into one</p>
</div>
<!-- PDF Viewer -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('pdf-viewer')">
<div class="icon-rotate mb-4 text-4xl text-green-500">
<i class="fas fa-search"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">PDF Viewer</h3>
<p class="text-sm text-gray-500">View and inspect PDF documents</p>
</div>
<!-- Compress PDF -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('compress-pdf')">
<div class="icon-rotate mb-4 text-4xl text-purple-500">
<i class="fas fa-compress-alt"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Compress PDF</h3>
<p class="text-sm text-gray-500">Reduce PDF file size</p>
</div>
<!-- Extract Text -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('extract-text')">
<div class="icon-rotate mb-4 text-4xl text-yellow-500">
<i class="fas fa-font"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Extract Text</h3>
<p class="text-sm text-gray-500">Get text content from PDF</p>
</div>
<!-- Combine PDF & Images -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('combine-pdf-images')">
<div class="icon-rotate mb-4 text-4xl text-indigo-500">
<i class="fas fa-images"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Combine PDF & Images</h3>
<p class="text-sm text-gray-500">Create PDF from images</p>
</div>
<!-- Organize Pages -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('organize-pages')">
<div class="icon-rotate mb-4 text-4xl text-pink-500">
<i class="fas fa-layer-group"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Organize Pages</h3>
<p class="text-sm text-gray-500">Rearrange, rotate, delete pages</p>
</div>
<!-- Password Lock -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('password-lock')">
<div class="icon-rotate mb-4 text-4xl text-red-400">
<i class="fas fa-lock"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Password Lock</h3>
<p class="text-sm text-gray-500">Secure PDF with password</p>
</div>
<!-- Remove Password -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('remove-password')">
<div class="icon-rotate mb-4 text-4xl text-green-400">
<i class="fas fa-unlock"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Remove Password</h3>
<p class="text-sm text-gray-500">Unlock password-protected PDF</p>
</div>
<!-- Add Watermark -->
<div class="tool-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer p-6 text-center" onclick="navigateTo('add-watermark')">
<div class="icon-rotate mb-4 text-4xl text-blue-400">
<i class="fas fa-stamp"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800 mb-2">Add Watermark</h3>
<p class="text-sm text-gray-500">Stamp text or image watermark</p>
</div>
</div>
</div>
<!-- Split PDF Tool -->
<div id="split-pdf" class="page">
<div class="flex justify-between items-center mb-8">
<button onclick="navigateTo('dashboard')" class="nav-btn flex items-center text-blue-500 hover:text-blue-700">
<i class="fas fa-arrow-left mr-2"></i> Back to Dashboard
</button>
<button onclick="navigateTo('merge-pdf')" class="nav-btn flex items-center bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg">
Next Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Split PDF</h2>
<p class="text-gray-600 mb-6">Divide your PDF document into separate files by page ranges or extract specific pages</p>
<div id="split-drop-zone" class="drop-zone rounded-lg p-12 text-center mb-6 cursor-pointer">
<div class="bounce mb-4">
<i class="fas fa-file-pdf text-5xl text-red-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-700 mb-2">Drag & Drop your PDF here</h3>
<p class="text-gray-500 mb-4">or</p>
<label for="split-file-input" class="inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg cursor-pointer">
<i class="fas fa-folder-open mr-2"></i> Select File
</label>
<input id="split-file-input" type="file" accept=".pdf" class="hidden">
</div>
<div id="split-file-info" class="hidden mb-6">
<div class="flex items-center justify-between bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<i class="fas fa-file-pdf text-red-500 text-2xl mr-3"></i>
<div>
<p class="font-medium text-gray-800" id="split-file-name">document.pdf</p>
<p class="text-sm text-gray-500" id="split-file-size">2.4 MB</p>
</div>
</div>
<button onclick="clearSplitFile()" class="text-red-500 hover:text-red-700">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div id="split-options" class="hidden">
<div class="mb-6">
<h4 class="font-semibold text-gray-700 mb-3">Split Method</h4>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="flex items-center">
<input id="split-range" type="radio" name="split-method" class="h-4 w-4 text-blue-600" checked>
<label for="split-range" class="ml-2 text-gray-700">Page Range</label>
</div>
<div class="flex items-center">
<input id="split-every" type="radio" name="split-method" class="h-4 w-4 text-blue-600">
<label for="split-every" class="ml-2 text-gray-700">Every N Pages</label>
</div>
<div class="flex items-center">
<input id="split-bookmarks" type="radio" name="split-method" class="h-4 w-4 text-blue-600">
<label for="split-bookmarks" class="ml-2 text-gray-700">By Bookmarks</label>
</div>
</div>
</div>
<div id="range-options">
<div class="mb-6">
<h4 class="font-semibold text-gray-700 mb-3">Page Range</h4>
<div class="flex items-center">
<input type="text" placeholder="e.g. 1-3, 5, 7-9" class="flex-1 border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
<p class="text-sm text-gray-500 mt-2">Enter page numbers or ranges separated by commas (e.g. 1-3, 5, 7-9)</p>
</div>
</div>
<div id="every-options" class="hidden">
<div class="mb-6">
<h4 class="font-semibold text-gray-700 mb-3">Split Every</h4>
<div class="flex items-center">
<input type="number" min="1" value="1" class="w-20 border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
<span class="ml-2 text-gray-700">pages</span>
</div>
</div>
</div>
<button id="split-pdf-btn" class="w-full bg-blue-500 hover:bg-blue-600 text-white font-semibold py-3 px-4 rounded-lg transition duration-300">
<i class="fas fa-cut mr-2"></i> Split PDF
</button>
</div>
</div>
</div>
<!-- Merge PDF Tool -->
<div id="merge-pdf" class="page">
<div class="flex justify-between items-center mb-8">
<button onclick="navigateTo('split-pdf')" class="nav-btn flex items-center text-blue-500 hover:text-blue-700">
<i class="fas fa-arrow-left mr-2"></i> Previous Tool
</button>
<button onclick="navigateTo('pdf-viewer')" class="nav-btn flex items-center bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg">
Next Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Merge PDF</h2>
<p class="text-gray-600 mb-6">Combine multiple PDF files into a single document in the order you want</p>
<div id="merge-drop-zone" class="drop-zone rounded-lg p-12 text-center mb-6 cursor-pointer">
<div class="bounce mb-4">
<i class="fas fa-file-pdf text-5xl text-red-500"></i>
<i class="fas fa-plus text-2xl text-gray-500 mx-2"></i>
<i class="fas fa-file-pdf text-5xl text-blue-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-700 mb-2">Drag & Drop your PDFs here</h3>
<p class="text-gray-500 mb-4">or</p>
<label for="merge-file-input" class="inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg cursor-pointer">
<i class="fas fa-folder-open mr-2"></i> Select Files
</label>
<input id="merge-file-input" type="file" accept=".pdf" multiple class="hidden">
</div>
<div id="merge-file-list" class="hidden mb-6">
<div class="mb-4">
<h4 class="font-semibold text-gray-700 mb-3">Files to Merge (Drag to reorder)</h4>
<div id="merge-files-container" class="space-y-2">
<!-- Files will be added here -->
</div>
</div>
</div>
<div id="merge-options" class="hidden">
<div class="mb-6">
<h4 class="font-semibold text-gray-700 mb-3">Output Options</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="flex items-center">
<input id="merge-linearize" type="checkbox" class="h-4 w-4 text-blue-600">
<label for="merge-linearize" class="ml-2 text-gray-700">Optimize for web (linearize)</label>
</div>
<div class="flex items-center">
<input id="merge-remove-blanks" type="checkbox" class="h-4 w-4 text-blue-600" checked>
<label for="merge-remove-blanks" class="ml-2 text-gray-700">Remove blank pages</label>
</div>
</div>
</div>
<button id="merge-pdf-btn" class="w-full bg-blue-500 hover:bg-blue-600 text-white font-semibold py-3 px-4 rounded-lg transition duration-300">
<i class="fas fa-object-group mr-2"></i> Merge PDFs
</button>
</div>
</div>
</div>
<!-- PDF Viewer Tool -->
<div id="pdf-viewer" class="page">
<div class="flex justify-between items-center mb-8">
<button onclick="navigateTo('merge-pdf')" class="nav-btn flex items-center text-blue-500 hover:text-blue-700">
<i class="fas fa-arrow-left mr-2"></i> Previous Tool
</button>
<button onclick="navigateTo('compress-pdf')" class="nav-btn flex items-center bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg">
Next Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">PDF Viewer</h2>
<p class="text-gray-600 mb-6">Inspect and examine your PDF document with our powerful viewer</p>
<div id="viewer-drop-zone" class="drop-zone rounded-lg p-12 text-center mb-6 cursor-pointer">
<div class="bounce mb-4">
<i class="fas fa-file-pdf text-5xl text-red-500"></i>
<i class="fas fa-search text-3xl text-blue-500 ml-4"></i>
</div>
<h3 class="text-xl font-semibold text-gray-700 mb-2">Drag & Drop your PDF here</h3>
<p class="text-gray-500 mb-4">or</p>
<label for="viewer-file-input" class="inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg cursor-pointer">
<i class="fas fa-folder-open mr-2"></i> Select File
</label>
<input id="viewer-file-input" type="file" accept=".pdf" class="hidden">
</div>
<div id="viewer-file-info" class="hidden mb-6">
<div class="flex items-center justify-between bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<i class="fas fa-file-pdf text-red-500 text-2xl mr-3"></i>
<div>
<p class="font-medium text-gray-800" id="viewer-file-name">document.pdf</p>
<p class="text-sm text-gray-500" id="viewer-file-size">2.4 MB</p>
</div>
</div>
<button onclick="clearViewerFile()" class="text-red-500 hover:text-red-700">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div id="viewer-container" class="hidden border rounded-lg overflow-hidden">
<div class="bg-gray-100 p-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<button class="p-2 text-gray-600 hover:text-blue-500">
<i class="fas fa-arrow-left"></i>
</button>
<span class="text-sm font-medium">Page <span id="current-page">1</span> of <span id="total-pages">10</span></span>
<button class="p-2 text-gray-600 hover:text-blue-500">
<i class="fas fa-arrow-right"></i>
</button>
</div>
<div class="flex items-center space-x-2">
<button class="p-2 text-gray-600 hover:text-blue-500">
<i class="fas fa-search-minus"></i>
</button>
<span class="text-sm font-medium"><span id="zoom-level">100</span>%</span>
<button class="p-2 text-gray-600 hover:text-blue-500">
<i class="fas fa-search-plus"></i>
</button>
<button class="p-2 text-gray-600 hover:text-blue-500">
<i class="fas fa-expand"></i>
</button>
</div>
</div>
<div id="pdf-render-area" class="bg-gray-200 p-4 flex justify-center items-center min-h-[500px]">
<p class="text-gray-500">PDF content will be rendered here</p>
</div>
</div>
<div id="viewer-metadata" class="hidden mt-6">
<h4 class="font-semibold text-gray-700 mb-3">Document Information</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<p class="text-sm text-gray-500">Title:</p>
<p class="font-medium" id="pdf-title">-</p>
</div>
<div>
<p class="text-sm text-gray-500">Author:</p>
<p class="font-medium" id="pdf-author">-</p>
</div>
<div>
<p class="text-sm text-gray-500">Subject:</p>
<p class="font-medium" id="pdf-subject">-</p>
</div>
<div>
<p class="text-sm text-gray-500">Keywords:</p>
<p class="font-medium" id="pdf-keywords">-</p>
</div>
<div>
<p class="text-sm text-gray-500">Created:</p>
<p class="font-medium" id="pdf-created">-</p>
</div>
<div>
<p class="text-sm text-gray-500">Modified:</p>
<p class="font-medium" id="pdf-modified">-</p>
</div>
</div>
</div>
</div>
</div>
<!-- Compress PDF Tool -->
<div id="compress-pdf" class="page">
<div class="flex justify-between items-center mb-8">
<button onclick="navigateTo('pdf-viewer')" class="nav-btn flex items-center text-blue-500 hover:text-blue-700">
<i class="fas fa-arrow-left mr-2"></i> Previous Tool
</button>
<button onclick="navigateTo('extract-text')" class="nav-btn flex items-center bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg">
Next Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Compress PDF</h2>
<p class="text-gray-600 mb-6">Reduce the file size of your PDF while maintaining good quality</p>
<div id="compress-drop-zone" class="drop-zone rounded-lg p-12 text-center mb-6 cursor-pointer">
<div class="bounce mb-4">
<i class="fas fa-file-pdf text-5xl text-red-500"></i>
<i class="fas fa-compress-alt text-3xl text-blue-500 ml-4"></i>
</div>
<h3 class="text-xl font-semibold text-gray-700 mb-2">Drag & Drop your PDF here</h3>
<p class="text-gray-500 mb-4">or</p>
<label for="compress-file-input" class="inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg cursor-pointer">
<i class="fas fa-folder-open mr-2"></i> Select File
</label>
<input id="compress-file-input" type="file" accept=".pdf" class="hidden">
</div>
<div id="compress-file-info" class="hidden mb-6">
<div class="flex items-center justify-between bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<i class="fas fa-file-pdf text-red-500 text-2xl mr-3"></i>
<div>
<p class="font-medium text-gray-800" id="compress-file-name">document.pdf</p>
<p class="text-sm text-gray-500" id="compress-file-size">2.4 MB</p>
</div>
</div>
<button onclick="clearCompressFile()" class="text-red-500 hover:text-red-700">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<div id="compress-options" class="hidden">
<div class="mb-6">
<h4 class="font-semibold text-gray-700 mb-3">Compression Level</h4>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="flex items-center">
<input id="compress-low" type="radio" name="compress-level" class="h-4 w-4 text-blue-600">
<label for="compress-low" class="ml-2 text-gray-700">Low (Best quality)</label>
</div>
<div class="flex items-center">
<input id="compress-medium" type="radio" name="compress-level" class="h-4 w-4 text-blue-600" checked>
<label for="compress-medium" class="ml-2 text-gray-700">Medium (Recommended)</label>
</div>
<div class="flex items-center">
<input id="compress-high" type="radio" name="compress-level" class="h-4 w-4 text-blue-600">
<label for="compress-high" class="ml-2 text-gray-700">High (Smallest size)</label>
</div>
</div>
</div>
<div class="mb-6">
<h4 class="font-semibold text-gray-700 mb-3">Advanced Options</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="flex items-center">
<input id="compress-downsample" type="checkbox" class="h-4 w-4 text-blue-600" checked>
<label for="compress-downsample" class="ml-2 text-gray-700">Downsample images</label>
</div>
<div class="flex items-center">
<input id="compress-optimize" type="checkbox" class="h-4 w-4 text-blue-600" checked>
<label for="compress-optimize" class="ml-2 text-gray-700">Optimize PDF</label>
</div>
<div class="flex items-center">
<input id="compress-remove-embedded" type="checkbox" class="h-4 w-4 text-blue-600">
<label for="compress-remove-embedded" class="ml-2 text-gray-700">Remove embedded fonts</label>
</div>
<div class="flex items-center">
<input id="compress-remove-metadata" type="checkbox" class="h-4 w-4 text-blue-600">
<label for="compress-remove-metadata" class="ml-2 text-gray-700">Remove metadata</label>
</div>
</div>
</div>
<button id="compress-pdf-btn" class="w-full bg-blue-500 hover:bg-blue-600 text-white font-semibold py-3 px-4 rounded-lg transition duration-300">
<i class="fas fa-compress-alt mr-2"></i> Compress PDF
</button>
</div>
</div>
</div>
<!-- Extract Text Tool -->
<div id="extract-text" class="page">
<div class="flex justify-between items-center mb-8">
<button onclick="navigateTo('compress-pdf')" class="nav-btn flex items-center text-blue-500 hover:text-blue-700">
<i class="fas fa-arrow-left mr-2"></i> Previous Tool
</button>
<button onclick="navigateTo('combine-pdf-images')" class="nav-btn flex items-center bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg">
Next Tool <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Extract Text from PDF</h2>
<p class="text-gray-600 mb-6">Get all text content from your PDF document</p>
<div id="extract-drop-zone" class="drop-zone rounded-lg p-12 text-center mb-6 cursor-pointer">
<div class="bounce mb-4">
<i class="fas fa-file-pdf text-5xl text-red-500"></i>
<i class="fas fa-font text-3xl text-blue-500 ml-4"></i>
</div>
<h3 class="text-xl font-semibold text-gray-700 mb-2">Drag & Drop your PDF here</h3>
<p class="text-gray-500 mb-4">or</p>
<label for="extract-file-input" class="inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg cursor-pointer">
<i class="fas fa-folder-open mr-2"></i> Select File
</label>
<input id="extract-file-input" type="file" accept=".pdf" class="hidden">
</div>
<div id="
</html>