@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Lexend:wght@100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

/* General */
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
/*--------------------- */

/* Spinner */
.success-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1000;
}

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

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

/*-------------------------Login---------------------*/
.login_wrapper .inner {
  max-width: 1200px;
  padding: 60px 0 0;
}
.inside_title {
  text-align: center;
  font-family: "Raleway";
  padding: 0;
  margin: 0;
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: clamp(35px, 4.2vw, 40px);
  text-transform: capitalize;
  color: #231148;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.user_wrapper label {
  font-family: "Lexend";
  font-size: 16px;
  font-weight: 300;
  color: #203666;
}
#login_logo {
  position: relative;
  text-align: center;
  margin: 0 auto 50px;
  box-shadow: rgba(71, 75, 255, 0.1) 0px 3px 15px;
  box-sizing: border-box;
  padding: 16px 0 5px;
}
#login_logo img {
  width: 100%;
  max-width: 250px;
}
.user_wrapper {
  position: relative;
  box-sizing: border-box;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 75px 0 50px;
}
.user_wrapper form {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #fff;
  padding: 50px 25px;
  gap: 20px 25px;
  align-items: flex-start;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: rgba(71, 75, 255, 0.07) 0px 3px 15px;
}
.user_wrapper .user_bottom {
  font-family: "Lexend";
  position: relative;
  padding: 15px 25px 40px;
}
.user_wrapper form > div {
  display: flex;
  flex-direction: column;
  width: 48%;
  gap: 8px;
  margin: 0;
  position: relative;
}
.user_wrapper :where(label, input) {
  font-family: "Lexend";
  position: relative;
}
.user_wrapper input,
textarea,
select {
  min-height: 42px;
  height: 42px;
  color: #231148;
  border: 1px solid #c9d4ee;
  box-sizing: border-box;
  padding: 10px 18px;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 12px;
  font-family: "Lexend";
  box-shadow: 0px 5px 5px 0px rgba(242, 239, 255, 0.5);
}
textarea#address {
  text-transform: capitalize;
}
.submit_btn:is(:hover, :focus) {
  background: #559328;
}
.submit_btn {
  position: relative;
  text-decoration: none;
  transition: 0.4s all ease;
  font-family: "Lexend";
  font-size: 17px;
  background: #203666;
  color: #fff;
  font-weight: 400;
  box-sizing: border-box;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  margin: 25px 0 0;
}
#user_psd_bottom {
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  gap: 10px;
}
#forgot_psd {
  font-size: 16px;
  font-weight: 300;
  color: #484848;
  position: relative;
}
.user_wrapper .user_bottom #new_user_signup {
  margin: 35px 0 0;
  text-align: center;
}
#new_user_signup h4 span {
  font-weight: 500;
}
#new_user_signup h4 {
  padding: 0;
  margin: 0;
  font-weight: 300;
}
/*-------------------------Login---------------------*/

#footer .inner {
  padding: 50px 0 20px;
  list-style-type: none;
  display: flex;
  align-items: flex-start;
  gap: 35px 25px;
  flex-wrap: wrap;
  justify-content: space-between;
}
#footer_top h2 {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  font-family: "Raleway";
  padding: 0;
  margin: 0;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: clamp(16px, 2.5vw, 25px);
  text-transform: capitalize;
  color: #231148;
  letter-spacing: 0.5px;
  font-weight: 600;
}
#footer .inner li#footer_top {
  display: flex;
  position: relative;
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-start;
}

#footer_top h2 a {
  font-family: "Lexend";
  font-size: 16px;
  color: #203666;
  text-decoration: none;
  font-weight: 400;
  position: relative;
  transition: 0.4s all ease;
  padding: 0 0 0 28px;
}
#footer_top h2 a:is(:hover, :focus) {
  color: #62ab2e;
}
#footer_top h2 span {
  position: relative;
  padding: 0 0 0 28px;
}
#footer_top h2 span::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 0;
  top: 50%;
  background: url(./pics/gmail.png) no-repeat left top;
  background-size: contain !important;
  transform: translateY(-50%);
}

#footer_top h2:nth-child(2) span::before {
  background: url(./pics/phone.png) no-repeat left top;
  background-size: 82% !important;
  left: 5px;
  margin: 1.5px 0 0;
}
#footer_social a img {
  width: 100%;
}
#footer_social a {
  display: flex;
  background: transparent;
  width: 45px;
  height: 45px;
  position: relative;
  box-sizing: border-box;
  transition: 0.4s all ease;
  border: 2px solid #5daa33;
  border-radius: 50px;
  padding: 10px;
}
#footer_social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  justify-content: flex-end;
}
#footer_social a:is(:hover, :focus) {
  border-color: #231148;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
