:root {
  ---nexa: 'Nexa', sans-serif;
  ---gilroy: 'Gilroy-Medium', sans-serif;
  ---lemon: 'Lemon Milk', sans-serif;
  ---main-color: #1E75BC;
  ---hover-color: #00AEEF;
  ---title-color-second: #FF6600;
  --main-font-size: 45px;
  --font-size: 18px;
  ---title-font: 35px;
  ---title-color: #1A202C;
  ---bg-color: #EAF5FE;
  ---main-title-font: 20px;
  ---sub-title-font: 35px;
  ---main-title-color: #00447B;
  ---sub-title-color: #00447B;
  ---sub-color: #FF6600;
  ---vacancy-color: #F7941D;
}

.no-vacancy {
  height: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.custom-button {
  text-decoration: none;
  background-color: #1E75BC;
  color: #ffffff;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-button:hover {
  background-color: #1478ca;
}

.hiring_head h3 {
  font-family: var(---nexa);
  font-size: 40px;
  color: white;
  padding-top: 50px;
  text-align: center;
}

.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
}

.hiring {
  background-color: white;
  text-align: center;
}

.head {
  height: 500px;
  display: flex;
  align-items: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(---main-color);
  z-index: -1;
  opacity: 50%;
}

.head::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/about-us.png') no-repeat center center;
  background-size: cover;
  z-index: -2;
}

