:root {
  --primary-color: #9333EA;
  --primary-hover: #7E22CE;
  --text-color: #1F2937;
  --border-color: #E5E7EB;
  --background-color: #F9FAFB;
  --muted-text: #6B7280;
  --card-background: white;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.5;
}

.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 800;
  font-size: 1.125rem;
}

.logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 0px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--border-color);
}

.main-content {
  max-width: 1200px;
  margin: 6rem auto 4rem;
  padding: 0 1rem;
  text-align: center;
}

/* Hero Section Styles */
.hero-section {
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--muted-text);
  line-height: 1.3;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-color);
}

.subtitle {
  color: var(--muted-text);
  margin-bottom: 2rem;
}

.drop-zone {
  border: 2px dashed #9333EA;
  border-radius: 0.90rem;
  padding: 3rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f5e9ff;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.drop-zone .upload-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.8;
}

.format-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto;
}

.format-option {
  background: var(--card-background);
  border: 1px solid #9333EA;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.format-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.format-option i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.format-option h4 {
  font-size: 1.125rem;
  margin: 0.5rem 0;
  color: var(--text-color);
}

.format-option p {
  font-size: 0.875rem;
  color: var(--muted-text);
  margin: 0;
}

.browse {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

.supported-formats {
  font-size: 0.875rem;
  color: var(--muted-text);
  margin-top: 0.5rem;
}

#fileInput {
  display: none;
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto;
  justify-content: center;
}

.preview-item {
  background: var(--card-background);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.preview-item img {
  width: 100%;
  height: auto;
  max-height: 150px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.preview-item button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.preview-item button:hover {
  background-color: var(--primary-hover);
}

.actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: #6B7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4B5563;
}

.spinner {
  margin: 2rem auto;
  width: 40px;
  height: 40px;
  border: 3px solid #E5E7EB;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  width: 0;
  transition: width 0.3s ease;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step.active .step-icon {
  background-color: var(--primary-color);
  color: white;
}

.step-text {
  font-size: 0.875rem;
  color: var(--muted-text);
  text-align: center;
}

.step.active .step-text {
  color: var(--primary-color);
  font-weight: 500;
}

.status-message {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-text);
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  background-color: #4B5563;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 300px;
}

.toast.show {
  opacity: 1;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.footer {
  background-color: #f3f4f6;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.about-section, .contact-section, .faq-section {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.about-section p, .contact-section p, .faq-section p {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-section ul li {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 0.75rem;
}

.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--text-color);
  background: var(--background-color);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  background: var(--card-background);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-method i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-method h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.contact-method p {
  font-size: 0.875rem;
  color: var(--muted-text);
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.seo-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--card-background);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.seo-content h2 {
  font-size: 1.75rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.seo-content h3 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin: 1.5rem 0 1rem;
}

.seo-content p, .seo-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.seo-content ul, .seo-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.seo-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.seo-content a:hover {
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-hover);
}

