.adv-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 420px;
    /* ensures equal height even with short text */
    width: 100%; 
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    margin: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease-in-out; /* smooth animation */
}
.adv-card:hover {
    transform: translateY(-8px);               /* lift up */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18); /* stronger shadow */
}

.adv-card-content {
    flex-grow: 1;
    /* fills available space */
    display: flex;
    flex-direction: column;
}

.adv-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.badge-custom {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    /* rounded pills */
}

/* ✅ Custom Colors */
.badge-green {
  background: #e6f8ea !important;
  color: #1a9b3d !important;
}
.badge-blue {
  background: #eceeff !important;
  color: #011044 !important;
}

/* 🔹 Buttons */
.btn-outline-adv {
    border: 2px solid #011044 !important;
    color: #011044;
    border-radius: 20px !important;
    padding: 6px 18px;
}

.btn-outline-adv:hover {
    border: 2px solid #011044 !important;
    color: #011044;
    border-radius: 20px;
    padding: 6px 18px;
}


.btn-adv-primary {
    background: linear-gradient(135deg, #4251C8, #131A4F);
    color: #fff;
    border: none;
    border-radius: 20px !important;
    padding: 6px 18px;
    transition: all 0.3s ease;
}

.btn-adv-primary:hover {
    background: linear-gradient(135deg, #131A4F, #4251C8);
    color: #fff;
    transform: translateY(0px);

}

.adv-card .d-flex.justify-content-between {
    margin-top: auto;
}


/* info */

/* Floating Card */
.floating-card {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
  max-height: 85vh;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 1050;
  overflow-y: auto;
  overflow-x: hidden;
  animation: fadeIn 0.3s ease;
}

/* Prevent background scrolling when overlay is active */
body.no-scroll {
  overflow: hidden;
}

/* Content Styling */
.floating-content {
  position: relative;
  padding: 20px;
  overflow: visible;     /* ✅ Prevent inner scroll */
}

.floating-bg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 400px;
  height: 400px;
  opacity: 0.3;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-bg img {
  max-width: 100%;
  max-height: 100%;
}


.floating-content h3, .floating-content h5, .floating-content p, .floating-content ul {
  position: relative;
  z-index: 1;
}

.apply-fixed {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 10px 0;
  text-align: right;
  z-index: 5;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  z-index: 10;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}


/* Dark overlay background */
.overlay-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}


/* Custom scrollbar for floating-card */
.floating-card::-webkit-scrollbar {
  width: 14px; /* Increased width */
}

.floating-card::-webkit-scrollbar-track {
  background: transparent; /* ✅ Transparent background */
}

.floating-card::-webkit-scrollbar-thumb {
  background: #011044; /* Thumb color */
  border-radius: 10px;
  border: 3px solid transparent; /* ✅ Keeps thumb rounded without background */
}

.floating-card::-webkit-scrollbar-thumb:hover {
  background: #022a88; /* Hover color */
}

/* Firefox support */
.floating-card {
  scrollbar-width: auto;
  scrollbar-color: #011044 transparent; /* ✅ Transparent track */
}


.job-meta p {
  margin: 0 0 5px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-meta p:last-child {
  margin-bottom: 15px;
}


.section-title{
    font-size: 20px;
    font-weight: 700;

}

.section-text{
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}

.list-item{
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}




.modal-content {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.modal-title {
  color: #011044;
  font-weight: 700;
}
