/* Global Styles */
body {
  background: #1e293b; /* Dark background for contrast */
  color: #e2e8f0; /* Light text color */
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 20px;
}

/* Title Styling */
h2 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  color: transparent;
  background: linear-gradient(45deg, #3b82f6, #9333ea); /* Gradient effect */
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  margin-top: 2rem;
  text-align: center;
}

/* Form Controls (File Upload, Inputs, Buttons) */
.form-control {
  background: rgba(255, 255, 255, 0.1); /* Frosted glass background */
  border: 2px solid rgba(255, 255, 255, 0.3); /* Light border */
  border-radius: 10px;
  padding: 1rem;
  color: white;
  backdrop-filter: blur(10px); /* Frosted effect */
  transition: background 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #3b82f6; /* Highlight border on focus */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Button Styling */
button {
  background: rgba(255, 255, 255, 0.1); /* Frosted glass effect */
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.1rem;
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.3s ease;
  margin: 0.5rem;
}

button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Image Preview */
#imagePreview {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px); /* Glass effect */
  margin-top: 1rem;
}

/* Image Preview Section */
#previewContainer {
  margin-top: 2rem;
  text-align: center;
}

/* Footer Styling */
.footer {
  background: rgba(31, 41, 55, 0.8); /* Semi-transparent background */
  backdrop-filter: blur(15px); /* Glass effect */
  padding: 4rem 0;
  margin-top: 3rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.footer h6 {
  color: #94a3b8;
  font-size: 1rem;
}

.footer .social-links .btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
  margin: 0.5rem;
  backdrop-filter: blur(8px); /* Glass effect */
}

.footer .social-links .btn:hover {
  transform: translateY(-5px) rotate(8deg);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Download Button */
#downloadLink {
  background: rgba(0, 200, 255, 0.2); /* Frosted effect with a blue tint */
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.2rem;
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
  margin-top: 1rem;
}

#downloadLink:hover {
  background: rgba(0, 200, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Container Padding */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Footer Padding */
footer {
  padding: 4rem 0;
}

#imagePreviews img {
  width: 150px;
  height: auto;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

#imagePreviews img:hover {
  transform: scale(1.1);
  
}
