body,
html {
  margin: 0;
  padding: 0;
  color: antiquewhite;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", sans-serif;
}

.top-section {

  padding-top: 80px;
  padding-bottom: 100px;
  max-width: 1066px;
  margin: auto;

}

.top-section h1 {
  font-size: 4rem;
  margin: 0;
  line-height: 97.3%;
  max-width: 525px;

}

.top-content-position {
  z-index: 5;
  position: relative;
}

.top-section p {
  font-size: 1.2rem;
  margin: 1rem 0;
  line-height: 169.3%;

}

.sub-title {
  max-width: 425px;
}

.top-section-wrapper {
  overflow: hidden;
  background-color: #001D37;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;

}

.intro-button {
  margin-bottom: 4rem;
}

@media screen and (min-width: 600px) {
  .top-section h1 {
    font-size: 6.25rem;
  }

  .top-section {
    padding-bottom: 139px;
    padding-top: 139px;
  }

  .intro-button {
    margin-bottom: 9.5rem;
  }
}

.btn-1 {
  display: inline-block;
  font-weight: 600;
  font-style: normal;
  background-color: blue;
  border: 1.9px solid blue;
  color: #fff;
  padding: 13px 25px;
  border-radius: 1000px;
  font-size: 1.25rem;
  transition: background-color 0.02s ease-out, border 0.02s ease-out;

}

.btn-1:hover {
  background-color: rgb(40, 40, 125);
  border: 1.9px solid rgb(40, 40, 125);
}

.btn-1--outline {
  margin-top: 16px;
  background-color: transparent;
  color: #fff;
  border: 2px solid antiquewhite;
}

@media screen and (min-width: 500px) {
  .btn-1--outline {
    margin-top: 0px;
  }

}

.utitlity-right {
  margin-right: 10px;
}

.utitlity-left {
  margin-left: 10px;
}

.utitlity-padding {
  padding-top: 10px;
}

.intro-feature {
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.intro-feature p {
  margin: 0;
  font-size: 0.65rem;
  padding: 10px;
}

.intro-feature h2 {
  font-size: 1.5 rem;
  margin: 30px 0 3px 0;
}

.intro-blk-section {
  display: grid;
  row-gap: 16px;
}



.circle-feature {
  width: 617px;
  height: 617px;
  background-color: #D660FF;
  opacity: 0.85;
  border-radius: 50%;
  filter: blur(150px);
  position: absolute;
  top: 62px;
  right: -390px;

}

.circle-feature-blue {
  width: 617px;
  height: 617px;
  background-color: darkblue;
  opacity: 0.85;
  border-radius: 50%;
  filter: blur(150px);
  position: absolute;
  top: -365px;
  left: -120px;

}

.page-section {
  background-color: antiquewhite;
  padding: 50px 16px;
  color: #000000;
}

.page-section-inner-tab {
  max-width: 1066px;
  max-width: 0 auto;
}

.page-section-title {
  font-size: 4rem;
  margin: 0;
  line-height: 1;
}

.client-filter {
  color: #9F9F9F;
  font-size: 0.90rem;
}

.client-filter button {
  background-color: transparent;
  border: none;
  font-size: .90rem;
  font-family: "Source Sans 3", sans-serif;
  cursor: pointer;
}

/* over rides the hover style*/
.client-filter .active,
.client-filter .active:hover {
  color: #475AFF;
  text-decoration: underline;
}

.client-filter :hover {
  color: #656363;

}

.site-footer p {
  color: #a6a6a6;
  background-color: antiquewhite;
  text-align: center;
  font-size: .87rem;
  margin: 0;
  padding: 0 0 0 65px;
}

.site-footer .logout-footer {
  padding: 0;
}

.list-of-clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
  column-gap: 34px;
  row-gap: 16px;
}

.client-detail {
  overflow: hidden;
  display: grid;
  grid-template-columns: 165px 1fr;
  border-radius: 20px;
  border: 1px solid #9F9F9F;
  box-shadow: 2px 5px 0px rgba(0, 0, 0, 0.08);
}

