* {
  padding: 0;
  margin: 0;
  font-family: Poppins, sans-serif;
}
img {
  max-width: 100%;
}
body {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
header {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  width: 100%;
}
header .container {
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  header .container {
    padding: 0.5rem 1rem;
  }
}
header .logo {
  max-width: 200px;
  margin-bottom: -10px;
}
@media screen and (max-width: 767px) {
  header .logo {
    max-width: 100px;
  }
}
header .secondaryLogo {
  max-width: 250px;
}
@media screen and (max-width: 767px) {
  header .secondaryLogo {
    max-width: 150px;
  }
}
.heroSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5vw 3vw 1vw;
  height: 88vh;
  background-color: #009dac;
  overflow: hidden;
}
@media screen and (max-width: 967px) {
  .heroSection {
    padding: 150px 50px 0;
    align-items: flex-start;
  }
}
@media screen and (max-width: 767px) {
  .heroSection {
    padding: 60px 20px 0;
  }
}
.heroSection .img {
  max-width: 800px;
  margin-bottom: 0;
  position: absolute;
  right: 3rem;
  bottom: 0;
}
@media screen and (max-width: 1300px) {
  .heroSection .img {
    max-width: 650px;
  }
}
@media screen and (max-width: 767px) {
  .heroSection .img {
    max-width: 340px;
    margin: 0 auto;
    left: 0;
    right: 0;
  }
}
.heroSection .caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.heroSection .caption img {
  max-width: 160px;
}
@media screen and (max-width: 767px) {
  .heroSection .caption img {
    max-width: 80px;
  }
}
.heroSection .caption h1 {
  font-size: 4.1rem;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .heroSection .caption h1 {
    font-size: 2.5rem;
  }
}
.heroSection .caption strong {
  font-weight: 600;
  font-size: 1.7rem;
}
@media screen and (max-width: 767px) {
  .heroSection .caption strong {
    font-size: 1rem;
  }
}
.heroSection .caption .buttonsGroup {
  display: flex;
  justify-content: flex-start;
  margin: 20px 0 50px;
}
.heroSection .caption .buttonsGroup .btn {
  height: 40px;
  padding: 0 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}
