/* common blue */
/* commonbanner */
section{
  background-color: #000000;
}
#common-blue-banner .our-story-section {
  background-color: #23559b;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

#common-blue-banner .title {
  color: white;
  font-size: 32px;
  font-weight: 600;
  flex: 1;
  text-align: left;
  letter-spacing: -0.02em;
}
#common-blue-banner .logo-container .logo-icon img {
  background-color: #d0bb68;
  border-radius: 15px;
  padding: 10px;
}
/* Responsive design */
@media (max-width: 768px) {
  #common-blue-banner .our-story-section {
    padding: 20px 24px;
    gap: 16px;
  }
  #common-blue-banner .title {
    font-size: 28px;
  }
  /* details */
   #career-details-inner .job-card {
    padding: 20px;
  }

  #career-details-inner h2 {
    font-size: 20px;
  }

  #career-details-inner .job-meta {
    flex-direction: column;
    gap: 10px;
  }

  #career-details-inner .apply-btn {
    width: 100%;
    text-align: center;
  }
  #career-details-inner .job-meta > div{
    flex: auto !important;
  }
  #career-details-inner .apply-btn {
    text-align: center;
    width: 32%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 .form-row {
    flex-wrap: wrap;
  }
  #career-modal .modal-content{
    width: 100% !important;
        height: 550px;
    overflow-y: auto;
  }
  /* details */
}

@media (max-width: 480px) {
  #common-blue-banner .our-story-section {
    padding: 16px 20px;
    gap: 12px;
  }
  #common-blue-banner .title {
    font-size: 24px;
  }
  /* .details */
  #career-details-inner {
    padding: 10px;
  }

  #career-details-inner .job-card {
    padding: 16px;
  }

  #career-details-inner h3 {
    font-size: 16px;
  }

  #career-details-inner p,
  #career-details-inner ul {
    font-size: 14px;
  }

  #career-details-inner .apply-btn {
    font-size: 14px;
    padding: 10px;
  }
   .form-row {
    flex-direction: row;
  }

  .form-header {
    flex-direction: column;
    align-items: flex-start;
  }
.form-row div {
    width: 100%;
}
  #career-modal .modal-content {
    padding: 20px;
  }
  /* details */
}
/* commonbanner */
/* breadcrumb */
#career .bread-top{
  padding: 50px 0px;
}
#career .breadcrumb {
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

#career .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}
#career .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#career .breadcrumb a:hover {
  text-decoration: underline;
}

#career .breadcrumb span {
  margin: 0 5px;
}
/* content design */
#career .tab-heading {
  padding: 50px 0;
}
#career .active[data-tab-content] {
  display: block;
  color: #000000;
}
#career .tab.active {
  font-size: 18px;
  color: #0000;
  list-style: none;
  font-weight: 600;
  padding: 25px 25px 12px 25px;
  border-color: #D0BB68;
  margin-right: 40px;
  background: #D0BB68;
}

#career [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#career .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}
#career .common-tab {
  list-style: none;
  padding: 0;
  margin: 0;
}
#career .common-tab li {
  margin-right: 40px;
  border-bottom: 2px solid #cfcfcf;
  padding: 25px 25px 12px 25px;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}
/* tab */
.tab-career{
display: grid;
  grid-template-columns: 1fr 3fr;
  gap:30px
}
.job-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 24px;
  max-width: 100%;
  margin:25px 0 auto;
}

.job-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.job-text {
  flex: 1;
  /* min-width: 250px; */
}

.job-text h3 {
     margin: 0;
    color: #23559B;
    font-size: 20px;
    font-weight: 600;
}

.job-text p {
  color: #383939;
  margin: 12px 0;
  font-size: 18px;
  font-weight: 400;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-date {
  color: #134a9f;
  font-weight: bold;
  display: inline-block;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.view-link {
  color: #23559B;
  text-decoration: underline;
  font-weight: 600;
  font-size: 16px;
  text-underline-offset: 4px; 
}

.apply-btn {
  background-color: #D0BB68;
  border: 1px solid #23559B;
  border-radius: 24px;
  padding: 10px 20px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #c4a94f;
}
 @media (max-width: 768px) {
      .job-content {
        flex-direction: column;
        align-items: flex-start;
      }

      .job-actions {
        margin-top: 16px;
        justify-content: space-between;
        flex-wrap: wrap;
      }

      .view-link,
      .apply-btn {
        font-size: 1rem;
      }
      .tab-career {
    grid-template-columns: 1fr;
}
#career .common-tab .tabs{
  display: flex;
  gap: 20px; /* optional: space between items */
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth; /* optional: smooth scroll */
}
 /* tab mobile */
  #career .common-tab {
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents items from wrapping */
            cursor: pointer;
  }
  /* Hide scrollbar (optional) */
  #career .common-tab .tabs::-webkit-scrollbar {
    display: none;
  }
  #career .tab.active {
    border-bottom: 2px solid #000;
    color: #000;
    margin-right: 0px;
    padding: 10px 40px 10px 40px;
  }
  #career .common-tab li {
    color: #858687;
    border-bottom: 2px solid #CFCFCF;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 0px;
  }
#career .bread-top {
    padding: 50px 12px;
}
  /* tab ends */
    }
/* pagination css */
.pagination-controls {
    margin-top: 20px;
    justify-content: right;
    align-items: center;
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
  }