.client-detail h3 {
  font-size: 1.6rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.client-description {
  font-size: small;
  margin: 0;
  color: #626262;
  line-height: 150%;
}

.client-text {
  padding: 10px 15px;
}

.hire-rate p {
  columns: #626262;
  font-weight: 800;
}

.client-image {
  order: 1;
  grid-row: 1;
}

.client-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media screen and (min-width: 580px) {
  .intro-blk-section {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }

  .page-section {
    padding: 100px 16px;
  }

  .page-section-title {
    font-size: 5.31rem;
  }

  .client-filter {
    font-size: 1.37rem;
  }

  .client-filter button {
    background-color: transparent;
    border: none;
    font-size: 1.37rem;
    font-family: "Source Sans 3", sans-serif;
  }

  .list-of-clients {
    row-gap: 2px;
  }

  .client-text {
    padding: 29px 30px;
  }
}

@media screen and (min-width: 900px) {
  .intro-blk-section {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 16px;
  }
}

/*Admin page*/
.form__field,
.form-field {
  display: block;
  width: 90%;
  padding: 10px 12px;
  box-sizing: border-box;
  font-size: 1rem;
  margin: 0 0 16px;
  border: 1px solid rgba(0, 0, 0, 0, 0.08);
  font-family: inherit;
}

textarea .form-field {
  height: 250px;
}

.form-label {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field input[type="number"],
.form__field input[type="password"],
.form__field textarea,
.form_field input[type="text"],
.form_field input[type="email"],
.form_field input[type="tel"],
.form_field input[type="number"],
.form_field input[type="password"],
.form_field select,
.form_field textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form__field select {
  width: 50%;
  padding: 0.85rem;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Radio & Checkbox inline options */
.form-field .radio-group,
.form__field .form__radio-group,
.form-field .checkbox-group,
.form__field .form__checkbox-group {
  display: flex;
  gap: 0.5rem;
  /* flex-wrap: wrap; */
  flex-direction: column;
}

.form-field input[type="radio"],
.form__field input[type="radio"],
.form-field input[type="checkbox"],
.form__field input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-field .radio-label,
.form__field .form__radio-label,
.form-field .checkbox-label,
.form__field .form__checkbox-label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}

.checkbox-label-gen {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.checkbox-label-gen input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #0077cc;
  cursor: pointer;
  /*margin: 0, 1rem, 1rem; */
  margin-bottom: 1rem;
  vertical-align: middle;
  /* extra alignment fix */
  transform: translateY(5px);
  /* slight manual tweak */
}

.form-field button:hover,
.form-field input[type="submit"]:hover {
  background-color: #e5e5e5;
}

.form-row,
.form__row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.form-col,
.form__col {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.form-col input,
.form__col input {

  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  box-sizing: border-box;
}

.form-file-group,
.form__file--group {
  margin-top: 1.5rem;
}

.form-file-group input[type="file"],
.form__file--group input[type="file"] {
  padding: 0.75rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 2px dashed #ccc;
  font-size: 1rem;
  cursor: pointer;
  color: #333;
}

.form-section-title,
.form__section--title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 2rem 0 1rem;
  border-top: 1px solid #ffffff66;
  border-bottom: 1px solid #ffffff66;
  padding: 0.5rem 0;
}

.big-mg-bottom h2 {
  margin-bottom: 25px;
  color: #000000;
}

.small-link {
  display: inline-block;
  font-size: 0.8rem;
  color: #999;
  position: relative;
  z-index: 3;
}

.logout-text button {
  vertical-align: middle;
  font-family: inherit;
  background-color: transparent;
  border: none;
  text-decoration: underline;
  color: #a6a6a6;
  font-size: 0.8rem;
  padding: 13px 18px;
  margin: 0 0 30px 0;
  display: inline-block;
  cursor: pointer;
}

.logout-text svg {
  position: relative;
  top: 4px;
  margin-right: 12px;
}

.logout-btn:hover {
  color: #434040;
}

.action-items {
  font-family: inherit;
}

.action-btn {

  font-family: inherit;
  text-decoration: none;
  background-color: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 10px 10px 0 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: blue;
}

.action-btn:last-child {
  margin-right: 0;
}

.action-btn:hover {
  color: rgb(7, 7, 83);
  text-decoration: underline;
}

.add-vacancy-btn {
  vertical-align: middle;
  font-family: inherit;
  color: white;
  text-decoration: none;
  background-color: rgb(42, 109, 42);
  font-size: 1.2rem;
  border-radius: 20px;
  padding: 13px 18px;
  margin: 0 0 30px 0;
  display: inline-block;

}

.save-vacancy-btn {
  width: 10%
}

.add-vacancy-btn:hover {
  background-color: #0a5825;
}

.add-vacancy-btn svg {
  position: relative;
  top: 4px;
  margin-right: 12px;
}

.loading-effect .client-description .hire-rate .client-image h3 {
  opacity: 0;
}

.loading-effect .client-detail {
  background-color: #9F9F9F;
}

@keyframes loadingFlash {
  0% {
    opacity: .1;
  }

  100% {
    opacity: .4;
  }
}

.loading-effect {
  animation: 0.6s loadingFlash ease-in-out alternate infinite;
}

.form-animation .fork-field {
  background-color: #b9b9b9;
  color: #b9b9b9;
  border: 1px solid #b9b9b9;

}

.form-animation .form-field:placeholder {
  color: #b9b9b9;
}

.form-animation {
  animation: 0.6s loadingFlash ease-in-out alternate infinite;
}

.overlay {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  /* fixed: align-content → align-items */
  overflow: auto;
  /* allows scrolling when content overflows */
  padding: 1rem;
  /* optional: prevents content flush against edges */
  visibility: hidden;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.33s ease-out;
}

.overlay--registration {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.33s ease-out;
}

.form__overlay--is-visibility,
.form-overlay--is-visibility,
.form-overlay--is-visibility-2 {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition: all 0.33s ease-out;
}


.overlay__inner,
.form-overlay-inner {
  position: relative;
  background-color: #0d4e96;
  color: #ffffff;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  /* limit height to viewport */
  overflow-y: auto;
  /* enable scroll only inside the inner box */
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.7);
  margin: auto;
  border-radius: 8px;
  padding: 2rem;
  /* add padding if needed */

}

.overlay--vacancy__close-btn {
  position: absolute;
  top: 0px;
  right: 20px;
  color: rgba(0, 0, 0, 0.41);
  font-size: 2.25rem;
  transform: scaleX(1.2);
  /* strech horizontally only*/
  cursor: pointer;
  opacity: 0.7;
}

.overlay--vacancy__close-btn:hover {
  opacity: 1;
}


.overlay--vacancy__thank-you,
.thank-you-2 {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /* Add this */
  z-index: 200;
  background-color: #fff;
  width: 100%;
  color: black;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  transition: all .3s ease-out;
}

.overlay--vacancy__thank-you p,
.thank-you-2 p {
  align-self: center;
  font-size: 1.2rem;
}

.overlay--vacancy__thank-you svg,
.thank-you-2,
svg {
  color: rgb(31, 179, 31);
  position: relative;
  top: 4px;
  margin-right: 4px;
}

.thank-you--visible,
.thank-you--visible-2 {
  opacity: 1;
  visibility: visible;
}

.form-overlay-close-btn {
  position: absolute;
  top: 0;
  right: 20px;
  color: rgba(0, 0, 0, 0.41);
  font-size: 2.25rem;
  transform: scaleX(1.2);
  /* strech horizontally only*/
  cursor: pointer;
  opacity: 0.7;
}

.form-overlay-close-btn:hover {
  opacity: 1;
}

.overlay__title,
.form-overlay-inner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.overlay__subtitle,
.form-overlay-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* field set for grouping of related form elements*/
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

legend.form-field-title,
legend.form__legend {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.form__input {
  padding: 0.75rem;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.date-input,
.form__input--date,
.form__input--vacancy-date {
  width: 25%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  background-color: #fff;
  color: #000;
  appearance: none;
  /* removes native calendar icon */
  background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjNjY2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHJlY3QgeD0iMiIgeT0iNCIgd2lkdGg9IjEyIiBoZWlnaHQ9IjkiIHN0cm9rZT0iIzY2NiIgc3Ryb2tlLXdpZHRoPSIxLjUiIGZpbGw9Im5vbmUiLz48Y2lyY2xlIGN4PSI1IiBjeT0iMiIgcj0iMSIvPjxjaXJjbGUgY3g9IjExIiBjeT0iMiIgcj0iMSIvPjwvc3ZnPg==');
  /* custom icon optional */
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
*/

.checkbox-label {
  display: flex;
  align-items: flex-start;
  /* aligns checkbox with first line of text */
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 100%;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.3rem;
  /* visually centers the checkbox with the first line */
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #0d4e96;
  flex-shrink: 0;
}

/* Tick effect (optional) */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid #0d4e96;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


.form-submit-wrap,
.form__submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.form-submit-button,
.form__submit-button-vacancy {
  background-color: #ffffff;
  color: #0d4e96;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-submit-button:hover {
  background-color: #e5e5e5;
}

.apply-vacancy-btn {
  background-color: transparent;
  border: 1px;
  top: 20px;
  margin: 0 0 0 12px;
  /* top, right, bottom left */
  position: relative;
  opacity: 0.7;
  outline: none;
}

.apply-vacancy-btn:hover {
  cursor: pointer;
  opacity: 1;
}

.file-warning,
.form__file--warning,
.form-field--error {
  color: rgb(213, 82, 82);
  font-size: 0.9em;
  margin-top: 4px;
  display: none;
}

/* Reuse existing overlay styling */
#general-register-overlay.form-overlay-outer {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 1rem;
  visibility: hidden;
  opacity: 1;
  transform: scale(1);
  transition: all 0.33s ease-out;
}

#general-register-overlay .form-overlay-inner {
  position: relative;
  background-color: #0d4e96;
  color: #ffffff;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.7);
  margin: auto;
  border-radius: 8px;
  padding: 2rem;
}

#general-register-overlay input,
#general-register-overlay select,
#general-register-overlay textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
}

#general-register-overlay .form-submit-button {
  background-color: #ffffff;
  color: #0d4e96;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#general-register-overlay .form-submit-button:hover {
  background-color: #7c7a7a;
}

#general-register-overlay .form-overlay-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

#general-thank-you {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 102;
  background-color: #fff;
  width: 100%;
  color: black;
  justify-content: center;
  align-content: center;
  display: flex;
  transition: all 0.3s ease-out;
}

#general-thank-you p {
  align-self: center;
  font-size: 1.2rem;
  text-align: center;
}

#general-thank-you svg {
  color: rgb(31, 179, 31);
  position: relative;
  top: 4px;
  margin-right: 4px;
}

#general-thank-you.visible {
  opacity: 1;
  visibility: visible;
}