/* //////////////////////////hero content///////////////// */
body {
  background-color: #ffffff;
  overflow-x: hidden;
  font-family: Helvetica;
}

.container-fluid {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Image Section */
.img-fluid {
  width: 100%;
  border-radius: 20px;
}

.job-role {
  color: #5b5b5b;
  font-size: 20px;
  font-weight: 530;
  line-height: 55px;
}
span.headers {
  font-size: 35px;
  font-weight: 600;
  line-height: 56px;
  color: #0d1317;
}

.apply-btn {
  width: 100%;
  height: 100%;
  padding: 22px;
  background: #f58a07;
  border-radius: 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: inline-flex;
  color: #fdfdfd;
  font-size: 22.46px;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 29.25px;
  border-color: transparent;
}

.apply-btn:hover {
  background-color: #e88b00;
  color: #fdfdfd;
}

/* Layout Adjustments */
.row.text-center.mb-4.mt-5 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.col-12.col-md-4,
.col-12.col-md-3,
.col-12.col-md-2 {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.job-intr {
  line-height: 28px;
  color: #242b33;
  font-size: 16px;
  font-weight: 500;
}
.job-descrip {
  color: #242b33;
  font-size: 16px;
  font-weight: 500;
  line-height: 39px;
}
@media (max-width: 768px) {
  .row {
    flex-direction: column; /* Stack items vertically on mobile */
  }

  /* Move the apply button to the top in mobile view */
  .col-12.col-md-2 {
    order: -1; /* Place apply button first */
    display: flex;
    justify-content: center; /* Center the button */
    width: 100%; /* Full width on mobile */
    margin-bottom: 20px; /* Add space below the button */
  }

  /* Align job role and location sections for mobile */
  .col-12.col-md-4,
  .col-12.col-md-5 {
    align-items: left;
    text-align: left;
    width: 100%; /* Full width on mobile */
  }
  .apply-btn {
    background-color: #e88b00;
    color: #fdfdfd;
    width: 150px;
    font-size: 16.74px;
    padding: 15px;
  }
  .headers {
    font-size: 16px;
  }
}

/* ///////////////////application////////////////// */
/* Container and Background */
.application-container {
  background-color: #003459;
  color: #fdfdfd;
  padding: 2.5rem; /* 40px */
}

.application {
  max-width: 46rem; /* 736px */
  margin: 0 auto;
  padding: 3.125rem 0.9375rem; /* 50px 15px */
}

/* Form Title */
.form-title {
  font-size: 3rem; /* 48px */
  font-weight: 700;
  line-height: 1.2;
  text-align: start;
  margin-bottom: 2.5rem; /* 40px */
}
@media (max-width: 768px) {
  .form-title {
    font-size: 1.5rem;
  }
  .application-container {
    padding: 1rem;
  }
}
/* Section Title */
.section-title {
  color: #fdfdfd;
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  line-height: 3.75rem; /* 60px */
}

/* Form Labels */
.form-label {
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  color: #ccd1d2;
}
.form-control::placeholder {
  color: #ccd1d2;
  opacity: 1; /* Ensures full opacity for the placeholder color */
}

/* Input and Select Styles */
.form-control,
select {
  padding: 0.625rem 0.625rem; /* 10px 10px */
  height: auto; /* Reset height to auto if you want it to depend on padding */
  font-size: 0.875rem; /* 14px */
  border-radius: 0.75rem; /* 12px */
  border: 0.125rem solid #e6e8ec; /* 2px */
  color: #ccd1d2;
  background-color: transparent;
  width: 100%;
  margin-bottom: 0.5rem; /* 8px */
}

/* Experience Section Help Text */
.file-upload-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px */
  cursor: pointer;
  padding: 0.625rem; /* 10px */
  border-radius: 0.75rem; /* 12px */
  border: 0.125rem solid #e6e8ec; /* 2px */
  border-radius: 0.3125rem; /* 5px, Rounded corners */
  transition: background-color 0.3s; /* Smooth transition */
}

.file-upload-container .upload-icon {
  font-size: 1.25rem; /* 20px */
  color: #ffffff; /* Change icon color on hover */
  transition: color 0.3s; /* Smooth color transition */
}

.file-upload-container input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Hide the default file input */
  cursor: pointer;
  z-index: 1;
}

.file-upload-container .upload-text {
  font-size: 0.875rem; /* 14px */
  color: #ccd1d2; /* Text color */
  margin-left: 0.625rem; /* 10px */
  z-index: 0; /* Keep the text below the invisible input */
  transition: color 0.3s; /* Smooth color transition */
}

small {
  color: #ccd1d2; /* Muted text color */
}
.upload-icon {
  font-size: 1.5rem; /* 24px */
  color: #ccd1d2;
}

.upload-text {
  color: #ccd1d2;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
}

/* Location Section */
.location-container {
  margin-top: 1.875rem; /* 30px */
}

/* Submit Button */
.submit-btn {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem; /* 40px */
}

.btn-submit {
  background-color: #f58a07;
  color: #fcfcfd;
  padding: 0.625rem 1.875rem; /* 10px 30px */
  font-size: 1rem; /* 16px */
  font-weight: 700;
  border-radius: 5.625rem; /* 90px */
  border: none;
  cursor: pointer;
}

/* Style for the dropdown container */
/* Hide checkbox */
.dropdown-checkbox {
  display: none;
}

/* Dropdown container */
.custom-dropdown {
  position: relative;
}

/* Dropdown "button" */
.dropdown-button {
  display: flex;
  justify-content: space-between; /* Align text to the left and arrow to the right */
  align-items: center;
  background-color: #0f3554; /* Dark blue background */
  color: #ccd1d2; /* Light color for text */
  border: 0.125rem solid #ccd1d2; /* Border color */
  border-radius: 0.75rem;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Dropdown arrow */
.dropdown-arrow {
  border: solid #ccd1d2;
  border-width: 0 0.125rem 0.125rem 0;
  padding: 0.25rem;
  transform: rotate(45deg); /* Down arrow */
  transition: transform 0.3s ease;
}

/* Rotate arrow up when checkbox is checked */
.dropdown-checkbox:checked + .dropdown-button .dropdown-arrow {
  transform: rotate(-135deg); /* Arrow pointing up */
}

/* Options container */
.dropdown-options {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #0f3554;
  border: 0.125rem solid #ccd1d2;
  border-radius: 0.75rem;
  margin-top: 0.3125rem;
  width: 100%;
  z-index: 1;
}

/* Show dropdown options when checkbox is checked */
.dropdown-checkbox:checked ~ .dropdown-options {
  display: block;
}

/* Individual option styling */
.dropdown-option {
  padding: 0.625rem 1.25rem;
  color: #ccd1d2;
  cursor: pointer;
}

.dropdown-option:hover {
  background-color: #134a6f;
}

/* Separator between options */
.dropdown-separator {
  height: 0.0625rem;
  background-color: #ccd1d2;
  margin: 0;
}
/* ////////////popup///////// */

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
}

.popup-overlay:target {
  display: flex;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  color: #333;
  text-decoration: none;
}

.btn-ok {
  display: inline-block;
  margin-top: 1rem;
  background-color: #003459;
  color: white;
  padding: 10px 30px;
  font-size: 1.25rem;
  border-radius: 30px;
  text-decoration: none;
}

/* Text Styles */
.text-title {
  color: #242b33;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.text-description {
  color: #242b33;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.75;
}
