/* Responsive */
@media (max-width: 768px) {
  .tool-selection {
    flex-direction: column;
  }
  
  .tool-card {
    max-width: 100%;
  }
  
  .merge-controls,
  .split-controls {
    flex-direction: column;
  }
  
  .action-btn,
  .clear-btn {
    width: 100%;
  }
  
  .container {
    padding: 1em;
    gap: 1em;
  }
  
  .tool-section {
    padding: 1.5em;
  }
}

/* Content Pages Styles */
.content-page {
  background: #ffffff;
  border-radius: 8px;
  padding: 2em;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
}

.content-page h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1.5em;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5em;
}

.about-section,
.contact-section,
.donate-section {
  margin-bottom: 2em;
}

.about-section h2,
.contact-section h2,
.donate-section h2 {
  color: #2c3e50;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #ecf0f1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin-top: 1.5em;
}

.feature-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 1.5em;
  text-align: center;
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 0.5em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin-top: 1.5em;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.step-number {
  background: #3498db;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
}

.step-content p {
  margin: 0;
  color: #666;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: 2em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5em;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8em;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
}

.contact-method {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1.5em;
  margin-bottom: 1.5em;
}

.contact-method h3 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
}

.contact-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.faq-section {
  margin-top: 3em;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1.5em;
  margin-bottom: 1em;
}

.faq-item h3 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
}

.faq-item p {
  margin: 0;
  color: #666;
}

/* Donate Page Styles */
.donate-header {
  text-align: center;
  margin-bottom: 2em;
}

.donate-subtitle {
  font-size: 1.2em;
  color: #666;
  margin-top: 0.5em;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin-top: 1.5em;
}

.donation-card {
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 2em;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.donation-card:hover {
  border-color: #3498db;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.donation-card.popular {
  border-color: #f39c12;
  background: #fef9e7;
}

.donation-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f39c12;
  color: white;
  padding: 0.3em 1em;
  border-radius: 15px;
  font-size: 0.8em;
  font-weight: 600;
}

.donation-icon {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.donation-amount {
  font-size: 2em;
  font-weight: bold;
  color: #2c3e50;
  margin: 0.5em 0;
}

.donate-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 1em 2em;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1em;
}

.donate-btn:hover {
  background: #219a52;
}

.support-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5em;
  margin-top: 1.5em;
}

.support-method {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1.5em;
}

.share-buttons {
  display: flex;
  gap: 0.5em;
  margin-top: 1em;
}

.share-btn {
  padding: 0.5em 1em;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.share-btn:hover {
  background: #2c80b4;
}

.feedback-btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1em;
  transition: background-color 0.3s ease;
}

.feedback-btn:hover {
  background: #2c80b4;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5em;
  margin-top: 1.5em;
}

.promise-item {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1.5em;
  text-align: center;
}

.promise-item h3 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
}

.promise-item p {
  margin: 0;
  color: #666;
  font-size: 0.9em;
}

.thank-you-section {
  background: #e8f5e8;
  border-radius: 8px;
  padding: 2em;
  text-align: center;
  margin-top: 2em;
}

.back-to-tool-btn {
  display: inline-block;
  padding: 1em 2em;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1.5em;
  transition: background-color 0.3s ease;
}

.back-to-tool-btn:hover {
  background: #219a52;
}

/* Mobile Responsive for Content Pages */
@media (max-width: 768px) {
  .content-page {
    padding: 1.5em;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .donation-cards,
  .support-methods,
  .promise-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    gap: 1em;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .donation-card {
    padding: 1.5em;
  }
  
  /* Mobile PDF Preview */
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5em;
    padding: 0.5em;
  }
  
  .file-details {
    flex-direction: column;
    gap: 0.3em;
  }
  
  .preview-header {
    padding: 0.8em;
  }
}
  /* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f0f4ff, #e0f7fa);
  color: #333;
  display: flex;
  flex-direction: column;
}

header, footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 0.8em;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

header h1 {
  font-size: 1.6em;
  margin-bottom: 0.4em;
}

nav a {
  margin: 0 0.8em;
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}

nav a:hover {
  color: #ffd700;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5em;
  min-height: calc(100vh - 200px);
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  gap: 1.5em;
}

/* Tool Selection */
.tool-selection {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  flex-shrink: 0;
}