.head_wrapper {
  /* border: 2px solid red; */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.head h3 {
  font-family: var(---nexa);
  font-size: 40px;
  font-weight: bold;
  color: white;
  padding-top: 50px;
  text-align: center;
}

.vacancy_container {
  /* background-color: var(---bg-color); */
  /* padding: 20px; */
}

.positions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 0rem;
  background-color: FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.positions:not(:last-of-type) {
  margin-bottom: 2rem;
}

.positions:last-of-type {
  margin-bottom: 0;
}

.position_content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.positions__description {
  border-radius: 2px;
  padding: 2rem;
  text-align: start;
}

.positions__description h3 {
  font-size: 22px;
  font-family: var(---nexa);
  color: var(---main-color);
}

.location {
  list-style: none;
  display: flex;
  /* justify-content: space-between; */
  /* gap: 20px; */
  width: 80%;
}

.positions__vacancies {
  width: 160px;
  height: 140px;
  font-family: var(---nexa);
  border-radius: 5px;
  padding: 1rem;
  text-align: right;
  margin-right: 2%;
  background-color: var(---vacancy-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  display: flex;
  flex-direction: column;
  text-align: center;
}


.internship-job {
  /* border: 3px solid red; */
  /* margin-top: 45px; */
  background-color: var(---bg-color);
}

.intern-left-section {
  padding: 20px;
  /* background-color: #fff; */
  border-radius: 8px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

/* ADDED */

.intern-left-section h2 {
  font-family: var(---nexa);
  font-weight: bold;
  color: var(---main-color);
}

.intern-form-wrapper {
  /* padding: 20px; */
}

.form__content {
  margin-top: 10px;
}

.required-text {
  font-size: 14px;
  color: #e74c3c;
}

/* Form layout and styling */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-selects {
  position: relative;
}

.custom-selects select {
  padding-right: 30px;
  /* Space for the custom arrow */
}

.custom-selects .icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.btn-wrapper {
  margin-top: 20px;
}

.button-group.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.button-group .btn-cancel {
  background-color: #ccc;
}

.button-group .btn-apply {
  background-color: #007bff;
}

.button-group .btn-cancel:hover {
  background-color: #b3b3b3;
}

.button-group .btn-apply:hover {
  background-color: #0056b3;
}

/* File upload section styling */
.attachment__section {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  position: relative;
}

.attachment__section img {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.text-wrapper {
  flex: 1;
}

.text-wrapper h5 {
  font-size: 16px;
  margin-bottom: 10px;
}

.text-wrapper p {
  font-size: 14px;
  margin: 0;
}

.text-wrapper .file {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.text-wrapper .file::file-selector-button {
  display: none;
}

.text-wrapper .file::after {
  content: 'Choose file';
  display: block;
  text-align: center;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #007bff;
  padding: 10px;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.btn-cancel {
  background-color: #6c757d !important;
  color: #fff !important;
}

.btn-cancel:hover {
  background-color: #5a6268;
}

.btn-submit {
  background-color: #007bff !important;
  color: #fff !important;
}

.btn-submit:hover {
  background-color: #0056b3;
}



/* Responsive design */
@media (max-width: 768px) {
  .intern-left-section {
    padding: 15px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-control {
    padding: 8px;
  }

  .attachment__section {
    flex-direction: column;
    align-items: flex-start;
  }

  .attachment__section img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .text-wrapper .file {
    width: auto;
  }
}

@media (max-width: 576px) {
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .btn-wrapper {
    text-align: center;
  }
}














/* Media Query for Smaller Screens */
/* @media screen and (max-width: 768px) {
  .positions {
    flex-direction: column;
  }

  .positions__description {
    margin-top: 20px;
  }

  .location {
    width: 100%;
    flex-direction: column;
  }
} */

/* Media Query for Larger Screens */



/* Laptop Screens */
/* @media only screen and (max-width: 1440px) {
  .wrapper {
    max-width: 1100px;
    padding: 25px;
  }

  .head h3 {
    font-size: 34px;
  }

  .positions {
    flex-direction: row;
    justify-content: space-around;
  }

  .positions__vacancies {
    width: 130px;
    height: 110px;
  }
}


@media only screen and (max-width: 1280px) {
  .wrapper {
    max-width: 1000px;
    padding: 20px;
  }

  .head h3 {
    font-size: 32px;
  }

  .positions {
    flex-direction: column;
    margin-top: 2rem;
  }

  .positions__vacancies {
    width: 120px;
    height: 100px;
  }

  .positions__description {
    padding: 1.5rem;
  }

  .location {
    flex-direction: column;
    width: 100%;
  }
} */



/* @media only screen and (max-width: 1024px) {
  .wrapper {
    max-width: 800px;
    padding: 15px;
  }

  .head h3 {
    font-size: 30px;
  }

  .positions {
    flex-direction: column;
  }

  .positions__description {
    padding: 1rem;
  }

  .positions__vacancies {
    width: 100px;
    height: 90px;
  }

  .location {
    flex-direction: column;
    justify-content: center;
  }
} */


/* Mobile */
/* @media only screen and (max-width: 768px) {
  .wrapper {
    max-width: 100%;
    padding: 10px;
  }

  .head h3 {
    font-size: 26px;
  }

  .positions {
    flex-direction: column;
  }

  .positions__vacancies {
    width: 90px;
    height: 80px;
  }

  .positions__description {
    padding: 0.5rem;
  }
  
  .location {
    flex-direction: column;
    width: 100%;
  }
} */




/* @media only screen and (min-width: 1600px) {
  .wrapper, .head_wrapper {
    max-width: 1400px;
    padding: 40px;
  }

  .hiring_head h3, .head h3 {
    font-size: 42px;
  }

  .positions__vacancies {
    width: 180px;
    height: 160px;
  }
}


@media only screen and (max-width: 1600px) {
  .wrapper, .head_wrapper {
    padding: 40px;
  }

  .hiring_head h3, .head h3 {
    font-size: 40px;
  }

  .positions__vacancies {
    width: 160px;
    height: 140px;
  }
}


@media only screen and (max-width: 1280px) {
  .wrapper, .head_wrapper {

    padding: 25px;
  }

  .hiring_head h3, .head h3 {
    font-size: 36px;
  }

  .positions {
    flex-direction: column;
    margin-top: 3rem;
  }

  .positions__vacancies {
    width: 140px;
    height: 120px;
  }

  .positions__description h3 {
    font-size: 20px;
  }

  .location {
    width: 80%;
  }
}


@media only screen and (max-width: 1024px) {
  .head{
    border: 3px solid green;
    height: 350px;
  }
  .wrapper, .head_wrapper {
    border: 2px solid red;
    padding: 20px;
  }

  .hiring_head h3, .head h3 {
    font-size: 34px;
  }

  .positions {
    flex-direction: column;
    margin-top: 2rem;
  }

  .positions__vacancies {
    width: 120px;
    height: 100px;
  }

  .positions__description h3 {
    font-size: 18px;
  }

  .location {
    flex-direction: column;
    width: 80%;
  }
}

@media only screen and (max-width: 768px) {
  .wrapper, .head_wrapper {
    max-width: 100%;
    padding: 15px;
  }

  .hiring_head h3, .head h3 {
    font-size: 30px;
  }

  .positions {
    flex-direction: column;
  }

  .positions__vacancies {
    width: 100px;
    height: 90px;
  }

  .positions__description h3 {
    font-size: 16px;
  }

  .location {
    flex-direction: column;
    width: 103%;
  }
}


@media only screen and (max-width: 480px) {
  .wrapper, .head_wrapper {
    max-width: 100%;
    padding: 10px;
  }

  .hiring_head h3, .head h3 {
    font-size: 26px;
  }

  .positions {
    flex-direction: column;
  }

  .positions__vacancies {
    width: 90px;
    height: 80px;
  }

  .positions__description h3 {
    font-size: 14px;
  }

  .location {
    flex-direction: column;
    width: 100%;
  }
} */





/* Media Queries */

/* Mobile Devices (up to 480px) */
@media (max-width: 480px) {
  .hiring_head h3 {
    font-size: 24px;
    padding-top: 20px;
  }

  .wrapper {
    padding: 20px;
  }

  .head {
    /* height: 300px; */
    padding: 20px;
  }

  .head h3 {
    font-size: 24px;
    padding-top: 20px;
  }

  .positions {
    /* border: 3px solid red; */
    padding: 10px;
  }

  .position_content {
    flex-direction: column;
    align-items: start;
  }

  .positions__description {
    padding: 1rem 0;
  }

  .positions__description h3 {
    font-size: 18px;
    font-weight: bold;
  }

  .location {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .positions__vacancies {
    width: 100%;
    /* border-top-right-radius: 0px; */
    /* border-top-left-radius: 0px; */
  }
}

/* Tablets (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .head_wrapper {
    padding: 0;
  }

  .hiring_head h3 {
    font-size: 30px;
    padding-top: 30px;
  }

  .wrapper {
    padding: 30px;
  }

  .head {
    height: 400px;
    padding: 30px;
  }

  .head h3 {
    font-size: 30px;
    padding-top: 30px;
  }

  .positions {
    flex-direction: column;
  }

  .position_content {
    flex-direction: column;
  }

  .positions__description {
    padding: 1.5rem;
  }

  .positions__description h3 {
    font-size: 20px;
  }

  .location {
    flex-direction: column;
    width: 100%;
  }

  .positions__vacancies {
    width: 100%;
    margin-right: 0;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
  }
}

/* Laptops and Desktops (769px and up) */
@media (min-width: 769px) {
  .hiring_head h3 {
    font-size: 40px;
    padding-top: 50px;
  }

  .wrapper {
    padding: 40px;
  }

  .head {
    height: 500px;
    padding: 40px;
  }

  .head h3 {
    font-size: 40px;
    padding-top: 50px;
  }

  .positions {
    flex-direction: row;
  }

  .position_content {
    flex-direction: row;
  }

  .positions__description {
    padding: 2rem;
  }

  .positions__description h3 {
    font-size: 22px;
  }

  .location {
    flex-direction: row;
    width: 80%;
  }

  .positions__vacancies {
    width: 160px;
    height: 140px;
    margin-right: 2%;
  }
}






/* Mobile Devices (up to 480px) */
@media (max-width: 480px) {
  .wrapper {}

  .head_wrapper {
    padding: 0;
  }

  .head {}

  .head h3 {
    font-size: 34px;
    padding-top: 20px;
    font-weight: bold;
  }

  .head p {
    text-align: justify !important;
    color: white;
    width: 100%;
  }
}

/* Tablets (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .wrapper {
    padding: 30px;
  }

  .head {
    height: 400px;
    padding: 30px;
  }

  .head h3 {
    font-size: 30px;
    padding-top: 30px;
  }
}