.pagination-controls svg{
      color: #23559B;
}
  .pagination-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  #prevBtn,
  #nextBtn,
  #prevBtn_ac,
  #hospital_prevBtn,
  #hospital_nextBtn,
   #medical_prevBtn,
 #medical_nextBtn,
   #nursing_prevBtn,
 #medical_nextBtn,
  #nextBtn_ac,
  #prevBtn_ad,
  #nextBtn_ad{
   border: 1px solid #d2d2d7;
    background: transparent;
    width: 36px;
    height: 36px;
    color: #23559B;
    border-radius: 5px;
  }
  .a-backcareer{
    margin-top: 20px;
    font-size: 32px;
    line-height: 35px;
    color: #2a2e6d;
    text-decoration: none;
  }
  .mt-10{
    margin-top: 50px;
  }
  #hospital_pageInfo,
    #medical_pageInfo,
      #nursing_pageInfo,
  #pageInfo{
    padding: 10px;
    background-color: #23559B;
    color: #fff;
    border-radius: 5px;
  }
/*  */
/* career  new*/
/* details */
/* breadcrumb */
#career-details .bread-top{
  padding: 50px 0px;
}
#career-details .breadcrumb {
  font-size: 16px;
  color: #666;
  margin-top: 50px;
  margin-bottom: 50px;
}

#career-details .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}
#career-details .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#career-details .breadcrumb a:hover {
  text-decoration: underline;
}

#career-details .breadcrumb span {
  margin: 0 5px;
}
#career-details-inner .job-card {
  background: white;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  margin: auto;
}

#career-details-inner h2 {
  color: #23559B;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
}

#career-details-inner .date-posted {
     color: #23559B;
    font-size: 14px;
    margin-top: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

#career-details-inner .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 600;
}
#career-details-inner .job-meta > div > strong {
     color: #23559B;
     font-size: 16px;
}
#career-details-inner .job-meta > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  flex: 1 1 200px;
  font-weight: 600;
}

#career-details-inner .job-meta .icon {
  margin-right: 4px;
}

#career-details-inner h3 {
  color: #383939;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
}

#career-details-inner p,
#career-details-inner ul {
  color: #383939;
  font-size: 18px;
  line-height: 1.6;
}

#career-details-inner ul {
  padding-left: 20px;
}

#career-details-inner ul li {
  margin-bottom: 4px;
  list-style-type: disc;
}

#career-details-inner .apply-btn {
    margin-top: 24px;
    padding: 15px 50px;
    background-color: #D0BB68;
    border: none;
    border-radius: 24px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    color: #000000;
    border:1px solid #23559B;
    margin-bottom: 50px;
    transition: background-color 0.3s;
}

#career-details-inner .apply-btn:hover {
  background-color: #fbbf24;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 768px) {
 
}

@media (max-width: 480px) {
  #career-details-inner {
    padding: 10px;
  }

  #career-details-inner .job-card {
    padding: 16px;
  }

  #career-details-inner h3 {
    font-size: 16px;
  }

  #career-details-inner p,
  #career-details-inner ul {
    font-size: 14px;
  }

  #career-details-inner .apply-btn {
    font-size: 14px;
    padding: 10px;
  }
}
/* details */
/* modal */
/* Modal overlay */
#career-modal {
  display: none; /* This hides the modal by default */
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}
/* Modal Content */
#career-modal .modal-content {
  background: #fff;
  width: 800px;
  margin: auto;
  padding: 0px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

/* Close Button */
#career-modal .close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  cursor: pointer;
}

/* Header */
.form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  padding: 12px 16px;
  border-radius: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 16px;
  margin-bottom: 24px;
}
.form-header .role {
  font-weight: bold;
  color: #23559B;
}

/* Form Layout */
#career-modal {
  /* display: flex; */
  flex-direction: column;
  gap: 20px;

  /* Flexbox centering */
  justify-content: center;
  align-items: center;
  padding: 20px; /* for small screen spacing */
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.form-row.full-width {
  flex-direction: column;
}

.form-row.center {
  justify-content: center;
}

.form-row div {
  flex: 1;
  /* min-width: 200px; */
}

#career-modal label {
  display: block;
  font-weight: 500;
  font-size: 14px;
}

#career-modal input[type="text"],
#career-modal input[type="email"],
#career-modal input[type="tel"],
#career-modal input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 2px solid #23559B;
  border-radius: 8px;
  font-size: 14px;
}

#career-modal small {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
  display: block;
}

#career-modal button[type="submit"] {
  background-color: #D0BB68;
  color: #000;
  border: 1px solid #23559B;
  border-radius: 24px;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#career-modal button:hover {
  background-color: #c1a954;
}
#career-form {
  padding: 30px;
}

#career-modal  .custom-file-upload {
  position: relative;
  display: inline-block;
  margin-top: 10px;
      margin-bottom: 20px;
}

#career-modal  .custom-file-upload input[type="file"] {
  display: none;
}

#career-modal  .custom-file-upload label {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #1d1d1d;
  border: 2px solid #23559B;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  min-width: 140px;
}

#career-modal  .custom-file-upload .upload-icon {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

#career-modal  .upload-wrapper small {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  padding-left: 4px;
}

/* modal */
.noscroll {
  overflow: hidden;
}
