body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f4f7fb;
  color: #333;
}

.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007bff;
}

.step-progress {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 700px;
  position: relative;
  padding: 0 20px;
}

.step {
  text-align: center;
  flex: 1;
  position: relative;
}

.step .circle {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #ccc;
  color: white;
  line-height: 40px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.step.active .circle {
  background: #007bff;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.step::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: #ccc;
  z-index: 0;
}

.step:first-child::before {
  content: none;
}



.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.main-header {
  text-align: center;
  margin-bottom: 30px;
}

.main-header h1 {
  font-size: 2rem;
  color: #222;
}

.main-header p {
  font-size: 1rem;
  color: #666;
}

.container {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.block {
  margin-bottom: 30px;
}

.upload-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.upload-section {
  border: 3px dashed #888;   /* grey dashed border */
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;           /* show pointer on hover */
  background-color: transparent; /* remove background color */
  transition: border-color 0.3s ease;
  position: relative;
}

.upload-section:hover {
  border-color: #555; /* slightly darker grey on hover */
}

/* Hide the actual file input */
.upload-section input[type="file"] {
  display: none;
}

/* Style the placeholder text inside upload */
#uploadText {
  font-size: 1.1rem;
  color: #666;
  user-select: none;
  pointer-events: none; /* so clicks fall through to container */
  padding-top: 1in;
  padding-bottom: 1in;
}

input[type="file"] {
  display: block;
  margin: 0 auto;
}

.image-preview-container {
  text-align: center;
  margin-top: 20px;
  margin-left: auto;
}

.image-preview-container img {
  max-width: 100%;
  max-height: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
  
}

.controls-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.input-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.input-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.input-group input,
.input-group select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.primary-btn {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 1rem;
  background-color: #007bff;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-start;
}

.primary-btn:hover {
  background-color: #0056b3;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #555;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.download-block {
  text-align: center;
}

.download-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
}

.download-btn:hover {
  background-color: #1e7e34;
}

#imagePreview {
  max-width: 100%;
  max-height: 350px;
  border-radius: 8px;
  display: none; /* hide initially */
  margin-top: 10px;
  pointer-events: none;
}

.features-section {
  max-width: 1100px;
  margin: 1in auto;
  display: flex;
  justify-content: space-between;
  align-items: left;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features-list li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.keywords {
  color: #555;
  font-style: italic;
  font-size: 0.95rem;
}


.faq-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 25px;
}

.faq-item h3 {
  font-weight: 600;
  color: #333;
}

.faq-item p {
  color: #555;
  margin: 5px 0 0;
}


.footer {
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 40px;
}

.footer-nav {
  margin-top: 8px;
}

.footer-nav a {
  color: #666;        /* grey color */
  text-decoration: none;  /* no underline */
  margin: 0 8px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #444;  /* darker grey on hover */
  text-decoration: none;
}