/* Reuse card styling for forms */
.main, .shop-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background-color: #f0f0f0;
}

form {
  max-width: 850px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 60%, rgba(245, 245, 245, 0.7));
  border-radius: 30px 0px 30px 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  backdrop-filter: blur(2px);
  position: relative;
}

/* Floating label input groups */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input,
.input-group textarea,
form select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 12px;
  outline: none;
  background: white;
  transition: border 0.3s;
}

.input-group input:focus,
.input-group textarea:focus,
form select:focus {
  border-color: #0a74da;
}

.input-group label {
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s ease;
  background-color: white;
  padding: 0 4px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -12px;
  left: 12px;
  font-size: 0.85em;
  color: #0a74da;
}

/* Submit Button */
.input-button a,
form button[type="submit"] {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  background-color: #0a74da;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 15px;
}

.input-button a:hover,
form button[type="submit"]:hover {
  background-color: #0958a6;
}

/* Layout for form rows (side-by-side inputs) */
.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.row .input-group {
  flex: 1;
  min-width: 200px;
}

/* Responsive fix for smaller screens */
@media (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}

/* Optional: Style for headings */
form h3, .shop-box h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Optional: Style for disclaimers/policies */
form p {
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

form a {
  color: #0a74da;
  text-decoration: none;
}
/* style career form starts here */

/* Career Form Container */
.career-form {
  max-width: 850px;
  margin: 50px auto;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.8));
  border-radius: 30px 0 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
}

/* Headings */
.career-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Image Upload Box */
.imageupload-box {
  text-align: center;
  margin-bottom: 30px;
}

.imageupload-box img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0a74da;
  margin-bottom: 15px;
}

.imageupload-box label {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0a74da;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.imageupload-box label:hover {
  background-color: #0958a6;
}

.imageupload-box input[type="file"] {
  display: none;
}

/* Form Elements */
#careerForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#careerForm input[type="text"],
#careerForm input[type="email"],
#careerForm input[type="number"],
#careerForm input[type="password"],
#careerForm input[type="file"] {
  padding: 12px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 12px;
  outline: none;
  background-color: white;
  transition: border 0.3s;
  width: 100%;
}

#careerForm input:focus {
  border-color: #0a74da;
}

/* Education radio section */
#careerForm h3 {
  margin-top: 10px;
  margin-bottom: -10px;
  color: #444;
}

#careerForm input[type="radio"] {
  margin-right: 10px;
}

/* Submit Button */
.input-button button {
  padding: 12px 25px;
  font-size: 1em;
  background-color: #0a74da;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.input-button button:hover {
  background-color: #0958a6;
}

/* style platinum form starts here */
/* Platinum Ad Form Card */
#platinumForm {
  max-width: 850px;
  margin: 50px auto;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.8));
  border-radius: 30px 0 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Headline */
#platinumForm h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

/* Labels */
#platinumForm label {
  font-weight: 500;
  margin-bottom: 5px;
}

/* Input Styles */
#platinumForm input[type="text"],
#platinumForm input[type="number"],
#platinumForm input[type="file"] {
  padding: 12px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 12px;
  outline: none;
  background-color: white;
  transition: border 0.3s;
  width: 100%;
}

#platinumForm input:focus {
  border-color: #0a74da;
}

/* Radio Buttons */
#platinumForm input[type="radio"] {
  margin-right: 10px;
}

/* Upload Preview Image */
#platinumForm img#upload-pic {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid #ccc;
}

/* Submit Button */
#platinumForm button[type="submit"] {
  padding: 12px 25px;
  font-size: 1em;
  background-color: #0a74da;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
  align-self: center;
}

#platinumForm button[type="submit"]:hover {
  background-color: #0958a6;
}

/* Footer Text */
#platinumForm p {
  text-align: center;
  font-size: 0.95em;
  color: #555;
}

#platinumForm a {
  color: #0a74da;
  text-decoration: none;
}

#platinumForm a:hover {
  text-decoration: underline;
}

/* Container for selected image previews */
#imagesDiv {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

/* Wrapper for each image + delete button */
.preview-wrapper {
  position: relative;
  display: inline-block;
}

/* Preview images */
#imagesDiv img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

#imagesDiv img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Delete button (✖) */
.delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.delete-btn:hover {
  background: red;
}

/* Upload button */
#selimgsbtn {
  display: inline-flex;          /* fit content */
  align-items: center;
  justify-content: center;
  width: auto;                   /* important */
  background: #007bff;
  color: #fff;
  padding: 8px 14px;             /* tight but comfortable */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;           /* prevent text wrapping */
  transition: background 0.2s ease;
}

#selimgsbtn:hover {
  background: #0056b3;
}

#controldiv {
  display: flex;
  flex-direction: column;   /* button on top, text below */
  align-items: center;      /* center horizontally */
  justify-content: center;
  margin: 20px auto;        /* center block itself */
  text-align: center;
}

/* Progress bar */
#uploadProgress {
  margin-top: 10px;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

/* Images*/
.image-preview {
  width: 160px;
  height: 160px;
  border: 2px dashed #888;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 10px auto;
  border-radius: 10px;
  cursor: pointer;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* IMAGE PLACEHOLDER */
.image-placeholder {
  width: 240px;
  height: 240px;
  margin: 20px auto;
  border-radius: 18px;
  border: 2px dashed #4f46e5; /* Indigo premium */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #f9fafb, #eef2ff);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.15);
}

/* Hover effect */
.image-placeholder:hover {
  border-color: #22c55e; /* Green accent */
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  transform: scale(1.03);
}

/* Icon */
.image-placeholder i {
  font-size: 48px;
  color: #4f46e5;
  margin-bottom: 10px;
}

/* Text */
.image-placeholder p {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

/* Preview image */
.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}


/* Package */

section {
  padding: 20px 10px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #f8f9fa;
  color: #000;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  border-color: #0bbcd6;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;

}

.price {
  color: #0d6efd;
  font-size: 22px;
  margin: 10px 0;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  background: #0dcaf0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background: #0bbcd6;
}




/* Image upload container */
.image-uploader {
  margin: 15px 0;
}

/* Placeholder */
.image-placeholder {
  width: 160px;
  height: 160px;
  border: 2px dashed #ccc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 14px;
  background: #fafafa;
}

.image-placeholder i {
  font-size: 32px;
  margin-bottom: 8px;
}

/* Image preview wrapper */
.image-preview {
  position: relative;
  width: 160px;
  height: 160px;
  margin-top: 10px;
}

/* High-quality image */
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* prevents stretching */
  border-radius: 12px;
  image-rendering: auto;
}

/* Action buttons */
.image-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 6px;
}

.image-actions button {
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
}

.image-actions button:hover {
  background: #e63946;
}
