/* Job Detail Wrapper */
.job-detail-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 40px auto;
  padding: 15px;
  font-family: "Segoe UI", sans-serif;
  color: #333;
  line-height: 1.6;
}
@media (min-width: 1200px){
    .job-detail-wrapper{
        padding: 0;
    }
}
/* Hero Section */
.job-hero {
  background: linear-gradient(135deg, #2a7d7d, #2a7d7d);
  color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  margin-bottom: 40px;
}
.job-hero .job-title {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: bold;
}
.job-hero .job-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.job-hero .job-meta li {
  font-size: 16px;
  background: rgba(255,255,255,0.15);
  padding: 8px 15px;
  border-radius: 6px;
}

/* Job Content */
.job-content {
  background: #fff;
  /*padding: 30px;*/
  border-radius: 12px;
  /*box-shadow: 0 4px 12px rgba(0,0,0,0.08);*/
  margin-bottom: 40px;
}
.job-content h2 {
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase !important;
    letter-spacing: -1px;
    color: #242424;
    font-size: 32px;
    font-size: 72px;
    font-family: "DM Sans", sans-serif !important;
    position: relative;
    line-height: 1;
}

.job-content h2:before{
    position: absolute;
    content: "";
    bottom: -2px;
    left: 0px;
    width: 145px;
    height: 4px;
    background: #DF6F69;
}
.job-description p {
  margin-bottom: 15px;
}
.job-description ul {
  list-style: disc;
  padding-left: 20px;
  margin: 15px 0;
}
main.job-detail-wrapper h3 {
    font-weight: bold;
}
/* Job Details Grid */
.job-details {
  margin-bottom: 40px;
}
.job-details h2 {
  margin-bottom: 25px;
  font-size: 24px;
  color: #004aad;
}

.job-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.job-detail-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  /*box-shadow: 0 3px 10px rgba(0,0,0,0.05);*/
  transition: transform 0.2s ease;
}
.job-detail-card:hover {
  transform: translateY(-4px);
}
.job-detail-card h4 {
  margin-bottom: 10px;
  color: #222;
  font-size: 18px;
}
.job-detail-card p {
  font-size: 15px;
  color: #666;
}

/* Apply Button */
.job-apply {
  text-align: center;
  margin-bottom: 50px;
}
.apply-btn {
      padding: 12px 24px;
    background: #2a7d7d;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    display: inline-block;
    font-weight: 600;
    text-transform: capitalize !important;
    letter-spacing: 0;
}

/* Application Form */
.job-apply-form {
  background: #fff;
  /*padding: 35px;*/
  border-radius: 12px;
  /*box-shadow: 0 4px 12px rgba(0,0,0,0.08);*/
}
h3#apply-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0px;
}
.job-apply-form h2 {
  margin-bottom: 25px;
  font-size: 24px;
  color: #004aad;
  text-align: center;
}
.job-modal-overlay{
	position:fixed; inset:0;
	background:rgba(0,0,0,.6);
	opacity:0; visibility:hidden; transition:opacity .3s ease;
	z-index:9998;
}
.job-modal-overlay.is-open{ opacity:1; visibility:visible; }

.job-modal{
	position:fixed; left:50%; top:50%;
	transform:translate(-50%, calc(-50% + 24px));
	opacity:0; visibility:hidden; pointer-events:none;
	transition:transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
	z-index:9999; background:#fff; width:min(92vw,720px);
	max-height:85vh; overflow:auto; border-radius:12px;
	box-shadow:0 24px 60px rgba(0,0,0,.25);
	padding:24px;
}
.job-modal.is-open{ opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%, -50%); }

