* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
}

/* Apply section starts here */

.apply-background-image {
  min-height: 100vh;
  height: auto;
  width: 100%;
  background-image: url('../img/apply-image1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.max-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.apply-container{
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.apply-content {
  background-color: white;
  border: 1px solid white;
  padding: 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.apply-content,
.apply-image {
    flex: 1 1 50%;
}

@media (max-width: 768px) {
    .apply-content,
    .apply-image {
        flex: 1 1 100%;
    }
}

.apply-content h1{
  font-size: 19px;
  color: #ff6600;
  font-weight: bold;
}

.required {
  font-size: 12px;
  margin-bottom: 20px;
  color: rgb(63, 63, 63);
}

.required span {
    color: red;
}

.apply-content label {
  font-size: 14px;
  line-height: 21px;
}
  
.apply-content form{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
  
.apply-content input, .apply-content textarea, .apply-content select{
  width: 100%;
  padding: 10px 0px;
  margin: 6px 0px;
  border: 1px solid #cacaca;
  font-size: 14px;
}
  
.apply-content textarea{
  padding: 15px 0px 5px 5px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

.apply-content input:focus,
.apply-content textarea:focus {
  border: 1px solid #fd7921; 
  outline: none; 
  box-shadow: 0px 0px 5px rgba(253, 121, 33, 0.5);
}

.form-flex{
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
    .form-flex {
        flex-direction: column;
    }
}

.form-flex div {
  width: 100%;
}

@media (min-width: 769px) {
  .form-flex div {
    width: 49.3%;
  }
}

input[type="file"] {
  display: none;
}

input, select, textarea {
    width: 100%;
    box-sizing: border-box;
}

.file-upload p {
  margin: 5px 0px;
  font-size: 14px;;
}

.upload-btn {
  display: inline-block;
  padding: 5px 30px;
  background-color: #fd7921;
  color: white;
  font-weight: 550;
  font-size: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 5px 0px;
}

.upload-btn:hover {
  background-color: rgba(253, 121, 33, 0.8);
}
  
.apply-content button {
  background-color: #fd7921;
  color: white;
  border-color: #fd7921;
  border-radius: 3px;
  padding: 15px 0px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}
  
.apply-content button:hover {
  background-color: rgba(253, 121, 33, 0.8)
}

.apply-content span {
  color: red;
}

.apply-image {
  display: block;
  background-image: url('../img/apply-image1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  box-shadow: 0px 4px 30px rgba(112, 112, 112, 0.25);
}

.apply-background {
  background-color: rgba(0, 0, 0, 0.3);
  padding-bottom: 130px;
}

.nav-bar {
  width: 100%;
  margin: 30px 30px;
}

.nav-bar ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 768px) {
  .nav-bar ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

.nav-bar li a{
  color: white;
  padding: 10px 9px;
  text-decoration: none;
  font-size: 13px;
}

.nav-bar li a:hover, .nav-bar .active-link {
  color: #ff6600;
}

.nav-bar li a:active{
  color: #ff6600;
}

.active-link {
  color: #ff6600;
}

.apply-image-content {
  margin: 120px 70px;
}

@media (max-width: 768px) {
  .apply-image-content {
    margin: 40px 20px;
    text-align: center;
  }
}

.apply-image-content h1 {
  font-size: 40px;
  font-family: 'Montserrat', sans-serif;
}

.apply-image-content h2 {
  font-size: 16.5px;
  margin-top: 25px;
  font-weight: normal;
}

.apply-image-content p {
  font-size: 14px;
  margin-top: 5px;
}

.apply-image-content button {
  background-color: #fd7921;
  color: white;
  border-color: #fd7921;
  border-radius: 5px;
  padding: 18px 30px;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.apply-image-content button:hover {
  background-color: rgba(253, 121, 33, 0.8)
}

/* Apply section ends here */
