/* ==============================
   CAREER SECTION (Minimal + Title Uses Base.css)
============================== */
.section.career {
  position: relative;
  padding: 20px 10px;
  background: url("../assets/images/viber_image_2025-08-13_09-06-08-970.jpg") center/cover no-repeat;
  text-align: center;
  color: #fff; /* white text for contrast */
  overflow: hidden;
}

/* Title */
.section.career h2 {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #020202; /* force white so it pops */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Label Styling inside Career Section */
.section.career label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #222; /* darker text so it shows */
  margin-bottom: 8px;
  text-align: left; /* optional, if you don’t want center */
}
/* Career Form Inputs */
.section.career form {
  max-width: 600px;
  margin: 0 auto; /* center form */
  width: 100%;
}

.section.career form input,
.section.career form textarea,
.section.career form select,
.section.career form button {
  width: 100%;
  box-sizing: border-box; /* prevent overflow from padding */
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Textarea should grow naturally */
.section.career form textarea {
  min-height: 120px;
  resize: vertical;
}


/* Job Listing Grid */
.job-listing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.job-card {
  background: linear-gradient(to bottom, #ada198, #ffffff);
  width: 280px;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.job-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.job-icon {
  margin-bottom: 20px;
}
.job-icon img {
  width: 50px;
  height: 50px;
}

.job-details h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}
.job-details p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Highlighted Job Card */
.highlight-card {
  background: linear-gradient(to bottom, #ada198, #ffffff);
  border: 2px solid #f6f2f3;
  animation: popIn 0.6s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==============================
   RESPONSIVE DESIGN
============================== */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .section.career h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .job-listing {
    gap: 20px;
  }
  .job-card {
    width: 45%; /* two per row */
    max-width: none;
  }
  .section.career form {
    max-width: 90%; /* shrink form a little on tablets */
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .section.career {
    padding: 30px 15px;
  }
  .section.career h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  .job-card {
    width: 100%; /* full width */
    max-width: 500px;
  }
  .section.career form {
    width: 300px;
    max-width: 100%; /* make form take full width */
  }
  .section.career form input,
  .section.career form textarea,
  .section.career form select,
  .section.career form button {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  .section.career h2 {
    font-size: 1.5rem;
  }
  .job-details h3 {
    font-size: 1rem;
  }
  .job-details p {
    font-size: 0.85rem;
  }

  /* Form adjustments for very small screens */
  .section.career form input,
  .section.career form textarea,
  .section.career form select,
  .section.career form button {
    font-size: 0.95rem;
    padding: 10px;
  }
}

