@font-face {
  font-family: 'helvetica';
  src: url('./assets/font/Helvetica\ Neue\ Medium\ Extended.otf');
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');  
}


body{
  font-family: 'helvetica';
  margin: 0;
  background: url("./assets/Vector\ 2.png") center/cover no-repeat,
    linear-gradient(180deg, #001266 100%, #001266 70%);
    min-height: calc(100vh - 17px);
    
}

.main {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: calc(100vh - 2px);
  transition: all .3s ease-in-out;
}

.main2 {
	padding-top: 125px;
	height: 100vh;
	transition: all .3s ease-in-out;
}

footer {
	background-color: #031262;
	padding: 25px;
	text-align: center;
	color: #aeaeae;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/* Navbar styles */
.navbar {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
	max-height: 45px;
	padding: 10px;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  margin-right: 20px;
}

.menu a {
  text-decoration: none;
  color: #001266;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu a:hover {
  color: #1f3184;
}

/* Responsive styles */
@media (max-width: 768px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
  }

  .menu {
      margin-top: 5px;
  }

  .menu ul {
      flex-direction: column;
  }

  .menu li {
      margin-right: 0;
      margin-bottom: 10px;
  }
}

.card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 160px);
  height: 600px;
  width: 700px;
  left: 50px;
  transform-style: preserve-3d;
}

.card h3{
  background-color: #fff;
}
.card img{
  width: 350px;
}
.textforCard{
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75%;
  text-align: center;
}
.text h3{
  font-size: 28px;
  font-weight: 400;
  line-height: 47px;
  letter-spacing: 0em;
  text-align: center;
  color: #001266 !important;
  /* padding-left: 20px; */
}
.textforCard p{
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: center;
  color: #000000 !important;
}



/* .card:nth-child(1) {
  animation-delay: -7s;
}
.card:nth-child(2) {
  animation-delay: -3.5s;
}
.card:nth-child(3){
  animation-delay: 0;
} */

.form-container {
  width: 400px;
  padding: 20px;
  background-color: #001266;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-top: 5%;
	margin-right: 100px;
  zoom: 1;
}

#step1 {
  width: 100%;
  height: auto; /* Auto height for the first step */
  border-radius: 10px;
}

#step2 {
  width: 100%;
  height: 100%;
  /*max-height: 500px; /* Set a maximum height for the second step */
  overflow-y: auto; /* Add a scrollbar if needed */
  border-radius: 10px;
  
  
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

label {
  display: block;
  margin-bottom: 8px;
}
.img-main{
  position: relative;
}
.imgs{
  /* display: none; */
  /* opacity: 0; */
  position: absolute;
  top: 0;
  right: 0;
  transition: all .5s ease-in-out;
  /* transform: translate(-40px, -15px) rotate(-6deg) scale(.9); */
}
.img-none{
  /* display: none !important; */
  /* opacity: .5; */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  transform: translate(-40px, -15px) rotate(-6deg) scale(.9);
  transition: all .5s ease-in-out;
}
.img-2{
  transform: translate(-40px, -15px) rotate(-6deg) scale(.9);
}
.img-none2{
  z-index: 8;
}
.img-block{
  position: relative;
  /* display: block !important; */
  z-index: 10;
  opacity: 1;
  transition: all .5s ease-in-out;
  transform: unset;
}

input,select {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'helvetica' !important;
  font-size: 12px;
  
}

button {
  background-color: #ffffff;
  color: #000000;  
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%; /* Make buttons cover the whole width */
}

button.next:hover {
  background-color: #e4e4e4;
}

/* Remove styles for the previous button */
button.previous {
  display: none;
}
/* Add styles for the consent text */
.consent-text {
  font-family: "HelveticaNeue", sans-serif;
  font-size: 10px;
  margin-top: 10px;
  color: #ffffff;
  font-weight: 20;
}

/* Adjust styles for the progress dots */
.progress-dots {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.progress-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #cecece;
  border-radius: 50%;
  margin: 0 4px;
}

.progress-dot.active {
  background-color: #020093;
}


.main-heading {
  padding-top: 10px;
  padding-bottom: 10px;
  color: #001266;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 42px;
  margin-bottom: -100px;
  /* margin-bottom: 5px; */
}
/* Add heading style */
.form-heading {

  font-family: "HelveticaNeue", sans-serif;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}
.form-step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.form-step.active {
  display: block;
  opacity: 1;
}

.invalid-input {
  border: 1px solid red;
}

.text-2,
.text-3,
.text-4 {
  display: none;
}

.text {
  opacity: 0;
  transform: translateY(5px);
  animation: fadeInAndSlideUp .7s ease-in-out;
  animation-fill-mode: forwards;
}


@keyframes fadeInAndSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DOB */
/* Style for dropdown container */
.dropdown-container {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 4px;
}

/* Style for dropdown */
.dropdown {
  position: relative;
  background-image: url('./assets/chevron-down.svg');
  background-size: 16px;
  background-position: 78% 55%;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

/* Style for selected dropdown option */
.selected-month,
.selected-date,
.selected-year {
  
  /* background-color: #f1f1f1; */
  padding: 8px;
  cursor: pointer;
  width: 68px;
  font-size: 12px;
  color: #000000;
  display: flex;
  justify-content: space-between;
}
.selected-date,
.selected-year{
  width: 60px;
}
.dropdown.dob-date{
  background-position: 72% 55%;
}
.dropdown.dob-year{
  background-position: 70% 55%;
}

/* Style for dropdown content */
.dropdown-content-month,
.dropdown-content-date,
.dropdown-content-year {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  height: 180px;
  overflow-y: scroll;
  width: 100%;
  border-radius: 0 0 10px 10px;
  color: #000000;
}

/* Show dropdown content on hover */
.dropdown:hover .dropdown-content-month,
.dropdown:hover .dropdown-content-date,
.dropdown:hover .dropdown-content-year {
  display: block;
}

/* Style for dropdown options */
.dropdown-option {
  padding: 8px 0px 8px 8px;
  cursor: pointer;
  font-size: 12px;
}

/* Hover effect on dropdown options */
.dropdown-option:hover {
  background-color: #001266;
  color: #fff;
}

::-webkit-scrollbar{
  height: 4px;
  width: 4px;
}
::-webkit-scrollbar-track{
  background-color: #0000000f;
  border-radius: 24px;
}
::-webkit-scrollbar-thumb{
  background-color: #00000034;
  border-radius: 24px;

}
@media (max-width: 991px){
  .main-heading{
    padding-bottom: 105px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .main{
    flex-direction: column;
    justify-content: flex-start;
  }

	.main2 {
		padding-top: 0;
	}

	.textforCard {
		bottom: -7%;
	}

  .form-container{
    margin: 50px 0;
  }
  .card-container{
    max-height: 450px;
    height: 400px;
    align-items: self-start;
    margin-top: 50px;
  }
  .card{
    height: 90px;
    left: 0;
  }
  #step2{
    max-height: fit-content;
    overflow: visible;
  }
  .card img {
    width: 380px;
  }
}
@media (max-width: 575px){

  .main-heading{
    padding-bottom: 105px;
    font-size: 26px;
  }
  .card-container{
    width: 300px;
    height: 250px;
  }
  .card img {
    width: 280px;
  }
  .textforCard p {
    font-size: 12px;
    line-height: 16px;
  }
  .textforCard h3 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 0px;
  }
  .form-container{
    width: 85%;
    padding: 16px;
  }
  .form-heading{
    font-size: 20px;
  }
  .card{
    left: 14.5px;
  }
}
