:root {
  --primary-bg: #25d0ff;
  --secondary-bg: #067d9e;
}

/****************************
			   Global Style
	*****************************/
*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/****************************
			Main Style
	*****************************/
.window-gallery {
  padding: 80px 10px;
  display: none;
}

.grid-container {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(var(--window-column), 1fr);
}

.window-gallery__item-figure {
  width: 100%;
}

.window-gallery__item-figure img {
  width: 100%;
}

.window-gallery__item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-bg);
  padding: 10px;
}

.window-gallery__item-title {
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  font-size: 14px;
}

.window-gallery__item-field .input {
  padding: 3px 10px;
  font-size: 16px;
  line-height: 1.25;
  color: var(--secondary-bg);
  background-color: #fff;
  border: 1px solid var(--secondary-bg);
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  width: 100px;
  height: 33px;
}

.window-gallery__item-field .input:hover::placeholder,
.window-gallery__item-field .input:focus::placeholder {
  color: var(--secondary-bg);
}

.window-gallery__item-field {
  position: relative;
}

.window-gallery__item-field::after,
.window-gallery__item-field::before {
  content: "";
  position: absolute;
  right: 14px;
  width: 1px;
  height: 0;
  pointer-events: none;
}

.window-gallery__item-field::after {
  border: 5px solid;
  border-color: transparent transparent var(--secondary-bg) transparent;
  top: 4px;
}

.window-gallery__item-field::before {
  border: 5px solid;
  border-color: var(--secondary-bg) transparent transparent transparent;
  bottom: 4px;
}

.window-gallery__item-field .input:focus,
.window-gallery__item-field .input:focus-visible {
  outline: 0px;
  border-width: 2px;
}

@media (max-width: 1500px) {
  .window-gallery__items.grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .window-gallery__items.grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .window-gallery__items.grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .window-gallery__items.grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.form__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  background-color: var(--primary-bg);
  padding: 30px 0 50px;
  margin-bottom: 0 !important;
}

.form__step {
  position: relative;
  height: 20px;
  width: 20px;
  color: var(--secondary-bg);
  background-color: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

.form__step-text {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #ffffff;
  transition: 0.3s;
  font-size: 14px;
  margin: 0;
}

.step-active {
  color: #fff;
  background-color: var(--secondary-bg);
}

.step-active .form__step-text {
  color: var(--secondary-bg);
}

.form__step:before,
.form__step:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background-color: #ffffff;
  width: 100px;
  transition: 0.3s;
}

.form__step:first-child::before,
.form__step:last-child::after {
  display: none;
}

.form__step:before {
  right: 100%;
}

.form__step:after {
  left: 100%;
}

.step-active:before,
.step-active:after {
  background-color: var(--secondary-bg);
}

.form__fields {
  max-width: 830px;
  margin: 0 auto;
  padding: 80px 15px;
}

.form__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.form__field.space-top {
  padding-top: 28px;
}

.form__field {
  margin-bottom: 20px;
}

.text-danger {
  color: red;
  font-size: 14px;
  line-height: 1.3;
  font-family: Sans-Serif;
  margin: 5px 5px 0;
}

.window-gallery .text-danger {
  margin: 0 0 20px;
  text-align: center;
}

.form__row .form__field {
  flex: 1;
  max-width: 50%;
}

.form__field .label {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 400;
  color: #252525;
  display: inline-block;
  margin-bottom: 8px;
}

.form__field .label span {
  color: red;
}

.form__field .input,
.form__field .select {
  width: 100%;
  max-width: 100%;
  font-weight: 400;
  padding: 10px 15px;
  font-size: 16px;
  line-height: 1.25;
  color: #252525;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  outline-color: var(--secondary-bg);
  text-align: left;
}

.check-agreement .label {
  display: inline-block;
  padding-left: 5px;
  cursor: pointer;
  margin-bottom: 0!important;
}

.check-agreement .checkbox {
  accent-color: var(--primary-bg);
  vertical-align: middle;
}

.form__fields .form__next-btn,
.window-gallery .form__view-price-btn {
  text-align: center;
  width: 100px;
  margin-left: auto;
  display: block;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
  padding: 8px 12px;
  background-color: var(--primary-bg);
  color: #ffffff;
  border: 1px solid var(--primary-bg);
  border-radius: 4px;
  outline-color: var(--secondary-bg);
  transition: 0.3s;
  cursor: pointer;
}

