@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  background: #f7f7fb;
  overflow-x: hidden;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 20px;
  background:
    radial-gradient(circle at top left, #efe5ff, transparent 40%),
    radial-gradient(circle at bottom right, #e8f4ff, transparent 40%),
    #ffffff;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #efe5ff;
  color: #6f2cff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  color: #111;
}

.hero-text h1 span {
  color: #6f2cff;
}

.hero-subtitle {
  font-size: 20px;
  color: #666;
  margin-top: 24px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
}

.hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.content-container {
  max-width: 1200px;
  margin: auto;
  padding: 100px 20px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
}

.section-header p {
  color: #777;
  margin-top: 12px;
}

.info-section h2 {
  font-size: 42px;
  margin-bottom: 24px;
}

.info-section p {
  color: #666;
  line-height: 1.9;
  font-size: 17px;
}

.feature-list {
  margin-top: 24px;
}

.feature-list li {
  margin-bottom: 10px;
  color: #555;
}

.section-image {
  width: 100%;
  border-radius: 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #6f2cff;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.gallery-section {
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card p {
  color: #666;
  line-height: 1.8;
}

.faq-section {
  background: #fff;
}

.faq-container {
  max-width: 900px;
}

.tool-section {
  background:
    radial-gradient(circle at top right, #efe5ff, transparent 50%),
    radial-gradient(circle at bottom left, #e8f4ff, transparent 50%),
    #ffffff;
  padding: 60px 20px;
  overflow: visible;
}

.tool-wrapper {
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: auto;
}

.tool-content {
  text-align: center;
  margin-bottom: 40px;
}

.tool-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.tool-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.tool-section-group {
  margin-bottom: 40px;
  text-align: center;
}

.tool-section-group h3 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.tool-section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tool-section-header h3 {
  margin-bottom: 0;
}

.btn-reset {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-reset:hover {
  background: #f0f0f0;
  color: #6f2cff;
}

.tool-desc {
  font-size: 15px;
  color: #888;
  margin-bottom: 24px;
}

.tool-uploads {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 24px;
}

.image-upload-box {
  width: 220px;
  height: 220px;
  border: 2px dashed #d0d0d0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.image-upload-box:hover {
  border-color: #6f2cff;
  background: #f5f0ff;
  transform: translateY(-2px);
}

.upload-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.image-upload-box:hover .upload-icon {
  opacity: 1;
}

.upload-label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.tool-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.tool-btn-render,
.tool-btn-download {
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  transition: all 0.3s ease;
}

.tool-btn-render {
  background: #6f2cff;
  color: white;
}

.tool-btn-render:hover:not(:disabled) {
  background: #5c1dff;
  box-shadow: 0 10px 30px rgba(111, 44, 255, 0.3);
  transform: translateY(-2px);
}

.tool-btn-render:disabled {
  background: #d0d0d0;
  cursor: not-allowed;
}

.tool-btn-download {
  background: #10b981;
  color: white;
}

.tool-btn-download:hover {
  background: #059669;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.img-container {
  margin-top: 40px;
}

.src-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.result-preview-img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.overlay-controls {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  width: 100%;
  max-width: 300px;
}

.overlay-controls .form-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}

.overlay-controls #overlayValue {
  font-weight: 700;
  color: #6f2cff;
}

.overlay-controls .form-range {
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.overlay-controls .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6f2cff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(111, 44, 255, 0.3);
  transition: all 0.2s ease;
}

.overlay-controls .form-range::-webkit-slider-thumb:hover {
  width: 24px;
  height: 24px;
  box-shadow: 0 4px 12px rgba(111, 44, 255, 0.5);
}

.overlay-controls .form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6f2cff;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(111, 44, 255, 0.3);
  transition: all 0.2s ease;
}

.overlay-controls .form-range::-moz-range-thumb:hover {
  width: 24px;
  height: 24px;
  box-shadow: 0 4px 12px rgba(111, 44, 255, 0.5);
}

.tool-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

@media only screen and (max-width: 768px) {
  .tool-wrapper {
    padding: 30px 20px;
  }

  .tool-content h2 {
    font-size: 32px;
  }

  .tool-subtitle {
    font-size: 16px;
  }

  .image-upload-box {
    width: 180px;
    height: 180px;
  }

  .tool-section-group h3 {
    font-size: 20px;
  }

  .result-preview-img {
    max-width: 100%;
  }
}

@media only screen and (max-width: 900px) {
  .hero-content,
  .two-column,
  .steps-grid,
  .gallery-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .section-header h2,
  .info-section h2 {
    font-size: 34px;
  }

  .content-container {
    padding: 70px 20px;
  }

  .hero-section {
    padding-top: 60px;
  }
}

.footer-section {
  background:
    radial-gradient(circle at top right, #efe5ff, transparent 50%),
    radial-gradient(circle at bottom left, #e8f4ff, transparent 50%),
    #ffffff;
  padding: 60px 20px;
  margin-top: 40px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  color: #666;
}

.footer-section p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.footer-section a {
  color: #6f2cff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #5c1dff;
}

.container {
  background: white;
  border-radius: 20px;
  padding: 0px;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 640px;
  border: 2px solid #d5caca;
}

@media only screen and (max-width: 600px) {
  .container {
    border-radius: 0px;
    border: none;
    margin: 0px;
    width: 100%;
  }
}

.src-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 1rem;
  max-width: 100%;
  overflow-x: auto;
}

.img {
  width: 500px;
  height: 500px;
}

.selection-box {
  position: absolute;
  transition: all 0.5s ease;
}

.output-grid {
  display: grid;
  grid-gap: 0px;
}

.grid-item {
  width: 100px;
  height: 100px;
}

.sub-image {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 5px;
}

.logo {
  text-transform: uppercase;
  font-family: 'Lobster', cursive ;
  font-size: 24px;
  padding: 2rem;
  border-bottom: 2px solid #d5caca;
}

.logo .sub-text {
  color: orange;
}



.image-box {
  width: 200px;
  height: 200px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f1eef2;
  color: #a4a4a4;
  font-size: 14px;
  transition: all 1s ease;
  border-radius: 10px;
  border: 1px;
  background-size: cover;
}

.alt-img {
  cursor: pointer;
  transition: all 0.3s ease;
}

.alt-img:hover {
  margin-top: -30px;
}

.footer {
  padding: 1rem;
  color: rgb(179, 178, 178);
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}

.desc {
  font-size: 12px;
  color: #9fc1a1;
}

.prev-img-box {
  border: 1px;
  background-size: cover;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
}

.img-button {
  width: 100%;
  text-align: center;
  align-self: flex-end;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.5s ease;
  color: white;
  background: rgba(27, 0, 217, 0.4);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.img-button:hover {
  background: rgba(27, 0, 217, 0.8);
}

.mt-3 {
  margin-top: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.d-flex {
  display: flex !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.flex-column {
  flex-direction: column !important;
}

.align-self-end {
  align-self: flex-end !important;
}

.text-center {
  text-align: center !important;
}

.d-none {
  display: none !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.border {
  border: 1px solid #dee2e6 !important;
}

.shadow {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.img-container {
  margin-top: 1rem !important;
}

.sub-img-container {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.width-32 {
  width: 32px !important;
}

.height-32 {
  height: 32px !important;
}

/* Overlay Controls */
.overlay-controls {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.overlay-controls .form-label {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  display: block;
}

.overlay-controls #overlayValue {
  font-weight: 700;
  color: #6f2cff;
}

.overlay-controls .form-range {
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.overlay-controls .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6f2cff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(111, 44, 255, 0.3);
  transition: all 0.2s ease;
}

.overlay-controls .form-range::-webkit-slider-thumb:hover {
  width: 24px;
  height: 24px;
  box-shadow: 0 4px 12px rgba(111, 44, 255, 0.5);
}

.overlay-controls .form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6f2cff;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(111, 44, 255, 0.3);
  transition: all 0.2s ease;
}

.overlay-controls .form-range::-moz-range-thumb:hover {
  width: 24px;
  height: 24px;
  box-shadow: 0 4px 12px rgba(111, 44, 255, 0.5);
}
