/* career-style.css */

body.no-scroll,
html.no-scroll {
  overflow: hidden !important;
  position: relative !important;
  height:100% !important;  
  width:100%;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.career-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* stronger, smoother shadow */
  padding: 24px;
  transition: transform 0.2s ease;
}
.career-card:hover {
  transform: translateY(-6px);
}

.career-campus-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.career-campus {
  display: inline-block;
  background-color: #cf171f;
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 20px;
  margin: 0 auto 16px auto;
  text-align: center;
  font-weight:600;
  animation: zoomIn 0.6s ease-in-out;
}
@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

 .career-title {
    font-size: 22px;
    letter-spacing: 0.5px; 
    color: #302861;
    font-family: 'Urbanist';
    font-weight: 500;
}
 
 .career-division {
    color: #092582;
    letter-spacing: 0.5px;
    font-weight: 400;
    font-size: 18px;
}  
ul.career-info {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #54595f;
    font-family: 'Urbanist' !important;
} 

.career-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0; /* lighter border */
  padding: 8px 0;
}

i.dashicons.dashicons-yes {
  color: #fff !important;
  background-color: #302861;
  border-radius: 50px;
  font-size: 14px;
  padding: 4px;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
  a.open-career-popup {
    font-size: 16px;
    font-weight: 600;
    letter-spacing:1px;
}
             
.career-popup-table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  color: #333;
}

.career-popup-table tr {
  border-bottom: 1px solid #ddd;
}

.career-popup-table td {
  padding: 8px 12px;
  vertical-align: top;
}

.career-popup-table td:first-child {
  font-weight: 600;
  color: #2e1a61;
  width: 40%;
}

.career-popup-table td:last-child {
  font-weight: 500;
  color: #444;
  font-size:16px;
  font-family:'Urbanist';
  letter-spacing:1px;
}
/* Section Blocks */
.career-popup-section {
 margin-bottom:20px; 
 padding:16px; 
 background:#f6f7fc; 
 border-radius:12px;
}

/* Animate labels */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-label {
  background: #302861;
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
}


.animate-labels .section-label {
  animation: fadeSlideUp 0.5s ease forwards;
}

.animate-labels .career-popup-section:nth-child(1) .section-label { animation-delay: 0.3s; }
.animate-labels .career-popup-section:nth-child(2) .section-label { animation-delay: 0.6s; }
.animate-labels .career-popup-section:nth-child(3) .section-label { animation-delay: 0.9s; }
.animate-labels .career-popup-section:nth-child(4) .section-label { animation-delay: 1.2s; }
.animate-labels .career-popup-section:nth-child(5) .section-label { animation-delay: 1.5s; }



.section-content ul {
  list-style-type: none; /* Removes default bullets */
  padding-left: 20px; /* Adds space for custom bullets */
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Popup Outer */
#career-detail-popup > .popup-inner {
  background: #fff;
  height: 90vh; /* Ensure full scrollable height */
  width: 90%;
  max-width: 800px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow-y: auto;
  scroll-behavior: smooth;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
  -webkit-overflow-scrolling: touch; /* For iOS */
  overscroll-behavior: contain;
}

.popup-inner {
  max-height: 90vh;
  overflow-y: auto;
}

/* Header */
#career-detail-popup .popup-header {
  background: #2e1a61;
  color: white;
  padding: 16px 24px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-weight: 600;
  font-size: 16px;
}

/* Button */
#apply-now-btn button {
    background: #cf171f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 16px;
    font-size: 16px;
}
#apply-now-btn button:hover {
  background: #ef991f;
  color:#000;
}

.section-content ul li {
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
  color: #000;
}


/* Add space between the icon and text */
.career-popup-section .section-content ul li {
  display: flex;  /* Use flexbox to align the icon and text */
  align-items: center;  /* Vertically center the icon and text */
  gap: 30px;  /* Add space between the icon and the text */
}


/* Reset UL default styles */
.career-popup-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* List Item Style */
.career-popup-section li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #333;
  padding: 6px 0;
}
.icon-check::before {
    content: '\2713';
    color: white;
    background-color: #cf171f;
    border-radius: 50px;
    /* margin-right: 24px; */
    font-size: 14px;
    position: absolute;
    top: 14px;
    left: 5px;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}


