/* .main-step-form {
    display: flex;
    min-height: 50vh;
    height: auto;
    gap: 0;
} */
 

.left-side-steps {
    width: 10%;
    height: auto;
    background-color: #043168;
}



.step-form .input-group {
    display: flex;
    justify-content: center;
    width: 100%;
}

.step-form input {
    background-color: #F5F5F5 !important;
}

.step-form h5 {
  text-transform: uppercase;
    margin: 30px 0 10px 10px;
    font-family: 'Barlow';
    font-weight: 600;
    letter-spacing: 0.25px;
    font-size: 18px;
    color: #333333;
}
.back-submit-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 100px;
}

.back-submit-container a{
    font-family: 'Montserrat';
    letter-spacing: 1.77px;
    position: relative;
    color: #000;
}

.step-form.form-container button {
  position: static;
  font-family: 'Montserrat';
  letter-spacing: 1.77px;
}



  .left-side-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    gap: 150px;
    padding: 220px 15px 50px 15px;
  }
  .left-side-steps h2, .left-side-steps h5 {
    margin:0;
    font-family: 'Montserrat'
  }
  .left-side-steps h5 {
    letter-spacing: 2px;
    font-weight: 800;
  }
  .left-side-steps span {
    font-weight: 700;
    font-family: 'Montserrat';
    letter-spacing: 2px;
    line-height: 25px;
  }
  .step1, .step2, .step3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.2;
  }
  
  .active-step {
    opacity: 1;
  }

  .step2, .step3, .step1 {
    position: relative;
    text-align: center;
    padding: 10px 0; /* Create space for the images */
}
.step3 {
    padding: 0;
}
.step2::before,
.step3::before,.step1::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    width: 5px;  /* Adjust the width */
    height: 100px; /* Adjust the height */
    background-image: url("./images/stepline.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

.step0 h5 {
  writing-mode: vertical-rl; /* Makes the text vertical, rotated right-to-left */
  transform: rotate(360deg); /* Optional: Flip text to be readable */
  text-align: center; /* Centers the text vertically in the container */
  white-space: nowrap; /* Ensures text doesn't break into multiple lines */
}

.step2::before, .step3::before {
    top: -110px; /* Adjust this value to control the space above the element */
}
.step3::before {
    top: -150px;
}

.step1::before {
  top: -110px;
}

.step-form select{
    width: 104%;
    margin: 10px 0;
    background-color: #F5F5F5;
    font-family: "Barlow";
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    letter-spacing: 2px;
    color: #333333;
    border-radius: 10px;
  }
 
  .step-form select {
    background: #ECEDEE url("./images/downarrow.png") no-repeat scroll right 15px
      center/8px auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 55px;
  }
  

  .step-form select option {
    background-color: #fff;
  }
  
  
  
  .form-upload-box {
    width: 99%;
    margin: 10px 0;
    display: flex;
    align-items: center;
    background-color: #ECEDEE;
    font-family: "Montserrat";
    font-weight: 500;
    height: 55px;
    padding: 0 20px;
    border: none;
    letter-spacing: 2px;
    color: #112234;
    border-radius: 10px;
  }

  .form-upload-icon {
    display: flex;
    align-items: center;
    border-right: 1px solid #fff;
    height: 100%;
  }
  
  .form-upload-icon img {
    padding-right: 10px;
    width: 40px;
    height: auto;
  }
  
  .form-upload-label {
    font-family: 'Montserrat';
    margin-left: 15px;
    font-weight: 600;
    color: #112234;
    cursor: pointer;

  }
  
  .form-upload-input {
    display: none;
  }
  
  .form-warning {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    font-size: 14px;
    color: #112234;
  }
  
  .form-warning img {
    width: 16px;
    height: auto;
    margin-right: 10px;
  }
  
  .form-warning p {
    margin: 0;
    color: #112234;
    font-size: 14px;
    line-height: 24px;
    font-weight: 800;
  }
  .form-buttons-container {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .form-buttons-container a{
    color: #AD1929;
  }

  .step-form {
    position: relative;
  }

  .step-form .back-submit-container button {
    position: static;
  }

  .step-form form textarea {
    background-color: #ECEDEE !important;
    margin: 20px 0 5px 0 !important;
  }
  
  .step-form form textarea::placeholder {
    opacity: 0.5;
    letter-spacing: 2px;
  }
  .form-buttons-container a::before{
    display: none;
  }
  .step-form textarea {
    background-color: #ECEDEE !important;
  }

  .step-form input, .step-form textarea, .step-form details {
    background-color: #F5F5F5;
    border-radius: 10px;
    border: none;
    padding: 10px 15px;
    width: 100%;
  }
  .step-form details {
    padding-top: 20px;
    padding-bottom: 17px;
  }
  @media screen and (max-width: 1024px) {
    .step-form details {
      width: calc(100% - 37px);
    }
  }
  @media screen and (max-width: 767px) {
    .step-form details {
      /* width: calc(100% - 45px); */
      width: 90%;
      padding-top: 14px;
      padding-bottom: 12px;
    }
  }
  @media screen and (max-width: 380px) {
    .step-form details {
      padding-top: 10px;
      padding-bottom: 9px;
    }
  }
  .step-form details summary {
    list-style: none;
    cursor: pointer;
  }
  .step-form details .dropdown-list ul {
    list-style: none;
    padding: 0;
  }
  .step-form details .dropdown-list ul li {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  .step-form details .dropdown-list ul li input {
    width: fit-content !important;
    margin: 0;
    cursor: pointer;
  }
  .step-form details .dropdown-list ul li label {
    line-height: normal;
    margin-left: 10px;
    cursor: pointer;
  }
  .input-group-inner {
    width: 50%;
  }

  .step-form button {
    border-radius: 55px;
    border: 1.5px solid #231F20;
    color: #231F20;
    background: none;
    letter-spacing: 2.5px;
    padding: 5px 6vh;
    cursor: pointer;
    transition: all 0.3s;
  }
  .step-form button:hover,.back-submit-container a:hover {
    background-color:#FF5F13 ;
    color: #fff;
    /* transition: 0.3s; */
  }
  .back-submit-container a {
    font-family: "Montserrat";
    font-weight: 600;
    border-radius: 55px;
    border: 1.5px solid #231F20;
    color: #231F20;
    background: none;
    letter-spacing: 2.5px;
    padding: 5px 6vh;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
  }

  .step-form-content  {
    padding: 50px 5%;
  }

  .step-form-content h2 {
    text-align: center;
  }

  .step-form-content.final {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .step-form-content.final h1 {
    letter-spacing: 5px ;
  }

  .step-form textarea::placeholder{
    color: #112234;
    opacity: 0.5;
  }

  .file-preview {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    margin: 5px 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  text-align: center;
}

#loading-spinner div {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#loading-spinner p {
  margin-top: 10px;
  font-size: 16px;
}

  .file-preview img {
    width: 100px;
    height: 100px;
  }
  .file-preview iframe {
    width: 100px;
    height: 100px;
  }

  .uploaded-files {
    display: flex; 
    gap: 10px;
  }
  
  .file-name {
    flex-grow: 1;
    margin-right: 10px;
    word-wrap: break-word;
  }
  
  .remove-file {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #F55F27 !important;
    color: #053068 !important;
    cursor: pointer;
    position: absolute !important;
    top: 0 !important;
    right: 5px !important;
    margin: 5px !important;
    height: 20px !important;
    padding: 10px 8px 10px 10px !important;
    font-size: 12px !important;
    width: 20px !important;
    border: none !important;
  }
  
  .remove-file:hover {
    color: #F55F27;
  }



  


  

  /* Screen size: Max 1600px */
@media (max-width: 1600px) {
    .left-side-steps span {
        font-size: 16px;
        
      }
      .step-form select{
        width: 105%;
      }
  }
  
  /* Screen size: Max 1450px */
  @media (max-width: 1450px) {
    .left-side-steps span {
        font-size: 15px;
        
      }

      .step-form select{
        width: 105%;
      }
      .form-upload-box {
        width: 98%;
        
      }
  }
  
  /* Screen size: Max 1400px */
  @media (max-width: 1400px) {
    .step-form {
        width: 1000px;
        margin: 0 auto;
    }
    .left-side-steps span {
        font-size: 14px;
        
      }

      /* .newsletter-input {
        width: 50%;
      } */
    
  }
  
  /* Screen size: Max 1300px */
  @media (max-width: 1300px) {
    .left-side-steps span {
        font-size: 13px;
        
      }
  }




  
  @media (min-width: 768px)and (max-width: 1024px) 
{
   
  .form-warning p {
    font-size: 12px;
    max-width: 80%;
    line-height: 20px;
  }

  .form-upload-box {
    width: 95%;
    padding: 0 12px;
  }
  .form-buttons-container {
    flex-direction: column;
  }

  #birthdate {
    -webkit-appearance: none;
    padding: 10px 15px;
  }

 

  .step-form form textarea {
    width: 95% !important;
    height: 200px !important;
  }
  .step-form-content.final h1 {
    letter-spacing: 2px ;
  }

  .step-form select {
    height: auto;
  }
   
.step-form form textarea::placeholder {
font-size: 14px;
}
  .main-step-form {
      display: flex;
      flex-direction: column;
      min-height: 40vh;
      margin-top: 80px;
      height: auto;
      gap: 0;
  }

  .step-form textarea {
    background-color: #ECEDEE !important;
    width: 95%;

  }
  .step-form-content {
      margin-top: 1vh;
      width: 100%;
      padding: 50px 5% 0 5%;

  }

  .step-form button {
    right: 0 !important;
  }
  .step-form-content h1{
      margin:0;
      max-width: 95%;
  }
  
  .left-side-steps {
      width: auto;
      height: auto;
      padding:0px 10%;
      flex-direction: row;
      gap: 120px;
  }

  .step-form form {
      width: auto !important;
      padding-top: 20px !important;
  }
  
  .step-form {
      width: auto;
      max-width: 100%;
      margin-left: 0;
  }
  
  .step-form-content {
      width: auto;
      color: #112234;
  }
  
 
  .input-group-inner {
      width: 100%;
  }
  .step-form h5 {
      margin: 20px 0 0 0;
  }
  .back-submit-container {
      margin-top: 50px;
      gap: 30px;
      align-items: start;
      max-width: 100%;
  }
 
    .left-side-steps span {
      font-size: 10px;
    }

  

    .back-submit-container a::before {
      top: 80%; 
    }
    .form-container {
      width: 100%;
    }


    .step-form select{ 
      width: 99%;
    }

    .form-upload-label {
      font-size: 10px;
      font-weight: 700;
    }

    .step-form {
      margin-bottom: 50px;
    }

    .down {
      margin-bottom: 0 !important;
      margin-right: 0 !important;
    }

.step2::before,
.step3::before, .step1::before {
  content: "";
  display: block;
  position: absolute;
  left: -90px;
  top: 50%;
  width: 220px;  /* Adjust the width */
  height: 4px; /* Adjust the height */
  background-image: url("./images/hline.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.stepform1 {
margin-top: -50px;
padding-top: 0 !important;
}
.main-step-form .form-container {
width: 100% ;
margin: 0 auto ;
}

.main-step-form .form-container form input {
width:95% !important;
}

.main-step-form .form-container form {
padding: 0 5%;
margin-top: -50px;
}
.main-step-form .form-container form button {
margin-right: 0;
}
.step2::before, .step3::before {
  top: 50%; /* Adjust this value to control the space above the element */
}
}
  
  
  /* Mobile view (Max 768px) */
  @media (max-width: 767px) {

    .form-warning p {
      font-size: 12px;
      max-width: 80%;
      line-height: 20px;
    }

    .form-upload-box {
      width: 87%;
    }
    .form-buttons-container {
      flex-direction: column;
    }

    #birthdate {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      padding: 10px 15px;
      font-size: 14px;
      line-height: 30px; /* Match the desired height */
      height: 30px;
      color: #000; /* Force height explicitly */
    }

    .step-form form textarea {
      width: 80% !important;
      height: 200px !important;
    }
    .step-form-content.final h1 {
      letter-spacing: 2px ;
    }

    .step-form select {
      height: auto;
    }
     
.step-form form textarea::placeholder {
  font-size: 14px;
}
    .main-step-form {
        display: flex;
        flex-direction: column;
        min-height: 40vh;
        height: auto;
        gap: 0;
    }

    .step-form textarea {
      background-color: #ECEDEE !important;
    }
    .step-form-content {
        margin-top: 1vh;
        width: auto;
        padding: 50px 5% 0 5%;

    }

    .step-form button {
      padding: 5px;
      width: 100%;
      color: #231F20;
      font-family: "Montserrat";
      font-weight: 600;
      border-color: #231F20;
    }

     .step-form textarea  {
      width: 90%;
     }
    .step-form-content h1{
        margin:0;
        max-width: 95%;
    }
    
    .left-side-steps {
        width: auto;
        height: auto;
        padding:10px 15px;
        flex-direction: row;
        gap: 30px;
    }

    .step-form form {
        width: auto !important;
        padding-top: 20px !important;
    }
    
    .step-form {
        width: auto;
        max-width: 100%;
        margin-left: 0;
    }
    
    .step-form-content {
        width: auto;
        color: #112234;
    }
    
   
    .input-group-inner {
        width: 100%;
    }
    .step-form h5 {
        margin: 20px 0 0 0;
    }
    .back-submit-container {
        margin-top: 50px;
        gap: 30px;
        align-items: start;
        max-width: 100%;
    }
   
      .left-side-steps span {
        font-size: 10px;
        line-height: 14px;
      }

      .left-side-steps  h5{
        font-size: 14px;
      }

      .back-submit-container a::before {
        top: 80%; 
      }
      .form-container {
        width: 100%;
      }

     
      .step-form select{ 
        width: 99%;
      }

      .form-upload-label {
        font-size: 10px;
        font-weight: 700;
      }

      .step-form {
        margin-bottom: 50px;
      }

      .down {
        margin-bottom: 0 !important;
        margin-right: 0 !important;
      }

.step2::before,
.step3::before, .step1::before {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    top: 50%;
    width: 20px;  /* Adjust the width */
    height: 4px; /* Adjust the height */
    background-image: url("./images/hline.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

.stepform1 {
  margin-top: -50px;
  padding-top: 0 !important;
}
.main-step-form .form-container {
  width: 100% ;
  margin: 0 auto ;
}

.main-step-form .form-container form input {
  width:90% !important;
}

.main-step-form .form-container form {
  padding: 0 5%;
  margin-top: -50px;
}
.main-step-form .form-container form button {
  margin-right: 0;
}
.step2::before, .step3::before {
    top: 50%; /* Adjust this value to control the space above the element */
}

  }
  
  /* Mobile view (Max 375px) */
  @media (max-width: 375px) {
    .main-step-form {
        min-height: 70vh;
        height: auto;
        gap: 20px;
    }
    .step-form-content {
        margin-top: 5vh;
    }

    .left-side-steps {
        padding-top: 12vh;
    }
    .form-upload-label {
        font-size: 10px;
    }
    .step-form-content.final h1 {
        margin-top: -40vh;
    }

    .step-form button {
      padding: 5px 40px;
      color: #000;
    }
  }
