.image-container {
    position: relative;
    width: 100%;
    height: 651px; /* Adjust height as needed */
  }
  
  .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/building-new-concrete-house.jpg');
    background-size: cover;
    background-position: center;
   
  }
  
  .background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust the darkness here */
  }

  .top-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%);
    width: 650px; /* Adjust width as needed */
    height: auto;
  }
  
  .col-md-6 {
    width: calc(50% - 15px); /* Adjust the width of the columns */
    margin-right: 30px; /* Adjust the spacing between columns */
  }
  form {
    background-color: #ffffffab;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    color:#031d38 ;
    font-weight: 500;
}

/* CSS */
.form-group-group {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.form-group {
    flex: 1;
     /* Adjust margin as needed */
}


form h3 {
    margin-bottom: 35px;
    font-weight: 500;
}

.form-part {
    display: none;
}

.form-part:first-child {
    display: block;
}

label {
    display: block;
    margin-bottom: 10px;
    color:#031d38 ;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
/* CSS */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}


input[type="file"] {
    margin-bottom: 15px;
}
.file-input-wrapper {
    margin-bottom: 20px;
}

.file-input-container {
    position: relative;
    display: inline-block;
    overflow: hidden; 
}

.file-name {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
}

.file-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 76%;
    background-color: #031d38;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Style the file input to be hidden */
input[type="file"] {
    display: none;
}


.pagination {
    margin-top: 20px;
    text-align: right;
}

#prevBtn,
#nextBtn,
#submitBtn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color:#031d38;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
}

#prevBtn:focus,
#nextBtn:focus,
#submitBtn:focus {
    outline: none;
}

#prevBtn:active,
#nextBtn:active,
#submitBtn:active {
    box-shadow: none !important;
    background-color:#031d38 !important;
    color: white !important;
}

#prevBtn:hover,
#nextBtn:hover,
#submitBtn:hover {
    background-color: rgb(30, 30, 30);
    color: white;
}

#prevBtn,
#nextBtn {
    display: inline-block;
}

#submitBtn {
    display: none;
    margin-left: auto; 
}

#nextBtn {
    margin-left: auto; /* Push the next button to the right */
}

  
.form-part {
    display: none;
}

.visible {
    display: block;
}
.back-btn{
    background-color: #ccc;
    border: 1px solid transparent;
    outline: none;
    border-radius: 50%;
    margin: 30px;
    color:#031d38;
}
.back-btn:hover{
    background-color: white;
}
.back-btn:focus{
    outline: none;
}
.text{
    color: white;
    padding: 50px 100px;
    font-size: 50px;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
}

.animate__animated {
    animation-duration: 2s;
    animation-fill-mode: both;
  }
  
  .animate__fadeInLeft {
    animation-name: fadeInLeft;
  }
  
  .animate__fadeInRight {
    animation-name: fadeInRight;
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @media (max-width: 768px) {
    .col-md-6 {
      width: 100%;
      margin-right: 0;
    }
  }
  @media (max-width: 1280px) {
    .top-image{
      margin-top: 100px;
    }
  }
  @media only screen and (min-width: 320px) and (max-width: 805px) {
    .col-md-6 {
      width: 100%;
      margin-right: 0;
    }
    .top-image {
      position: absolute;
      bottom: 10%;
    }
    .back-btn {
      margin: 15px; /* Adjust margin as needed */
    }
    .text {
      padding: 20px; /* Adjust padding as needed */
      font-size: 30px; /* Adjust font size as needed */
    }
    .background-image{
      height: 120%;
    }
    #form{
      position: absolute;
      top: 20%;
    }
  }
  @media only screen and (min-width: 320px) and (max-width: 932px) {
    .col-md-6 {
      width: 100%;
      margin-right: 0;
    }
    .top-image {
      position: absolute;
      bottom: 10%;
    }
    .back-btn {
      margin: 15px; /* Adjust margin as needed */
    }
    .text {
      padding: 20px; /* Adjust padding as needed */
      font-size: 30px; /* Adjust font size as needed */
    }
    .background-image{
      height: 100%;
    }
    #form{
      position: absolute;
      top: 10%;
    }
    body {
      overflow-x: hidden;
  }
  
  }
  @media only screen and (min-width: 320px) and (max-width: 805px) {
    .col-md-6 {
      width: 100%;
      margin-right: 0;
    }
    .top-image {
      position: absolute;
      bottom: 10%;
    }
    .back-btn {
      margin: 15px; /* Adjust margin as needed */
    }
    .text {
      padding: 20px; /* Adjust padding as needed */
      font-size: 30px; /* Adjust font size as needed */
    }
    .background-image{
      height: 120%;
    }
    #form{
      position: absolute;
      top: 20%;
    }
    body {
      overflow-x: hidden;
  }
  
  }
  
  