.job-modal__close{
	position:absolute; right:10px; top:8px;
	border:0; background:transparent; font-size:28px; line-height:1; cursor:pointer; color:#666;
}
.job-modal__close:hover{ color:#111; }

/* Popup (job-modal) scrollbar */
.job-modal{
  /* Firefox */
  scrollbar-width: thin;              /* auto | thin | none */
  scrollbar-color: #f2f2f2 #ffffff;   /* thumb | track */
}

/* WebKit (Chrome, Edge, Safari) */
.job-modal::-webkit-scrollbar{
  width: 8px;
}
.job-modal::-webkit-scrollbar-track{
  background: #ffffff;                /* track white so it blends in */
}
.job-modal::-webkit-scrollbar-thumb{
  background-color: #f2f2f2;          /* thumb color */
  border-radius: 8px;
  border: 2px solid #ffffff;          /* creates white gap around thumb */
}
.job-modal::-webkit-scrollbar-thumb:hover{
  background-color: #f2f2f2;
}

/* Body lock */
body.modal-open{ overflow:hidden; }

.job-apply-form label{
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 21px !important;
    font-family: DM Sans;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 100% !important;
    letter-spacing: 0 !important;
    text-transform: inherit !important;
    padding: 0;
}
.job-apply-form .wpcf7-form-control-wrap{
    margin-top: 12px;
}
.job-apply-form textarea.wpcf7-textarea{
    height: 75px !important;
}
.job-apply-form input[type="text"], 
.job-apply-form input[type="email"], 
.job-apply-form select, 
.job-apply-form input[type="tel"],
.job-apply-form textarea {
    width: 100%;
    padding: 16px 24px !important;
    border: 1px solid #2A7D7D33 !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    background-color: #fff !important;
    transition: border-color 0.3s ease;
    color: #777 !important;
}

@media (max-width:480px){
	.job-modal{ width:92vw; padding:18px; border-radius:10px; }
}
.upl {
  display: block;
  font: 500 14px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111;
  margin: 14px 0 18px;
  letter-spacing: .2px;
}

.upl > .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.upl .wpcf7-form-control.wpcf7-file {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #111;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.upl .wpcf7-form-control.wpcf7-file:hover {
  border-color: #d1d5db;
}

.upl .wpcf7-form-control.wpcf7-file:focus,
.upl .wpcf7-form-control.wpcf7-file:focus-visible {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14,165,233,.15);
}

.upl .wpcf7-form-control.wpcf7-file[aria-invalid="true"] {
  border-color: #e11d48;
  box-shadow: 0 0 0 4px rgba(225,29,72,.12);
}

.upl .wpcf7-form-control.wpcf7-file::file-selector-button {
  margin-right: 12px;
  padding: 10px 14px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .08s ease, opacity .2s ease, background .2s ease, color .2s ease;
}

.upl .wpcf7-form-control.wpcf7-file:hover::file-selector-button {
  opacity: .92;
}

.upl .wpcf7-form-control.wpcf7-file:active::file-selector-button {
  transform: translateY(1px);
}

.upl .wpcf7-form-control.wpcf7-file::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 10px 14px;
  border: 1px solid #2a7d7d;
  border-radius: 10px;
  background: #2a7d7d;
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .08s ease, opacity .2s ease, background .2s ease, color .2s ease;
}

.upl .wpcf7-form-control.wpcf7-file:hover::-webkit-file-upload-button {
  opacity: .92;
}

.upl .wpcf7-form-control.wpcf7-file:active::-webkit-file-upload-button {
  transform: translateY(1px);
}

@media (max-width: 480px) {
  .upl .wpcf7-form-control.wpcf7-file {
    padding: 10px 12px;
    border-radius: 10px;
  }
  .upl .wpcf7-form-control.wpcf7-file::file-selector-button,
  .upl .wpcf7-form-control.wpcf7-file::-webkit-file-upload-button {
    padding: 9px 12px;
    border-radius: 9px;
  }
}

.job-apply-form input[type="submit"] {
    padding: 12px 24px;
    background: #2a7d7d;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
    display: inline-block;
    font-weight: 600;
    text-transform: capitalize !important;
    letter-spacing: 0;
    width: 100%;
    /*margin-bottom: 20px;*/
}
.job-apply-form input[type="submit"]:hover{
    background: #2a7d7d !important;
}
