/* =========================================================
   CAREERS PAGE ONLY STYLES (CLEANED)
   ========================================================= */

/* page background */
body {
  background: #f7f9fc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Open Sans', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.3;
}


/* =========================================================
   SECTION BASE
   ========================================================= */

.section {
  padding: 90px 0 70px;
  position: relative;
}




/* title */
.title-box {
  margin-bottom: 60px;
  
}


.title-box h2.title{
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  color: #ffffff;
}

.title-box h2.title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #27ae60, #3b6be8);
  border-radius: 2px;
}

.title-box p {
  text-align: center;
  color: #ffffff;
  margin-top: 10px;
}

/* =========================================================
   OPEN JOBS SECTION
   ========================================================= */

#jobList {
  margin-top: 30px;
}

.job-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  transition: 0.25s ease;
  position: relative;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(39,174,96,0.12);
}

/* top accent line */
.job-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #27ae60, #3b6be8);
}

/* job title */
.job-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* meta */
.job-meta {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 10px;
}

/* description */
.job-card p {
  color: #ddd;
}

/* apply button */
.apply-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, #27ae60, #3b6be8);
  color: #fff;
  transition: 0.25s;
}

.apply-btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   APPLY SECTION
   ========================================================= */

#apply {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2027, #1a1a2e);
}

#apply .overlay {
  background: rgba(10, 12, 25, 0.75);
  position: absolute;
  inset: 0;
}

#apply .container {
  position: relative;
  z-index: 2;
}

#apply .title-box h2,
#apply .title-box p {
  color: #fff;
}

/* =========================================================
   FORM (GLASS STYLE)
   ========================================================= */

#careerForm {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 35px;
  backdrop-filter: blur(10px);
}

/* inputs */
#careerForm .form-control {
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-size: 14px;
}

#careerForm textarea.form-control {
  height: 120px;
  resize: none;
}

/* focus */
#careerForm .form-control:focus {
  border-color: #27ae60;
  box-shadow: 0 0 0 3px rgba(39,174,96,0.25);
}

/* placeholder */
#careerForm .form-control::placeholder {
  color: rgba(255,255,255,0.6);
}

/* file input */
#careerForm input[type="file"] {
  padding: 10px;
  height: auto;
}

/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

#careerSendBtn {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #27ae60, #3b6be8);
  transition: 0.25s;
}

#careerSendBtn:hover {
  transform: translateY(-2px);
}

/* loader */
#careerSendBtn .btn-loader {
  display: none;
}

#careerSendBtn.loading .btn-text {
  display: none;
}

#careerSendBtn.loading .btn-loader {
  display: inline-block;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  #careerForm {
    padding: 25px;
  }

  .job-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }

  .title-box h2.title {
    font-size: 24px;
  }

  #careerForm .form-control {
    height: 46px;
  }
}

/* =========================================================
   FORM SPACING FIX (IMPORTANT)
   ========================================================= */

/* space between form fields */
#careerForm .form-group,
#careerForm .col-md-4,
#careerForm .col-md-6,
#careerForm .col-md-12 {
  margin-bottom: 18px;
}

/* extra spacing for last row buttons */
#careerForm .text-right {
  margin-top: 10px;
}

/* mobile better spacing */
@media (max-width: 767px) {
  #careerForm .col-md-4,
  #careerForm .col-md-6,
  #careerForm .col-md-12 {
    margin-bottom: 14px;
  }
}


/* =========================================================
🧊 APPLY SECTION – PREMIUM CUBE BACKGROUND
========================================================= */

#apply {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #0f2027, #1a1a2e);
}

/* DARK OVERLAY */
#apply .overlay {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
z-index: 1;
}

/* ================= CUBE GRID ================= */

#apply::before {
content: "";
position: absolute;
inset: 0;

background-image:
linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);

background-size: 60px 60px;

animation: cubeMove 20s linear infinite;
z-index: 0;
}

/* glowing gradient moving */
#apply::after {
content: "";
position: absolute;
inset: 0;

background: radial-gradient(circle at 30% 30%, rgba(39,174,96,0.15), transparent 60%),
radial-gradient(circle at 70% 70%, rgba(59,107,232,0.15), transparent 60%);

animation: glowMove 10s ease-in-out infinite alternate;
z-index: 0;
}

/* ================= ANIMATIONS ================= */

@keyframes cubeMove {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-60px);
}
}

@keyframes glowMove {
0% {
transform: scale(1);
}
100% {
transform: scale(1.2);
}
}

/* ================= CONTENT FIX ================= */

#apply .container {
position: relative;
z-index: 2;
}





/* =========================
🔥 SECTION BACKGROUND
========================= */

.jobs-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #0f2027, #1a1a2e);
  overflow: hidden;
}

/* animated gradient glow blobs */
.jobs-bg span {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  animation: moveGlow 12s infinite alternate;
}

.jobs-bg span:nth-child(1) {
  background: #27ae60;
  top: 10%;
  left: 10%;
}
.jobs-bg span:nth-child(2) {
  background: #3b6be8;
  bottom: 10%;
  right: 10%;
}
.jobs-bg span:nth-child(3) {
  background: #ff6b6b;
  top: 50%;
  left: 50%;
}

@keyframes moveGlow {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px, -60px) scale(1.2); }
}

/* =========================
✨ GRID FIX
========================= */

#jobList {
  margin-top: 50px;
}

/* =========================
💎 JOB CARD (GLASS + GLOW)
========================= */

.job-card {
  position: relative;
  padding: 25px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  color: #fff;
  overflow: hidden;
  transition: 0.35s;
}

/* glowing border */
.job-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(120deg, #27ae60, #3b6be8, #27ae60);
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  opacity: 0;
  z-index: -1;
}

.job-card:hover::before {
  opacity: 1;
  filter: blur(10px);
}

@keyframes borderFlow {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

/* hover effect */
.job-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* =========================
✨ TEXT
========================= */

.job-title {
  font-size: 18px;
  font-weight: 700;
   color: #ddd;
}

.job-meta {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 10px;
}

.job-desc {
  font-size: 14px;
  color: #ddd;
}

/* =========================
🚀 BUTTONS
========================= */

.apply-btn,
.view-btn {
  margin-top: 12px;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.apply-btn {
  background: linear-gradient(135deg, #27ae60, #3b6be8);
  color: #fff;
}

.view-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* =========================
🔥 SHINE EFFECT
========================= */

.job-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(25deg);
  transition: 0.5s;
}

.job-card:hover::after {
  top: 100%;
  left: 100%;
}

/* =========================
🎬 FADE IN ANIMATION
========================= */

.job-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.job-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* .job-card:nth-child(2) { animation-delay: 0.1s; }
.job-card:nth-child(3) { animation-delay: 0.2s; }
.job-card:nth-child(4) { animation-delay: 0.3s; } */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.job-card .job-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

#jobList {
  display: flex;
  flex-wrap: wrap;
}

#jobList > div {
  margin-bottom: 25px;
}



/* MODAL */
.job-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.job-modal-content {
  background: #111;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.job-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}


/* MODAL TEXT FIX */
.job-modal-content {
  background: #0f172a; /* dark */
  color: #fff;
}

#jobModalTitle {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

#jobModalMeta {
  color: #bbb;
  margin-bottom: 15px;
}

#jobModalBody {
  color: #e5e7eb;
  line-height: 1.6;
}

#jobModalBody p {
  color: #e5e7eb;
}

.job-modal-content {
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border-radius: 16px;
}

.job-close {
  color: #fff;
}

small{
  color: #fff;
}