#footer_address h2 {
  font-family: "Lexend";
  font-size: 16px;
  color: #203666;
  text-decoration: none;
  font-weight: 300;
  position: relative;
  transition: 0.4s all ease;
  margin: 0;
  padding: 0;
  line-height: 24px;
}
#left_wrapper {
  box-shadow: 0px 30px 50px 0px rgba(242, 239, 255, 0.7);
  border-radius: 12px;
}
.user_wrapper > div {
  max-width: 48%;
  position: relative;
  width: 100%;
}
#features p {
  font-family: "Lexend";
  font-size: 15px;
  line-height: 24px;
  font-weight: 300;
  color: #203666;
  padding: 50px 0 0;
  margin: 0;
  position: relative;
}
#footer_bottom > div {
  position: relative;
}
#footer_bottom {
  text-align: center;
  margin: 0 auto;
  border-top: 1px solid #bac9e9;
  padding: 15px 0 0;
}
#features h1 {
  font-family: "Raleway";
  padding: 0;
  margin: 0;
  font-size: clamp(22px, 2.5vw, 25px);
  line-height: clamp(27px, 4.2vw, 40px);
  text-transform: capitalize;
  color: #231148;
  letter-spacing: 0.5px;
  font-weight: 700;
}
#features ul {
  position: relative;
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  gap: 40px 50px;
  counter-reset: item;
  flex-wrap: wrap;
  justify-content: space-between;
}
#features ul li {
  position: relative;
  counter-increment: item;
  font-family: "Lexend";
  font-size: 16px;
  font-weight: 300;
  color: #203666;
  margin: 0;
  line-height: 26px;
  width: 30%;
  background: #fff;
  box-sizing: border-box;
  padding: 30px 25px 30px 50px;
  display: flex;
  align-items: center;
  border-radius: 22px;
  border: 1px solid #c9d4ee85;
  box-shadow: 0px 20px 40px 0px rgba(242, 239, 255, 0.7);
}
#features li::before {
  content: counter(item);
  position: absolute;
  left: -28px;
  color: #d9f2b5;
  font-size: 100px;
}
#features {
  position: relative;
}
#features .inner {
  padding: 50px 0 20px;
}
.user_bottom > p {
  font-size: 15px;
  font-weight: 300;
  color: #203666;
  margin: 0;
  padding: 0;
}
#footer {
  background: #eef2fa;
  position: relative;
  margin: 50px 0 0;
}
#footer .inner li {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px 0;
}
#copyright {
  position: relative;
  background: #e1e8f6;
  text-align: center;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 2px 5px;
  flex-wrap: wrap;
}
#copyright p {
  font-family: "Raleway";
  font-size: 16px;
  font-weight: 400;
  color: #203666;
  padding: 0;
  margin: 0;
  position: relative;
  letter-spacing: 0.5px;
}
#copyright p span:first-child {
  font-family: "Source Sans 3";
  position: relative;
}
#footer_social,
#footer_top h2 {
  max-width: 30%;
  width: 100%;
}
#footer_top h2:nth-child(2) {
  text-align: center;
  align-items: center;
}
#footer_address {
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
}
#copyright p span:last-child {
  font-weight: 600;
}
@media only screen and (max-width: 1250px) {
  .login_wrapper .inner,
  #footer .inner {
    max-width: 100%;
    padding-inline: 15px;
  }
  .user_wrapper > div {
    max-width: 47%;
  }
}

@media only screen and (max-width: 991px) {
  .user_wrapper > div {
    max-width: 46%;
  }
}

@media only screen and (max-width: 800px) {
  .user_wrapper > div {
    max-width: 100%;
  }
  #footer .inner li#footer_top {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 0;
    flex-direction: column-reverse;
  }
  #footer_social {
    justify-content: center;
  }
  #footer_top h2:nth-child(2) {
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
  }
  #footer_social,
  #footer_top h2 {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 10px 10px;
  }
  #footer_address {
    max-width: 100%;
  }
  #footer_top h2:nth-child(1) {
    padding: 0;
  }
  #features h1 {
    text-align: center;
  }
  .login_wrapper .inner {
    padding: 0;
  }
  .user_wrapper {
    padding-inline: 20px;
  }
}