.tool-card {
  flex: 1;
  max-width: 350px;
  background: #ffffff;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.5em;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.tool-card:hover {
  border-color: #3498db;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.tool-card.active {
  border-color: #3498db;
  background: #f8fbff;
}

.tool-card h3 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
  font-size: 1.3em;
}

.tool-card p {
  margin: 0;
  color: #666;
  font-size: 1em;
}

/* Tool Sections */
.tool-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.tool-section h2 {
  margin: 0 0 1.5em 0;
  color: #2c3e50;
  text-align: center;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5em;
  font-size: 1.8em;
}

/* Upload Areas */
.upload-area {
  border: 3px dashed #3498db;
  border-radius: 12px;
  padding: 2.5em;
  text-align: center;
  background: #f8fbff;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5em;
}

.upload-area:hover {
  border-color: #2c80b4;
  background: #f0f8ff;
}

.upload-area.dragover {
  border-color: #27ae60;
  background: #f0fff0;
}

.upload-icon {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.upload-content p {
  margin: 0;
  font-size: 1.2em;
  color: #555;
}

.browse-link {
  color: #3498db;
  text-decoration: underline;
  cursor: pointer;
}

.browse-link:hover {
  color: #2c80b4;
}

/* File List */
.file-list {
  margin: 1em 0;
  max-height: 200px;
  overflow-y: auto;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.2em;
  margin-bottom: 0.8em;
  font-size: 1em;
}

.file-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.file-icon {
  font-size: 1.5em;
  margin-right: 0.8em;
}

.file-details h4 {
  margin: 0;
  font-size: 1.1em;
  color: #2c3e50;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-details p {
  margin: 0;
  font-size: 1em;
  color: #666;
}

.file-actions {
  display: flex;
  gap: 0.5em;
  flex-shrink: 0;
}

.file-actions button {
  padding: 0.5em 0.8em;
  font-size: 0.9em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.move-btn {
  background: #3498db;
  color: white;
}

.remove-btn {
  background: #e74c3c;
  color: white;
}

/* Split Options */
.split-options {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5em;
  margin-top: 1.5em;
}

.split-options h3 {
  margin: 0 0 1em 0;
  color: #2c3e50;
  font-size: 1.4em;
}

/* PDF Preview Styles */
.pdf-preview {
  background: #ffffff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 1.5em;
  overflow: hidden;
  max-height: 300px;
  display: flex;
  flex-direction: column;
}

.preview-header {
  background: #f8f9fa;
  padding: 1.2em;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.preview-header h4 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
  font-size: 1.2em;
}

.file-info {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.file-name {
  font-weight: 600;
  color: #2c3e50;
  word-break: break-word;
  font-size: 1.1em;
}

.file-details {
  display: flex;
  gap: 1.5em;
  font-size: 1em;
  color: #666;
}

.page-count {
  font-weight: 600;
  color: #3498db;
}

.file-size {
  color: #888;
}

.thumbnail-grid {
  padding: 1.2em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 1em;
  overflow-y: auto;
  flex: 1;
}

.loading-thumbnails {
  grid-column: 1 / -1;
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 2em;
  font-size: 1em;
}

.thumbnail-wrapper {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail-wrapper:hover {
  transform: scale(1.08);
}

.page-thumbnail {
  width: 100%;
  height: auto;
  border: 2px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: border-color 0.2s ease;
}

.page-thumbnail:hover {
  border-color: #3498db;
}

.page-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.8);
  color: white;
  text-align: center;
  padding: 0.3em;
  font-size: 0.8em;
  font-weight: 600;
}

.more-pages-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 6px;
  min-height: 90px;
  color: #666;
  font-style: italic;
  font-size: 1em;
}

.preview-note {
  padding: 1.5em;
  text-align: center;
  color: #666;
  font-style: italic;
  font-size: 1em;
}

.preview-note p {
  margin: 0;
}

.split-method {
  margin-bottom: 1.2em;
}

.split-method label {
  display: block;
  margin-bottom: 0.5em;
  cursor: pointer;
  font-size: 1.1em;
}

.split-method input[type="text"],
.split-method input[type="number"] {
  width: 100%;
  padding: 0.8em;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.1em;
}

/* Controls */
.merge-controls,
.split-controls {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  margin-top: 1.5em;
}

.action-btn {
  padding: 1.2em 2.5em;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.action-btn:hover {
  background-color: #229954;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.clear-btn {
  padding: 1.2em 2.5em;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.clear-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Results Section */
.results-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 1.5em;
}

.results-section h3 {
  margin: 0 0 1.2em 0;
  color: #2c3e50;
  border-bottom: 3px solid #27ae60;
  padding-bottom: 0.5em;
  font-size: 1.4em;
}

.results-actions {
  margin-bottom: 1.5em;
  text-align: center;
}

.download-all-btn {
  padding: 1.2em 2.5em;
  background-color: #8e44ad;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.download-all-btn:hover {
  background-color: #7d3c98;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.results-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.2em;
  font-size: 1em;
}

.download-btn {
  padding: 0.8em 1.5em;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #2c80b4;
}

/* Success/Error Messages */
.message {
  padding: 1.2em;
  border-radius: 8px;
  margin: 1em 0;
  font-weight: 600;
  font-size: 1em;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Content Pages Styles - Scrollable */
.content-page {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.1em;
}

.content-page h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1.5em;
  border-bottom: 4px solid #3498db;
  padding-bottom: 0.8em;
  font-size: 2.5em;
}

.about-section,
.contact-section,
.donate-section {
  margin-bottom: 2.5em;
}

.about-section h2,
.contact-section h2,
.donate-section h2 {
  color: #2c3e50;
  margin-bottom: 1.2em;
  padding-bottom: 0.6em;
  border-bottom: 2px solid #ecf0f1;
  font-size: 1.8em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8em;
  margin-top: 1.8em;
}

.feature-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 2em;
  text-align: center;
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 0.8em;
  font-size: 1.3em;
}

.feature-card p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  margin-top: 1.8em;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
}