.container {
  max-width: 800px;
  width: 90%;
  margin: 50px auto;
  padding: 30px;
  background: #e7d4f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  text-align: center;
  color: #000000;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

input, textarea {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

button {
  background: #950000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
}

button:hover {
  background: #7a0000;
}

#reviewsContainer {
  margin-top: 20px;
  text-align: left;
}

.review {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

.review h3 {
  margin: 0 0 5px 0;
  color: #333;
}

.review p {
  margin: 0;
  color: #000;
}

.review small {
  display: block;
  margin-top: 5px;
  color: #888;
  font-size: 0.8em;
}

.dark {
  --text-color: #f9fafb;
  --background-color: #111827;
  --border-color: #374151;
  --muted-text: #9ca3af;
  --card-background: #1f2937;
}

.dark .navbar { background: rgba(17, 24, 39, 0.8); }
.dark .subtitle { color: var(--muted-text); }
.dark .drop-zone { background: var(--card-background); }
.dark .format-option { background: var(--card-background); }
.dark .format-option p { color: var(--muted-text); }
.dark .supported-formats { color: var(--muted-text); }
.dark .preview-container { background: transparent; }
.dark .preview-item { background: var(--card-background); }
.dark .status-message { color: var(--muted-text); }
.dark .footer { background-color: var(--card-background); }
.dark .loading-content { background-color: var(--card-background); color: var(--text-color); }
.dark .nav-links.show { background-color: var(--card-background); }
.dark .mobile-menu-toggle { color: var(--text-color); }
.dark .theme-toggle { color: var(--text-color); }
.dark .theme-toggle:hover { background-color: rgba(255, 255, 255, 0.1); }
.dark .step-text { color: var(--muted-text); }
.dark .step.active .step-text { color: var(--primary-color); }
.dark .seo-content { background-color: var(--card-background); }
.dark .seo-content h2, .dark .seo-content h3 { color: var(--text-color); }
.dark .seo-content p, .dark .seo-content li { color: var(--muted-text); }
.dark .seo-content a { color: var(--primary-color); }
.dark .about-section, .dark .contact-section, .dark .faq-section { background: var(--card-background); }
.dark .contact-method { background: var(--card-background); }
.dark .hero-title { color: var(--text-color); }
.dark .hero-subtitle { color: var(--muted-text); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .theme-toggle {
    margin-top: 0.5rem;
  }
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .subtitle {
    font-size: 0.875rem;
  }
  .drop-zone {
    padding: 1.5rem 1rem;
  }
  .step-indicator {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .step {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .format-options {
    grid-template-columns: 1fr;
  }
  .preview-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .preview-item {
    max-width: 100%;
    width: 90%;
  }
  .preview-item img {
    max-height: 120px;
  }
  .actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .about-section, .contact-section, .faq-section {
    padding: 1.5rem;
  }
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .form-group {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .subtitle {
    font-size: 0.75rem;
  }
  .drop-zone {
    padding: 1rem;
  }
  .step-indicator {
    gap: 0.75rem;
  }
  .step-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .step-text {
    font-size: 0.75rem;
  }
  .format-options {
    gap: 0.75rem;
  }
  .preview-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .preview-item img {
    max-height: 100px;
  }
  .preview-item button {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  .about-section p, .contact-section p, .faq-section p {
    font-size: 0.875rem;
  }
  .about-section ul li {
    font-size: 0.875rem;
  }
  .faq-item h2 {
    font-size: 1rem;
  }
}

.actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap; /* Added for better mobile arrangement */
}

@media (max-width: 768px) {
  .actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 300px; /* Limits button width on mobile */
  }
}

/* ... (previous styles remain unchanged) */

/* Share Section Styles */
.share-section {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
  padding: 0 1rem;
}

.share-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  font-size: 1rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-btn i {
  color: var(--primary-color);
}

.share-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.share-btn:hover i {
  color: white;
}

.dark .share-btn {
  background-color: var(--card-background);
  border-color: var(--border-color);
}

.dark .share-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

@media (max-width: 768px) {
  .share-buttons {
    gap: 0.75rem;
  }
  .share-btn {
    width: 45px;
    height: 45px;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .share-section h3 {
    font-size: 1.1rem;
  }
  .share-btn {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}


table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-family: Arial, sans-serif;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
            font-weight: bold;
            text-transform: uppercase;
        }
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        tr:hover {
            background-color: #f5f5f5;
        }
        
        
        
        
/* Sticky button styling */
        .sticky-button {
            position: fixed;
            right: -45px; /* Start with button partially off-screen */
            top: 50%;
            transform: translateY(-50%) rotate(-90deg); /* Rotate button to be vertical */
            background-color: #4f46e5;
            color: white;
            border: none;
            border-radius: 8px 8px 0 0; /* Rounded corners on top side only */
            padding: 12px 20px;
            font-weight: bold;
            font-size: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .sticky-button:hover {
            background-color: #4338ca;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
            right: -43px; /* Slight movement on hover */
        }

        /* Review form modal styling */
        .review-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1001;
        }

        .review-modal-content {
            background-color: white;
            margin: 15% auto;
            padding: 20px;
            width: 80%;
            max-width: 400px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .review-modal-content h2 {
            margin-top: 0;
        }

        .review-modal-content input,
        .review-modal-content textarea {
            width: 100%;
            margin: 10px 0;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .review-modal-content button {
            background-color: #4f46e5;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }

        .review-modal-content button:hover {
            background-color: #4338ca;
        }
        
        
        
        
        
        
        .intro-content, .seo-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content h2, .seo-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.intro-content h3, .seo-content h3 {
    font-size: 1.5rem;
    color: #555;
    margin: 15px 0 10px;
}

.intro-content p, .seo-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.intro-content a, .seo-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.intro-content a:hover, .seo-content a:hover {
    text-decoration: underline;
}