.form__fields .form__next-btn:hover,
.form__fields .form__next-btn:focus,
.window-gallery .form__view-price-btn:hover {
  background-color: var(--secondary-bg);
  border-color: var(--secondary-bg);
}

.window-gallery .form__view-price-btn {
  width: 220px;
  margin: 60px auto 0;
  padding: 12px 15px;
  font-size: 18px;
}

/* Price Cards */

.price-cards {
  padding: 30px 0 80px;
  background-color: var(--primary-bg);
  display: none;
}

.price-cards__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 100px;
  grid-gap: 40px;
}

.price-card {
  box-shadow: 0 3px 33px rgba(0, 0, 0, 0.16);
  background-color: #ffffff;
  border-radius: 5px;
}

.price-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: #ffffff;
  margin: 0;
  padding: 12px 20px;
  background-color: var(--secondary-bg);
}

.subcription .price-card__title {
  background-color: var(--secondary-bg);
}

.price-card__body {
  padding: 20px;
  text-align: center;
}

.price-card__body button {
  background-color: var(--primary-bg);
  color: #ffffff;
  border: 0;
  padding: 12px 30px;
}

.price-card__body button:hover {
  background-color: var(--secondary-bg);
  border: 0;
}

.price-card__subtitle {
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  color: rgb(51, 51, 51);
  margin: 0 0 5px;
}

.price-card__label {
  color: var(--primary-bg);
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
}

.price-card__price {
  padding: 0 8px;
  font-size: 42px;
  position: relative;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: rgb(51, 51, 51);
  margin: 16px 0 10px;
}

.price-card__price-prev,
.price-card__price-next {
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: 400;
}

.price-card__price-prev {
  vertical-align: top;
}

.price-card__price-next {
  vertical-align: baseline;
}

.price-card__question {
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  line-height: 1.3;
  color: var(--primary-bg);
  background-color: #b7e0eb;
  padding: 3px;
  border: 1px solid #b7e0eb;
  border-radius: 4px;
  margin: 0;
}

.price-card__question > span {
  height: 16px;
  width: 16px;
  font-size: 10px;
  background-color: #b3b3b3;
  display: inline-block;
  margin-left: 4px;
  border-radius: 50%;
  line-height: 1.6;
  color: #ffffff;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.price-card__question span:hover {
  background-color: var(--primary-bg);
}

.price-card__question .tooltip {
  position: absolute;
  top: 180%;
  left: 50%;
  transform: translateX(-50%);
  color: #000;
  font-weight: 400;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 8px;
  width: 150px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.16);
  display: none;
  transition: 0.3s;
}

.price-card__question .tooltip a {
  color: #000000;
  text-decoration: underline;
}

.price-card__question > span:hover .tooltip {
  background-color: #ffffff;
  display: block;
}

.price-card__question .tooltip::after {
  position: absolute;
  content: "";
  border: 10px solid;
  border-color: transparent transparent #ffffff;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.price-card__features {
  margin-top: 35px;
  text-align: left;
}

.price-card__feature {
  display: flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgb(51, 51, 51);
  margin-bottom: 10px;
}

.price-card__feature svg {
  width: 15px;
  height: 15px;
}

.price-card__info {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgb(51, 51, 51);
  text-align: start;
}

.price-card__info span {
  vertical-align: baseline;
}

div#winc-success.active {
  display: flex;
}

div#winc-success .inner {
  background: #ffffff;
  border-radius: 8px;
  padding: 62px 120px;
  font-size: 40px;
  color: var(--secondary-bg);
  font-weight: 600;
}

div#winc-success {
  display: none;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  z-index: 9999999999999;
}

@media (max-width: 991px) {
  .price-cards__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .price-card {
    max-width: 400px;
    place-self: center;
  }
}

@media (max-width: 767px) {
  .price-cards__inner {
    padding: 0 20px;
  }

  .form__steps {
    gap: 100px;
    padding-bottom: 80px;
  }

  .form__step:before,
  .form__step:after {
    width: 50px;
  }

  .form__step-text {
    white-space: wrap;
  }
}

@media (max-width: 575px) {
  .form__fields {
    padding-top: 40px;
  }

  .window-gallery {
    padding: 40px 10px;
  }

  .form__row {
    gap: 0;
    flex-direction: column;
  }

  .form__field.space-top {
    padding: 0;
  }

  .form__row .form__field {
    max-width: 100%;
  }
}