/*Banner*/
#banner_hp .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}
#banner_hp .inner > div {
  width: 100%;
  max-width: 47%;
  position: relative;
}
#banner_left h1 {
  font-family: "Raleway";
  padding: 0;
  margin: 0;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: clamp(27px, 4.2vw, 40px);
  text-transform: capitalize;
  color: #231148;
  font-weight: 700;
}
#banner_left p {
  font-family: "Lexend";
  font-size: 16px;
  line-height: 27px;
  font-weight: 300;
  color: #203666;
  padding: 0;
  margin: 15px 0 0;
  position: relative;
}
#hp_form {
  background: linear-gradient(
    to bottom,
    rgba(217, 242, 181, 0.02) 0%,
    rgba(217, 242, 181, 0.06) 12%,
    rgba(217, 242, 181, 0.13) 22%,
    rgba(217, 242, 181, 0.38) 51%,
    rgba(217, 242, 181, 0.44) 63%,
    rgba(217, 242, 181, 0.5) 76%,
    rgba(217, 242, 181, 0.5) 100%
  );
  position: relative;
}
#banner_right img {
  width: 100%;
  max-width: 400px;
  position: relative;
}
#banner_left a {
  font-family: "Lexend";
  font-size: clamp(17px, 2vw, 18px);
  line-height: 27px;
  font-weight: 500;
  color: #61aa30;
  padding: 0;
  margin: 15px 0 0;
  position: relative;
  text-decoration: none;
  display: inline-grid;
  transition: 0.4s all ease;
}
#banner_left a:is(:hover, :focus) {
  color: #203666;
}
.error-message {
  position: absolute;
  right: 0;
  bottom: -30px;
  font-family: "Lexend";
  font-size: 14px;
  font-weight: 200 !important;
  color: #bf2020;
}
@media only screen and (max-width: 1260px) {
  .inner {
    padding-inline: 20px;
  }
  #features .inner {
    padding-inline: 40px;
  }
}

@media only screen and (max-width: 1099px) {
  #features ul {
    gap: 40px;
  }
}

@media only screen and (max-width: 991px) {
  #features ul li {
    padding: 30px 18px 30px 30px;
  }
  #features li::before {
    left: -15px;
    font-size: 65px;
  }
  #features ul {
    gap: 35px 25px;
  }
  #banner_hp .inner > div {
    max-width: 46%;
  }
}

@media only screen and (max-width: 768px) {
  #banner_hp .inner > div {
    max-width: 100%;
  }
  #banner_hp .inner {
    justify-content: center;
    text-align: center;
    gap: 30px;
  }
  .user_wrapper form > div {
    width: 46%;
  }
  #features ul li {
    width: 47%;
  }
  #login_logo {
    margin: 0 auto 35px;
  }
}

@media only screen and (max-width: 600px) {
  #banner_right img {
    max-width: 275px;
  }
  .user_wrapper form > div {
    width: 100%;
  }
  #features ul li {
    width: 100%;
  }
  #features .inner {
    padding-inline: 25px;
  }
  #login_logo img {
    max-width: 215px;
  }
  .user_wrapper form {
    padding: 50px 20px;
  }
}

@media only screen and (max-width: 500px) {
  #banner_right img {
    max-width: 275px;
  }
}

@media only screen and (min-width: 769px) {
  #banner_hp .inner #banner_right {
    text-align: right;
  }
}
/* Progress Indicator (Dots) */
.progress-indicator {
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 40px;
  z-index: 1;
}
.dot {
  position: relative;
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 10px;
  transition: background-color 0.3s;
}
.dot::before {
  content: "";
  position: absolute;
  background: #61aa30;
  width: 0;
  height: 2px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  transition: 1s all ease;
}
.dot.active::before {
  width: 40px;
}
.dot.active {
  background-color: #61aa30;
}
.submit_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.dot:last-child::before {
  content: none;
}

@media only screen and (max-width: 500px) {
  .error-message {
    bottom: -18px;
    font-size: 11px;
  }
  .user_wrapper form {
    gap: 30px 25px;
  }
  .submit_btn {
    margin: 0;
  }
}

@media only screen and (min-width: 601px) and (max-width: 850px) {
  .error-message {
    bottom: -20px;
    font-size: 11px;
  }
}