.step-number {
  background: #3498db;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1.4em;
}

.step-content h3 {
  margin: 0 0 0.6em 0;
  color: #2c3e50;
  font-size: 1.4em;
}

.step-content p {
  margin: 0;
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  margin-top: 2.5em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.6em;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1em;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-method {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.8em;
  margin-bottom: 1.8em;
}

.contact-method h3 {
  margin: 0 0 0.6em 0;
  color: #2c3e50;
  font-size: 1.3em;
}

.contact-method p {
  margin: 0 0 0.8em 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.contact-method ul {
  margin: 0.8em 0 0 1.5em;
  font-size: 1em;
  line-height: 1.6;
}

.contact-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Donate Page Styles */
.donate-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.donate-subtitle {
  font-size: 1.4em;
  color: #666;
  margin-top: 0.6em;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.donation-card {
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 2.5em;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.donation-card:hover {
  border-color: #3498db;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.donation-card.popular {
  border-color: #f39c12;
  background: #fef9e7;
}

.donation-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #f39c12;
  color: white;
  padding: 0.5em 1.5em;
  border-radius: 20px;
  font-size: 1em;
  font-weight: 600;
}

.donation-icon {
  font-size: 3.5em;
  margin-bottom: 0.8em;
}

.donation-amount {
  font-size: 2.5em;
  font-weight: bold;
  color: #2c3e50;
  margin: 0.6em 0;
}

.donation-card p {
  font-size: 1.1em;
  margin: 0.8em 0;
  line-height: 1.5;
}

.donate-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 1.2em 2.5em;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1.2em;
}

.donate-btn:hover {
  background: #219a52;
}

.support-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.support-method {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2em;
}

.support-method h3 {
  margin: 0 0 0.8em 0;
  color: #2c3e50;
  font-size: 1.3em;
}

.support-method p {
  margin: 0 0 1.2em 0;
  font-size: 1.1em;
  line-height: 1.6;
}

.share-buttons {
  display: flex;
  gap: 0.8em;
  margin-top: 1.2em;
}

.share-btn {
  padding: 0.8em 1.5em;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.share-btn:hover {
  background: #2c80b4;
}

.feedback-btn {
  display: inline-block;
  padding: 1em 2em;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1.2em;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.feedback-btn:hover {
  background: #2c80b4;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8em;
  margin-top: 1.8em;
}

.promise-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2em;
  text-align: center;
}

.promise-item h3 {
  margin: 0 0 0.6em 0;
  color: #2c3e50;
  font-size: 1.2em;
}

.promise-item p {
  margin: 0;
  color: #666;
  font-size: 1em;
  line-height: 1.5;
}

.thank-you-section {
  background: #e8f5e8;
  border-radius: 12px;
  padding: 3em;
  text-align: center;
  margin-top: 3em;
}

.thank-you-section h2 {
  margin-bottom: 1.2em;
  font-size: 1.8em;
}

.thank-you-section p {
  margin-bottom: 1.2em;
  font-size: 1.2em;
  line-height: 1.6;
}

.back-to-tool-btn {
  display: inline-block;
  padding: 1.2em 2.5em;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1.5em;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.back-to-tool-btn:hover {
  background: #219a52;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.3em;
  }
  
  nav a {
    font-size: 0.9em;
    margin: 0 0.5em;
  }

  main {
    padding: 1em;
  }

  .content-page {
    padding: 1.5em;
    font-size: 1em;
  }
  
  .content-page h1 {
    font-size: 2em;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  
  .features-grid,
  .donation-cards,
  .support-methods,
  .promise-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    gap: 1.5em;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .donation-card {
    padding: 2em;
  }
  
  .tool-selection {
    flex-direction: column;
  }
  
  .tool-card {
    max-width: 100%;
  }
  
  .merge-controls,
  .split-controls {
    flex-direction: column;
    gap: 1em;
  }
  
  .action-btn,
  .clear-btn {
    width: 100%;
  }
  
  .container {
    gap: 1.2em;
  }
  
  .tool-section {
    padding: 1.5em;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.8em;
    padding: 1em;
  }
  
  .pdf-preview {
    max-height: 250px;
  }
}9em;
  flex-shrink: 0;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

footer {
  font-size: 0.8em;
  padding: 0.4em;
}

/* Responsive */
@media (max-width: 768px) {
  .tool-selection {
    flex-direction: column;
  }
  
  .tool-card {
    max-width: 100%;
  }
  
  .merge-controls,
  .split-controls {
    flex-direction: column;
  }
  
  .action-btn,
  .clear-btn {
    width: 100%;
  }
  
  .container {
    gap: 0.6em;
  }
  
  .tool-section {
    padding: 1em;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.4em;
    padding: 0.6em;
  }
  
  .file-details {
    flex-direction: column;
    gap: 0.2em;
  }
  
  .preview-header {
    padding: 0.6em;
  }
  
  .pdf-preview {
    max-height: 150px;
  }
}size: 0.8em;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.download-all-btn:hover {
  background-color: #7d3c98;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.results-container {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  padding: 0.4em;
  font-size: 0.8em;
}

.download-btn {
  padding: 0.3em 0.6em;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.7em;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.download-btn:hover {
  background-color: #2c80b4;
}

/* Success/Error Messages */
.message {
  padding: 0.4em;
  border-radius: 3px;
  margin: 0.2em 0;
  font-weight: 600;
  font-size: 0.7em;
  flex-shrink: 0;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

footer {
  font-size: 0.7em;
  padding: 0.3em;
}

/* Content Pages Styles - Larger Containers */
.content-page {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto;
  height: calc(100vh - 100px);
  overflow-y: auto;
  font-size: 1em;
}

.content-page h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1em;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5em;
  font-size: 2em;
}

.about-section,
.contact-section,
.donate-section {
  margin-bottom: 1.5em;
}

.about-section h2,
.contact-section h2,
.donate-section h2 {
  color: #2c3e50;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #ecf0f1;
  font-size: 1.4em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2em;
  margin-top: 1.2em;
}

.feature-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.2em;
  text-align: center;
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

.feature-card p {
  margin: 0;
  font-size: 0.95em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin-top: 1.2em;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.step-number {
  background: #3498db;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1em;
}

.step-content h3 {
  margin: 0 0 0.4em 0;
  color: #2c3e50;
  font-size: 1.1em;
}

.step-content p {
  margin: 0;
  color: #666;
  font-size: 0.95em;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: 2em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.4em;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8em;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
}

.contact-method {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.2em;
  margin-bottom: 1.2em;
}

.contact-method h3 {
  margin: 0 0 0.4em 0;
  color: #2c3e50;
  font-size: 1.1em;
}

.contact-method p {
  margin: 0 0 0.5em 0;
  font-size: 0.95em;
}

.contact-method ul {
  margin: 0.5em 0 0 1.2em;
  font-size: 0.9em;
}

.contact-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Donate Page Styles */
.donate-header {
  text-align: center;
  margin-bottom: 1.5em;
}

.donate-subtitle {
  font-size: 1.2em;
  color: #666;
  margin-top: 0.4em;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2em;
  margin-top: 1.2em;
}

.donation-card {
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5em;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.donation-card:hover {
  border-color: #3498db;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.donation-card.popular {
  border-color: #f39c12;
  background: #fef9e7;
}

.donation-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f39c12;
  color: white;
  padding: 0.3em 1em;
  border-radius: 15px;
  font-size: 0.8em;
  font-weight: 600;
}

.donation-icon {
  font-size: 2.5em;
  margin-bottom: 0.4em;
}

.donation-amount {
  font-size: 2em;
  font-weight: bold;
  color: #2c3e50;
  margin: 0.4em 0;
}

.donation-card p {
  font-size: 0.9em;
  margin: 0.5em 0;
}

.donate-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 1em 2em;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1em;
}

.donate-btn:hover {
  background: #219a52;
}

.support-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2em;
  margin-top: 1.2em;
}

.support-method {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.2em;
}

.support-method h3 {
  margin: 0 0 0.5em 0;
  color: #2c3e50;
  font-size: 1.1em;
}

.support-method p {
  margin: 0 0 0.8em 0;
  font-size: 0.95em;
}

.share-buttons {
  display: flex;
  gap: 0.5em;
  margin-top: 0.8em;
}

.share-btn {
  padding: 0.5em 1em;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.share-btn:hover {
  background: #2c80b4;
}

.feedback-btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 0.8em;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.feedback-btn:hover {
  background: #2c80b4;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2em;
  margin-top: 1.2em;
}

.promise-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.2em;
  text-align: center;
}

.promise-item h3 {
  margin: 0 0 0.4em 0;
  color: #2c3e50;
  font-size: 1em;
}

.promise-item p {
  margin: 0;
  color: #666;
  font-size: 0.9em;
}

.thank-you-section {
  background: #e8f5e8;
  border-radius: 8px;
  padding: 2em;
  text-align: center;
  margin-top: 2em;
}

.thank-you-section h2 {
  margin-bottom: 0.8em;
  font-size: 1.4em;
}

.thank-you-section p {
  margin-bottom: 0.8em;
  font-size: 1em;
}

.back-to-tool-btn {
  display: inline-block;
  padding: 1em 2em;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1em;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.back-to-tool-btn:hover {
  background: #219a52;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content-page {
    padding: 1em;
    height: calc(100vh - 90px);
    font-size: 0.9em;
  }
  
  .content-page h1 {
    font-size: 1.6em;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .donation-cards,
  .support-methods,
  .promise-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    gap: 1em;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .donation-card {
    padding: 1.2em;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 0.5em;
    padding: 0.8em;
  }
  
  .file-details {
    flex-direction: column;
    gap: 0.3em;
  }
  
  .preview-header {
    padding: 0.8em;
  }
  
  .pdf-preview {
    max-height: 180px;
  }
  
  header h1 {
    font-size: 1.2em;
  }
  
  nav a {
    font-size: 0.8em;
    margin: 0 0.4em;
  }
  
  .tool-selection {
    flex-direction: column;
  }
  
  .tool-card {
    max-width: 100%;
  }
  
  .merge-controls,
  .split-controls {
    flex-direction: column;
  }
  
  .action-btn,
  .clear-btn {
    width: 100%;
  }
  
  .container {
    gap: 0.6em;
  }
  
  .tool-section {
    padding: 1em;
  }
}-bottom: 0.5em;
}

.faq-item h3 {
  margin: 0 0 0.2em 0;
  color: #2c3e50;
  font-size: 0.85em;
}

.faq-item p {
  margin: 0;
  color: #666;
  font-size: 0.8em;
}

/* Donate Page Styles */
.donate-header {
  text-align: center;
  margin-bottom: 1em;
}

.donate-subtitle {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.2em;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5em;
  margin-top: 0.5em;
}

.donation-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.8em;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.donation-card:hover {
  border-color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.donation-card.popular {
  border-color: #f39c12;
  background: #fef9e7;
}

.donation-badge {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #f39c12;
  color: white;
  padding: 0.1em 0.5em;
  border-radius: 8px;
  font-size: 0.6em;
  font-weight: 600;
}

.donation-icon {
  font-size: 1.5em;
  margin-bottom: 0.2em;
}

.donation-amount {
  font-size: 1.2em;
  font-weight: bold;
  color: #2c3e50;
  margin: 0.2em 0;
}

.donation-card p {
  font-size: 0.7em;
  margin: 0.3em 0;
}

.donate-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 0.5em 1em;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5em;
}

.donate-btn:hover {
  background: #219a52;
}

.support-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8em;
  margin-top: 0.8em;
}

.support-method {
  background: #f8f9fa;
  border-radius: 3px;
  padding: 0.6em;
}

.support-method h3 {
  margin: 0 0 0.3em 0;
  color: #2c3e50;
  font-size: 0.9em;
}

.support-method p {
  margin: 0 0 0.5em 0;
  font-size: 0.8em;
}

.share-buttons {
  display: flex;
  gap: 0.3em;
  margin-top: 0.5em;
}

.share-btn {
  padding: 0.3em 0.6em;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.7em;
  transition: background-color 0.2s ease;
}

.share-btn:hover {
  background: #2c80b4;
}

.feedback-btn {
  display: inline-block;
  padding: 0.4em 0.8em;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 600;
  margin-top: 0.5em;
  transition: background-color 0.2s ease;
  font-size: 0.8em;
}

.feedback-btn:hover {
  background: #2c80b4;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6em;
  margin-top: 0.6em;
}

.promise-item {
  background: #f8f9fa;
  border-radius: 3px;
  padding: 0.6em;
  text-align: center;
}

.promise-item h3 {
  margin: 0 0 0.2em 0;
  color: #2c3e50;
  font-size: 0.85em;
}

.promise-item p {
  margin: 0;
  color: #666;
  font-size: 0.7em;
}

.thank-you-section {
  background: #e8f5e8;
  border-radius: 4px;
  padding: 1em;
  text-align: center;
  margin-top: 1em;
}

.thank-you-section h2 {
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

.thank-you-section p {
  margin-bottom: 0.5em;
  font-size: 0.9em;
}

.back-to-tool-btn {
  display: inline-block;
  padding: 0.5em 1em;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: 600;
  margin-top: 0.5em;
  transition: background-color 0.2s ease;
  font-size: 0.8em;
}

.back-to-tool-btn:hover {
  background: #219a52;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .content-page {
    padding: 0.5em;
    height: calc(100vh - 70px);
    font-size: 0.75em;
  }
  
  .content-page h1 {
    font-size: 1.2em;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .donation-cards,
  .support-methods,
  .promise-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    gap: 0.4em;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .donation-card {
    padding: 0.6em;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 0.2em;
    padding: 0.2em;
  }
  
  .file-details {
    flex-direction: column;
    gap: 0.1em;
  }
  
  .preview-header {
    padding: 0.2em;
  }
  
  .pdf-preview {
    max-height: 100px;
  }
  
  header h1 {
    font-size: 1em;
  }
  
  nav a {
    font-size: 0.7em;
    margin: 0 0.3em;
  }
}size: 0.9em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-all-btn:hover {
  background-color: #7d3c98;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.results-container {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  overflow-y: auto;
  flex: 1;
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.8em;
}

.download-btn {
  padding: 0.4em 1em;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #2c80b4;
}

/* Success/Error Messages */
.message {
  padding: 0.8em;
  border-radius: 4px;
  margin: 0.5em 0;
  font-weight: 600;
  font-size: 0.9em;
  flex-shrink: 0;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

footer {
  font-size: 0.8em;
  padding: 0.5em;
}

/* Responsive */
@media (max-width: 768px) {
  .tool-selection {
    flex-direction: column;
  }
  
  .tool-card {
    max-width: 100%;
  }
  
  .merge-controls,
  .split-controls {
    flex-direction: column;
  }
  
  .action-btn,
  .clear-btn {
    width: 100%;
  }
  
  .container {
    padding: 0.5em;
    gap: 0.8em;
  }
  
  .tool-section {
    padding: 1em;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.3em;
    padding: 0.5em;
  }
  
  .file-details {
    flex-direction: column;
    gap: 0.2em;
  }
  
  .preview-header {
    padding: 0.6em;
  }
};
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .tool-selection {
    flex-direction: column;
  }
  
  .tool-card {
    max-width: 100%;
  }
  
  .merge-controls,
  .split-controls {
    flex-direction: column;
  }
  
  .action-btn,
  .clear-btn {
    width: 100%;
  }
  
  .container {
    padding: 1em;
    gap: 1em;
  }
  
  .tool-section {
    padding: 1.5em;
  }
}