/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #86047d; /* Deep Magenta - Theme Color */
  --accent-2: #c021b6; /* Electric Magenta/Pink */
  --accent-3: #86047d; /* Lighter, brighter Pink for depth */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.08);
  --muted: #5a5a5a;
  --card-radius: 10px;
  --text-dark: #121212;
  --shadow-primary: rgba(134, 4, 125, 0.15);
  --color-bg: #0a0015; /* Very Dark Purple/Black */
}
body {
  font-family: "Lato", sans-serif;
}

/* ===== CAREER HERO ===== */
.career-hero {
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-family: "Righteous", sans-serif;
  font-size: 2.8rem;
  color: #1a1a1a;
  font-weight: 500;
  margin-top: 70px;
  /* margin-bottom: 10px; */
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #86047d, #a01592);
  border-radius: 2px;
}

/* ===== CAREER SECTION ===== */
.career-section {
  padding-bottom: 3rem;
}

.career {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem;
}

.glass-card {
  background: var(--glass-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 45px rgba(16, 16, 16, 0.08);
  backdrop-filter: blur(18px) saturate(120%);
  padding: 1.5rem;
}

/* ===== JOB LIST ===== */
.jobList {
  color: var(--accent);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.list-group {
  /* max-height: 70vh; */
  overflow-y: auto;
  padding: 0.5rem 0;
}

/* Custom scrollbar */
.list-group::-webkit-scrollbar {
  width: 8px;
}

.list-group::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.list-group::-webkit-scrollbar-thumb {
  /* background: var(--accent); */
  background: #86047d;
  border-radius: 10px;
}

.list-group::-webkit-scrollbar-thumb:hover {
  background: var(--accent-2);
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: var(--card-radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: transform 250ms cubic-bezier(0.2, 1, 0.3, 1), box-shadow 250ms,
    background 250ms;
  text-align: left;
  width: 100%;
}

.job-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px var(--shadow-primary);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(250, 240, 252, 0.98)
  );
}

.job-item.active {
  box-shadow: 0 10px 30px var(--shadow-primary);
  border: 1px solid var(--accent);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.99),
    rgba(255, 248, 252, 0.99)
  );
}

.job-item .title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.job-item .meta {
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.job-item .meta div:last-child {
  font-weight: 700;
  color: var(--accent);
}

/* ===== JOB DETAILS PANEL ===== */
.job-details-header {
  color: var(--accent-2);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  border-bottom: 2px solid rgba(134, 4, 125, 0.1);
  padding-bottom: 0.5rem;
}

#jobInfo h4 {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

#jobInfo p,
#jobInfo div {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

.label-strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-right: 0.5rem;
}

.meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.meta-item {
  background-color: rgba(134, 4, 125, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 200ms;
  min-width: 160px;
  color: var(--muted);
}

.meta-item:hover {
  background-color: rgba(134, 4, 125, 0.1);
}

/* ===== APPLY BUTTON ===== */
.apply-now-btn {
  background: linear-gradient(45deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  padding: 0.65rem 1.2rem;
  border-radius: var(--card-radius);
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 26px rgba(134, 4, 125, 0.12);
  transition: all 250ms ease-out;
  cursor: pointer;
}

.apply-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(134, 4, 125, 0.35);
  background: linear-gradient(45deg, var(--accent-2), var(--accent));
}

.apply-now-btn:active {
  transform: translateY(0);
}

/* ===== MODAL STYLES ===== */
.modal-content {
  background: var(--glass-bg);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 45px rgba(16, 16, 16, 0.15);
  backdrop-filter: blur(15px);
}

.modal-title {
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

.form-label {
  font-weight: 600;
  color: var(--muted);
}

.form-control {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(134, 4, 125, 0.15);
}

.btn-primary {
  background: var(--accent) !important;
  border: none !important;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #86047d;
}

.btn-outline-secondary {
  border-color: var(--muted);
  color: var(--muted);
}

.btn-outline-secondary:hover {
  background: var(--muted);
  color: white;
}

/* Thank You Message */
.thank-you-container {
  color: var(--accent);
  text-align: center;
  padding: 2rem;
}

.checkmark-circle {
  font-size: 4rem;
  color: #86047d;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .career-hero h2 {
    font-size: 1.5rem;
    padding: 0.7rem 1.2rem;
  }

  .job-item .meta {
    display: block;
  }

  .job-item .meta div:first-child {
    display: none;
  }

  .list-group {
    max-height: 40vh;
  }

  .glass-card {
    padding: 1rem;
    text-align: justify;
  }

  .meta-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .meta-item {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .career-hero {
    padding: 3rem 1rem 2rem;
  }

  .career-hero h2 {
    margin-top: 0;
    font-size: 1.8rem;
  }

  .job-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .job-item .meta {
    text-align: left;
    width: 100%;
  }

  #jobInfo h4 {
    font-size: 1.2rem;
  }

  .label-strong {
    font-size: 15px;
  }

  .apply-now-btn {
    width: 100%;
    padding: 0.8rem;
  }
}
/* .info{
  margin: 40px
} */

/* ===== POLICY SECTION STYLES ===== */
.policy-section {
  position: relative;
  overflow: hidden;
}

.policy-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(134, 4, 125, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
}

.policy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(134, 4, 125, 0.1);
  border-color: var(--accent);
}

.policy-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 15px rgba(134, 4, 125, 0.2);
  transition: all 0.4s ease;
}

.policy-card:hover .policy-icon {
  transform: rotateY(360deg);
  box-shadow: 0 12px 20px rgba(134, 4, 125, 0.3);
}

.policy-title {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.policy-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.policy-section .section-header h2::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
