/* ==========================================================================
   Base Styles
   ========================================================================== */

:root {
  --primary-color: #007bff;
  --background-color: #ffffff;
  --text-color: #ffffff;
  --border-color: rgba(0, 0, 0, 0.1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

h1,
h2,
h3,
p,
.hero-text {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Form Elements */
input[type="text"],
input[type="password"],
input[type="email"] {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: auto; /* Ensure nav doesn't take up extra space */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
  height: auto;
  min-height: 76px; /* Ensure consistent nav height */
}

/* Main Content */
main {
  padding-top: 0; /* Remove padding that was pushing content down */
  height: 100vh;
  overflow-y: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.landing-container {
  position: relative;
  margin: 120px auto 40px;
  width: 90%;
  max-width: 1200px;
  padding: 30px;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

body.light-theme .page-container {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Theme Styles
   ========================================================================== */

/* Light Theme (Default) */
body.light-theme {
  background-color: white;
  color: black;
}

/* Dark Theme */
body.dark-theme {
  background-color: #000;
  color: white;
}

/* Image Theme */
body.image-theme {
  background-color: #000;
  color: white;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0056b3;
}

.button.danger {
  background-color: #dc3545;
}

.button.danger:hover {
  background-color: #c82333;
}

.button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.button:disabled:hover {
  background-color: #6c757d;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.auth-buttons button {
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  height: 36px; /* Fixed height for consistent alignment */
  display: flex;
  align-items: center;
}

.login-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  backdrop-filter: blur(5px);
}

.signup-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: black;
  backdrop-filter: blur(5px);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.signup-btn:hover {
  background: white;
}

/* Logo */
.logo img {
  height: 50px;
  width: auto;
}

.logo-center img {
  height: 40px;
  width: auto;
}

.logo-center {
  width: 150px;
  margin: 0 auto 30px;
  display: block;
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

body.dark-theme .logo-light,
body.image-theme .logo-light {
  display: none;
}

body.dark-theme .logo-dark,
body.image-theme .logo-dark {
  display: block;
}

.logo img {
  filter: none;
}

body.dark-theme .logo img,
body.image-theme .logo img {
  filter: none;
}

.logo a {
  display: block;
  text-decoration: none;
}

.logo a:hover {
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 14px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: flex;
  align-items: center;
  height: 36px; /* Fixed height for consistent alignment */
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.sign-out {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  min-width: 120px;
  border-radius: 20px;
  overflow: visible;
  z-index: 1000;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.dropdown-content a {
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  margin: 4px 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  backdrop-filter: blur(5px);
  font-size: 14px;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  pointer-events: all;
  isolation: isolate;
}

.theme-btn {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  pointer-events: all;
}

.theme-toggle button {
  position: relative;
  z-index: 99999;
}

/* FAB Menu */
.fab-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.fab-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.fab-button:hover {
  transform: scale(1.45);
}

.fab-button.active {
  transform: rotate(45deg);
}

body.light-theme .fab-button {
  color: rgb(0, 0, 0);
}

.fab-menu {
  position: absolute;
  bottom: 70px;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.fab-menu.active {
  display: flex;
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
}

body.light-theme .fab-item {
  color: rgb(0, 0, 0);
}

.fab-item:hover {
  background-color: #f8f9fa;
  transform: translateX(-5px);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.form-container {
  max-width: 400px;
  margin: 0 auto;
}

/* Login Form */
.login-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 400px;
  z-index: 1;
}

.login-form {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.login-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: white;
  font-weight: 500;
}

.login-input {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.login-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.login-submit-btn {
  width: 100%;
  padding: 12px;
  background: white;
  color: black;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-submit-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Job Table
   ========================================================================== */

.job-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  margin-top: 20px;
}

.job-table th,
.job-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.job-table th {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

/* Status Badge */
.status-badge {
  display: inline-block;
  min-width: 80px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin: 0 auto;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.status-pending {
  background-color: rgba(255, 191, 0, 0.8);
  color: #946f00;
  border: 1px solid rgba(255, 193, 7, 0.8);
}

.status-uploaded,
.status-completed {
  background-color: rgba(156, 224, 172, 0.8);
  color: #005714;
  border: 1px solid rgba(40, 167, 69, 0.8);
}

.status-error {
  background-color: rgba(255, 146, 157, 0.8);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.8);
}

.status-processing {
  background-color: rgba(120, 183, 249, 0.8);
  color: #003e7f;
  border: 1px solid rgba(0, 123, 255, 0.8);
}

/* Progress Bar */
.progress-container {
  width: 100%;
  background-color: rgba(0, 123, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px;
  animation: move-stripes 1s linear infinite;
}

@keyframes move-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 0;
  }
}

.progress-bar {
  height: 20px;
  background-color: rgb(158, 158, 158);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.progress-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

.progress-container.completed,
.progress-container.failed {
  animation: none; /* Stop the animation */
  background-image: none; /* Remove the stripes */
}

.progress-container.completed {
  background-color: rgba(40, 167, 69, 0.2); /* Solid green background */
}

.progress-container.failed {
  background-color: rgba(220, 53, 69, 0.2); /* Solid red background */
}

/* ==========================================================================
   File Upload
   ========================================================================== */

.file-upload-container {
  border: 2px dashed #ddd;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.select-files-btn {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  pointer-events: auto;
}

.select-files-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.upload-hint {
  color: rgba(255, 255, 255, 0.8);
  margin: 10px 0;
}

.upload-formats {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
}

/* ==========================================================================
   Alerts & Messages
   ========================================================================== */

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 3px;
}

.alert-warning {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

.error {
  color: #ff4444;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

/* ==========================================================================
   Admin Styles
   ========================================================================== */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-5px);
}

.admin-card h3 {
  color: white;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.admin-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.admin-btn {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 14px;
  background: transparent;
}

.admin-btn.danger {
  color: red;
  border: 1px solid red;
}

.admin-btn.danger:hover {
  background: rgba(255, 0, 0, 0.3);
}

.admin-btn.download {
  color: #007bff;
  border: 1px solid #007bff;
}

.admin-btn.download:hover {
  background: rgba(0, 123, 255, 0.3);
}

.admin-controls {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-controls button.admin-btn.danger {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.admin-controls button.admin-btn.danger:hover {
  background-color: #c82333;
}

/* ==========================================================================
   Background Images
   ========================================================================== */

.fullscreen-images {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  display: none;
}

.image-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

body.image-theme .fullscreen-images {
  display: block;
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

body.dark-theme::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-theme::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

.btn-loading {
  position: relative;
  color: transparent !important;
  display: inline-block;
}

.btn-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-loading::after {
  animation: spin-loading 0.8s linear infinite;
}

@keyframes spin-loading {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ==========================================================================
   Light Theme Adjustments
   ========================================================================== */

body.light-theme .job-table th,
body.light-theme .job-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: black;
}

body.light-theme .job-table th {
  color: rgba(0, 0, 0, 0.7);
}

body.light-theme .file-upload-container {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .select-files-btn {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: black;
}

body.light-theme .select-files-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

body.light-theme .upload-hint {
  color: rgba(0, 0, 0, 0.8);
}

body.light-theme .upload-formats {
  color: rgba(0, 0, 0, 0.6);
}

body.light-theme .nav-link {
  background: rgba(255, 255, 255, 0.3);
  color: black;
}

body.light-theme .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.light-theme .nav-link.active {
  border-color: rgba(0, 0, 0, 1);
  color: black;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

body.light-theme .sign-out {
  border: 1px solid rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

body.light-theme .dropdown-content a {
  color: black;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

body.light-theme .dropdown-content a:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.light-theme .page-container h2 {
  color: black;
}

body.light-theme .theme-btn {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.8);
  color: black;
}

body.light-theme .landing-container h1 {
  color: black;
}

body.light-theme .landing-container .hero-text {
  color: rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Landing Page
   ========================================================================== */

/* Logo Section */
.logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin-bottom: 40px;
}

.main-logo {
  width: 300px;
  height: auto;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Adjust landing container for full-height logo */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-container {
  position: relative;
  margin: 120px auto 40px;
  width: 90%;
  max-width: 1200px;
  padding: 30px;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

body.light-theme .page-container {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section adjustments */
.hero-section {
  margin-top: -40px;
  padding: 40px 0;
}

/* Content container adjustments */
.content-container {
  margin: 60px auto;
}

/* Logo Theme Adjustments */
.main-logo.logo-light {
  display: block;
}

.main-logo.logo-dark {
  display: none;
}

body.light-theme .main-logo.logo-light {
  display: none;
}

body.light-theme .main-logo.logo-dark {
  display: block;
}

body.dark-theme .main-logo.logo-light,
body.image-theme .main-logo.logo-light {
  display: block;
}

body.dark-theme .main-logo.logo-dark,
body.image-theme .main-logo.logo-dark {
  display: none;
}

.landing-content {
  margin-top: 30px;
}

.cta-button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: black;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  margin-top: 20px;
}

.cta-button:hover {
  background: white;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 768px) {
  nav {
    padding: 20px;
  }

  .page-container {
    padding: 10px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.process-section {
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-section button {
  margin: 0 auto;
}

/* .job-table td .status-badge.status-processing {
  background-color: rgba(0, 123, 255, 0.2);
  color: #007bff;
  border: 1px solid rgba(0, 123, 255, 0.3);
} */

/* Contact and FAQ page styles */
.contact-container,
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-container h1,
.faq-container h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color);
}

.contact-info,
.faq-list {
  /* background-color: var(--background-color); */
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info p {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color);
  font-size: 1.1em;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--text-color);
  line-height: 1.6;
}

body.light-theme h1 {
  color: black;
}

body.dark-theme h1,
body.image-theme h1 {
  color: white;
}

/* ==========================================================================
   Flash Container & Messages
   ========================================================================== */

.flash-container {
  position: fixed;
  bottom: 2px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 999;
  width: 100%;
  max-width: 400px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.alert {
  width: 100%;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  pointer-events: auto;
  text-align: center;
  background: none;
  height: 60px;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: white;
}

.alert i {
  font-size: 1.2em;
  color: inherit;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Light theme adjustments */
body.light-theme .alert-content {
  color: black;
}

body.light-theme .alert i {
  color: inherit;
}

/* ==========================================================================
   Account Page Styles
   ========================================================================== */

.settings-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.info-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  min-width: 300px;
}

.info-row {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.info-label {
  font-weight: bold;
  width: 120px;
}

.password-form {
  margin-top: 15px;
}

/* The following selectors already exist in style.css, but check for these tweaks: */
.password-form .form-group {
  margin-bottom: 15px;
}

.password-form .form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--text-color);
}

.invalid-feedback {
  color: #dc3545;
  display: block;
  margin-top: 5px;
  font-size: 0.875rem;
}

.password-form .btn-primary {
  background-color: grey;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.password-form .btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Content Containers */
.content-container {
  position: relative;
  margin: 40px auto;
  width: 90%;
  max-width: 1200px;
  padding: 30px;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

body.light-theme .content-container {
  background-color: rgba(0, 0, 0, 0.05);
}

.content-container h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  color: var(--text-color);
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-item {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.content-item:hover {
  transform: translateY(-2px);
}

.content-item h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.content-item p {
  color: var(--text-color);
  opacity: 0.9;
  line-height: 1.6;
}

/* Step Numbers */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  font-weight: bold;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  width: 100%;
}

.feature {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.features-note {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  text-align: center;
  font-style: italic;
  backdrop-filter: blur(10px);
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Comparison Placeholder */
.comparison-placeholder {
  text-align: center;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

/* Comparison Container */
.comparison-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  min-height: 300px;
  /* margin: 0 auto; */
  margin-top: 40px;
}

.comparison-item {
  flex: 1;
  max-width: 460px;
  min-width: 200px;
  height: 100%;
  min-height: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.comparison-image {
  width: 100%;
  height: 100%;
  max-height: 700px;
  border-radius: 10px;
  object-fit: contain;
}

.comparison-label {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
  color: var(--text-color);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.4;
}

.comparison-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

#imageCounter {
  color: var(--text-color);
  font-size: 14px;
}

body.light-theme .nav-btn {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: black;
}

body.light-theme .nav-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

body.light-theme #imageCounter {
  color: #333;
}

/* Light Theme Adjustments */
body.light-theme .content-item {
  background-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .content-item h3,
body.light-theme .content-item p {
  color: #333;
}

body.light-theme .features-note {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

body.light-theme .comparison-placeholder {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

/* ==========================================================================
   Fullscreen Sections
   ========================================================================== */

.sections-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  padding-top: 0; /* Remove any top padding */
}

.fullscreen-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-height: 100vh;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: 0; /* Ensure no top margin */
}

.section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-top: 0;
  flex: 1; /* Allow content to fill available space */
}

/* Update the active and previous states to maintain positioning */
.fullscreen-section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.fullscreen-section.previous {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Logo Section */
#logo-section {
  background: transparent;
  padding-bottom: 100px;
}

.main-logo {
  width: 300px;
  height: auto;
}

/* Steps Section */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  width: 100%;
}

.feature {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

/* Comparison Section */
.comparison-placeholder {
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  text-align: center;
}

/* Try Now Section */
#try-now .dropzone {
  max-width: 600px;
  width: 100%;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

/* Typography */
.fullscreen-section h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  text-align: center;
}

.fullscreen-section h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.fullscreen-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Theme Adjustments */
body.light-theme .fullscreen-section {
  background-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .step,
body.light-theme .feature,
body.light-theme .comparison-placeholder,
body.light-theme .dropzone {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Logo Theme Adjustments */
.main-logo.logo-light {
  display: block;
}

.main-logo.logo-dark {
  display: none;
}

body.light-theme .main-logo.logo-light {
  display: none;
}

body.light-theme .main-logo.logo-dark {
  display: block;
}

.pricing-container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
}

.pricing-container .contact-form {
  margin-top: 20px;
}

.pricing-container .form-group {
  margin-bottom: 15px;
}

.pricing-container label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
}

.pricing-container input,
.pricing-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  backdrop-filter: blur(5px);
}

.pricing-container textarea {
  min-height: 100px;
  resize: vertical;
}

.pricing-container .submit-button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: black;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  margin-top: 20px;
}

.pricing-container .submit-button:hover {
  background: white;
}

/* Light theme adjustments */
body.light-theme .pricing-container input,
body.light-theme .pricing-container textarea {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
  color: #333;
}

body.light-theme .pricing-container label {
  color: #333;
}

/* Update media queries for better height scaling */
@media (max-width: 768px) {
  .comparison-container {
    gap: 10px;
    padding: 0 10px;
    min-height: 250px;
  }

  .comparison-item {
    min-width: 150px;
    min-height: 250px;
  }

  .comparison-image {
    max-height: 300px;
  }

  .fullscreen-section {
    padding: 20px;
  }

  .content-wrapper {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .comparison-container {
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }

  .comparison-item {
    width: 100%;
    max-width: none;
    min-height: 200px;
  }

  .comparison-image {
    max-height: 250px;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator i {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Light theme adjustments */
body.light-theme .scroll-indicator {
  color: black;
}