.heroSection .caption .buttonsGroup .solidBtn {
  background: #fff;
  color: #009dac;
  border: solid 1px transparent;
}
.heroSection .caption .buttonsGroup .solidBtn:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.heroSection .caption .buttonsGroup .borderBtn {
  border: solid 1px #fff;
  color: #fff;
  margin-left: 20px;
}
.heroSection .caption .buttonsGroup .borderBtn:hover {
  background: #fff;
  color: #009dac;
}
.esofinedsr {
  position: absolute;
  left: 0;
  bottom: -5px;
  z-index: 1;
  width: 100%;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.7));
}
.esofinedsr .container {
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;

}
@media screen and (max-width: 767px) {
  .esofinedsr .container {
    padding: 0.5rem 1rem;
  }
}
.esofinedsr img {
  max-width: 200px;
}
.rx-pad-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.rx-pad-activity {
  color: #ac0000;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 0 0 100%;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .rx-pad-content {
    flex-direction: column;
    gap: 1rem;
    margin-left: 0;
  }
  .rx-pad-activity {
    font-size: 1.5rem;
    text-align: center;
    margin-left: 0;
  }
}
.processPrescription {
  padding: 150px 50px;
}
@media screen and (max-width: 767px) {
  .processPrescription {
    padding: 150px 15px;
  }
}
.processPrescription .container {
  max-width: 1260px;
  margin: 0 auto;
}
.processPrescription .container h4 {
  font-weight: 400;
}
.processPrescription .container h1 {
  color: #009dac;
  font-weight: 500;
}
.stepper-container {
  display: flex;
  max-width: 700px;
  margin: 30px auto;
  width: 100%;
  justify-content: space-between;
}
.stepper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  /* For horizontal layout */
  /* For vertical layout, use flex-direction: column; */
  width: 300px;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .stepper {
    width: 160px;
  }
}
.stepper-item {
  display: flex;
  align-items: center;
  /* Adjust as needed for vertical alignment */
  position: relative;
  flex: 1;
  /* For equal width in horizontal layout */
}
.stepper-item:last-child {
  flex: 0;
}
.stepper-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  z-index: 1;
  /* Ensure circle is above connecting line */
}
.stepper-item.active .stepper-circle {
  background-color: #009dac;
  /* Active step color */
}
/* Connecting line for horizontal layout */
.stepper-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 40%;
  width: 50%;
  height: 2px;
  background-color: #ccc;
  transform: translateY(-50%);
}
.stepper-item.active:not(:last-child)::after {
  background-color: #009dac;
  /* Active line color */
}
/* Connecting line for vertical layout (requires different positioning) */
/* .stepper-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px; // Half of circle width
  top: 100%;
  width: 2px;
  height: 100%;
  background-color: #ccc;
} */
.stepper-container .btn {
  border-radius: 60px;
  padding: 0 50px;
  border: 0;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  background: #009dac;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.stepper-container .btn:hover {
  background: #444;
}
@media screen and (max-width: 767px) {
  .stepper-container .btn {
    padding: 0 20px;
  }
}
.stepper-container .btn.disable {
  pointer-events: none;
  background-color: #e2e2e2;
  color: #000;
}
.stepper-container .btn.active {
  background: #009dac;
  color: #fff;
}
.form {
  padding: 30px;
  border: solid 1px #ccc;
  border-radius: 20px;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .form {
    padding: 20px;
  }
}
.form h2 {
  font-weight: 500;
  letter-spacing: 1px;
}
.form h2 + p {
  margin-bottom: 20px;
}
.form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}
.form .form-group label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #444;
}
.form .form-group label sup {
  color: red;
  font-weight: bold;
}
.form .form-group .dr {
  position: absolute;
  left: 1px;
  top: 33px;
  height: 40px;
  padding: 0 10px;
  border-radius: 6px 0 0 6px;
  display: inline-flex;
  align-items: center;
}
.form .form-group input[type="text"],
.form .form-group select {
  background-color: rgba(0, 157, 172, 0.1);
  width: 94%;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 6px;
  border: solid 1px rgba(0, 157, 172, 0.3);
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 767px) {
  .form .form-group input[type="text"],
  .form .form-group select {
    width: 88%;
  }
}
.form .form-group input[type="text"]:focus,
.form .form-group select:focus,
.form .form-group input[type="text"]:focus-visible,
.form .form-group select:focus-visible {
  border: solid 1px rgba(0, 157, 172, 0.9);
  outline: none;
}
.form .form-group input[type="text"].drName,
.form .form-group select.drName {
  padding-left: 40px;
  width: 90%;
}
@media screen and (max-width: 767px) {
  .form .form-group input[type="text"].drName,
  .form .form-group select.drName {
    width: 80%;
  }
}
.form .form-group select {
  width: 99%;
}
.form .btnLink {
  color: #009dac;
  text-decoration: underline;
  text-underline-position: under;
}
.form .submitBtn {
  border-radius: 60px;
  padding: 0 50px;
  border: 0;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  background: #009dac;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.form .submitBtn:hover {
  background: #444;
}
.form .btnVerify {
  align-self: center;
  border-radius: 60px;
  padding: 0 50px;
  border: 0;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  background: #009dac;
  color: #fff;
}
.form input[type="file"] {
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  padding: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
}
.form input[type="file"]::file-selector-button {
  border: 0;
  padding: 0.2em 0.4em;
  border-radius: 0;
  background: rgba(255, 255, 255, 0);
  opacity: 0;
  height: 100%;
  width: 100%;
}
.form .uploadfile {
  position: relative;
  overflow: hidden;
  border: dashed 2px #009dac;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.form .uploadfile:before {
  padding: 0.2em 1.8em;
  border-radius: 0;
  background: rgba(0, 157, 172, 0.1) url(../img/upload.svg) 38% center no-repeat;
  height: 100%;
  width: 90%;
  background-size: 30px;
  position: absolute;
  content: 'Upload';
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-size: 24px;
  filter: invert(39%) sepia(92%) saturate(983%) hue-rotate(151deg) brightness(92%) contrast(104%);
}
@media screen and (max-width: 767px) {
  .form .uploadfile:before {
    background: rgba(0, 157, 172, 0.1) url(../img/upload.svg) 28% center no-repeat;
    background-size: 30px;
  }
}
.form .form02 {
  display: none;
}
.error {
  border-radius: 6px;
  background-color: #c53030;
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 0;
  padding: 10px 15px;
  left: 0;
  right: 0;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  display: none;
  transition: all 0.3s ease-in-out;
}
.error.show {
  display: flex;
  top: 105px;
}
.error img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(211deg) brightness(105%) contrast(102%);
  margin-right: 10px;
}
.error.sucess {
  background-color: #38a169;
}
