:root {
  --black-main: #222222;
  --black-light: #767676;
  --blue-main: #275ec7;
  --blue-dark: #0d2451;
  --blue-light: #3893ff;
  --blue-ghost: #e3eeff;
  --blue-extra-light: #98c1ff;
}

body {
  /*overflow-x: hidden;*/
}
/* benefits */
.benefits-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.benefits-list__item {
  width: 100%;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 1px 2px 8px 0px rgba(34, 34, 34, 0.04),
    0px 0px 4px 0px rgba(34, 34, 34, 0.08);
}
.benefits-list__item-number {
  display: flex;
  gap: 2px;
}
.benefits-list__item p {
  font-weight: 500;
}
/* Requirements */
.requirements {
  width: 100%;
  padding: 40px 40px 50px;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 140px;
  background-color: var(--blue-dark);
  border-radius: 8px;
  overflow: hidden;
}
.requirements h2,
.requirements nobr {
  font-size: 60px;
  font-weight: 600;
  line-height: 110%;
  color: #fff;
  z-index: 1;
}
.requirements ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.requirements ul li {
  display: flex;
  gap: 12px;
  font-weight: 500;
  color: #fff;
}
.requirements ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background-color: var(--blue-main);
  border-radius: 50%;
  position: relative;
  top: 9px;
}
.requirements img {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
}
/* info */
.info {
  width: 100%;
}
.info.swiper {
  /*overflow: visible !important;*/
}
.info__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info__cards-item {
  min-height: 360px;
  position: relative;
  padding: 40px;
  background-color: var(--blue-dark);
  border-radius: 8px;
}
.info__cards-item .bg-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: var(--blue-dark);
  transition: transform 0.2s ease;
  overflow: hidden;
}
.info__cards-item:hover .bg-form {
  transform: scale(1.02);
}
.info__cards-item:hover .bg-shape {
  opacity: 0;
}
.info__cards-item .tag {
  width: fit-content;
  padding: 4px 16px 6px;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
  border-radius: 8px;
  color: var(--blue-dark);
  position: relative;
  z-index: 2;
}
.info__cards-item .title {
  position: relative;
  font-size: 32px;
  font-weight: 600;
  line-height: 110%;
  color: #fff;
  z-index: 2;
}
.info__cards-item .content {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  z-index: 2;
}
.info__cards-item .bg-shape {
  position: absolute;
  transition: opacity 0.2s ease;
  user-select: none;
  z-index: 1;
}
.info__cards-item .bg-shape.top {
  top: 0;
  right: 0;
}
.info__cards-item .bg-shape.bottom {
  bottom: 0;
  right: 0;
}
/* program component */
.program__title-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program__title-tags {
  display: flex;
  gap: 10px;
  position: relative;
  top: 8px;
}

.program__title-tags-item {
  padding: 4px 16px 6px;
  color: var(--blue-dark);
  border: 1px var(--blue-dark) solid;
  border-radius: 8px;
}

.program .btn-primary {
  display: flex;
  gap: 8px;
}

.program .btn-primary p {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 1px;
}
/* END program */

/* Accordion component */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* accordion element */
.accordion {
  padding: 24px 24px 0;
  background-color: #fff;
  box-shadow: 1px 2px 8px 0px rgba(34, 34, 34, 0.04),
    0px 0px 4px 0px rgba(34, 34, 34, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.title-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hide-show-btn {
  background-color: var(--blue-main);
  border-radius: 20px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateZ(-45deg);
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.hide-show-btn:hover {
  background-color: var(--blue-dark);
}

.accordion-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 920px;
  max-height: 0;
  overflow-y: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-content li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.accordion-content p.bold {
  font-weight: 600;
}
.accordion-content p.bold a {
  font-weight: 600;
}
.accordion-content p a {
  color: var(--blue-main);
}
.accordion-content p a:hover {
  color: var(--blue-dark);
}

.accordion-content li::before {
  content: "";
  display: flex;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background-color: var(--blue-main);
}

.accordion.active {
  padding: 24px;
}

.accordion.active .hide-show-btn {
  transform: rotateZ(0);
}
/* END Accordion */

/* Teachers */
.teachers {
  width: 100%;
}
.teachers__list {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: space-between;
}
.teachers__list-item {
  width: calc(33% - 6px);
}
.teachers__list-item img {
  width: 100%;
}
.teachers__list-item p {
  font-size: 32px;
  font-weight: 600;
  line-height: 110%;
}

/* Certificate component */
.certificate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 40px 60px 50px;
  background-color: var(--blue-extra-light);
  border-radius: 8px;
}

.certificate .title {
  color: #fff;
  font-size: 60px;
  font-weight: 600;
  line-height: 110%;
}

.certificate .text {
  max-width: 562px;
  color: #fff;
  font-weight: 500;
}

.certificate img {
  max-width: 573px;
  width: 100%;
}

/* application */
.application {
  position: relative;
  padding: 40px 200px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blue-dark);
  border-radius: 8px;
}
.application .content {
  max-width: 612px;
}
.application h2 {
  color: #fff;
  position: relative;
  z-index: 2;
}
.application p {
  color: #fff;
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.application img {
  height: 100%;
  position: absolute;
  top: 0;
  left: 80px;
}

/* Forms */
.forms__partners,
.forms__help {
  padding: 40px 50px 50px;
}
.form-partners-bg {
  /*top: 40px;*/
}
.forms__help {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.forms__help .btn-border {
  padding: 13px 24px;
}
/* Sign modal */
.sign-modal.web {
  display: none;
}
.sign-modal.web.active {
  display: flex;
}
.sign-modal.mob {
  display: none;
}
.sign-modal {
  /*position: absolute;*/
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0 !important;
  position: fixed;
  border-radius: 8px;
}
.sign-modal.active {
  display: flex;
  z-index: 100;
}
.sign-modal.web form {
	height: 100vh;
	display: flex;
	align-items: center;
}
.sign-modal__window {
  /*height: fit-content;*/
  max-height: calc(100% - 40px);
  /*width: fit-content;*/
  position: relative;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px;
  background-color: #f4f9ff;
  z-index: 6;
  border-radius: 8px;
  overflow-y: auto;
}
.sign-modal__window.active {
  display: flex;
}
.sign-modal__close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 1px 2px 8px 0px rgba(34, 34, 34, 0.04),
    0px 0px 4px 0px rgba(34, 34, 34, 0.08);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.sign-modal__close:hover {
  box-shadow: 1px 2px 8px 0px rgba(34, 34, 34, 0.08),
    0px 0px 4px 0px rgba(34, 34, 34, 0.16);
}
.sign-modal__bg {
  width: 100vw;
  height: 100dvh;
  /* position: absolute; */
  top: 0;
  left: 0;
  background-color: rgba(34, 34, 34, 0.7);
  position: fixed; 
  bottom: 0; 
  right: 0; 
}
.sign-modal h4 {
  font-size: 28px;
  font-weight: 600;
  line-height: 120%;
}
.sign-modal .pick,
.sign-modal .organization,
.sign-modal .education-form,
.sign-modal .who-learn {
  width: 560px;
  padding: 24px;
  background-color: #fff;
  box-shadow: 1px 2px 8px 0px rgba(34, 34, 34, 0.04),
    0px 0px 4px 0px rgba(34, 34, 34, 0.08);
  border-radius: 8px;
}
.sign-modal h5 {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-main);
}
.sign-modal .pick ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sign-modal .pick ul li {
  position: relative;
  display: flex;
  gap: 8px;
}

.sign-modal button.next {
  align-self: flex-end;
}

.sign-modal .col-100 {
  position: relative;
  display: flex;
  gap: 16px;
  width: 100%;
  height: auto;
}
.sign-modal .col-50 {
  width: 50%;
  height: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sign-modal .who-learn {
  padding-bottom: 40px;
}
.sign-modal p.descr {
  font-size: 14px;
  color: var(--black-light);
}
.sign-modal p.descr a {
  font-size: 14px;
  color: var(--blue-main);
  transition: color 0.2s ease;
}
.sign-modal p.descr a:hover {
  color: var(--blue-dark);
}
.sign-modal ul.inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sign-modal ul.inputs li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sign-modal ul.inputs li .input-label {
  font-size: 16px;
  font-weight: 500;
}
.sign-modal .submit {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sign-modal .submit p {
  font-size: 12px;
}
.sign-modal .submit p a {
  font-size: 12px;
  color: var(--blue-main);
  transition: color 0.15s ease;
}
.sign-modal .submit p a:hover {
  font-size: 12px;
  color: var(--blue-dark);
}
.sign-modal .submit .buttons {
  display: flex;
  gap: 12px;
}
.sign-modal .success {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sign-modal .success-title {
  color: var(--black-main);
}
.sign-modal .success-descr {
  font-size: 16px;
}
.sign-modal .success-buttons {
  display: flex;
  gap: 12px;
}

/* breaks in user-filled data */
.header__descr br{
	display:none;
}

.requirements-list br{
	display: none; 
}

.sign-modal_course-name{
  color: var(--blue-main, var(--black-normal, #275EC7));
  font-family: Open Sans;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1440px) {
  .group-application {
    padding: 40px 148px 50px;
  }
}

@media screen and (max-width: 1200px) {
   .group-application,
  .certificate {
    padding: 40px 40px 50px;
  }

  .teacher-card__info a {
    font-size: 18px;
  }

  .teacher-card__info a:last-of-type {
    margin-top: 4px;
  }

  .certificate {
    gap: 0;
  }

  .certificate img {
    width: 50%;
  }
	.sign-modal__window {
		transform: scale(.85);
	}
}

@media screen and (min-width: 993px) {
  .teacher-card__info_mobile {
    display: none;
  }
}

@media screen and (max-width: 992px) {

  .program__title-line {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }
/*
  .swiper {
    overflow-x: visible !important;
  }
*/
  .teachers__list .swiper-wrapper {
    gap: 0;
  }

  .teachers__title {
    display: flex;
    justify-content: space-between;
    align-items: end;
  }

  .teachers__title h2 {
    width: min-content;
  }

  .teachers .swiper-buttons {
    display: flex;
  }

  .group-application {
    padding: 40px;
    flex-direction: column;
  }

  .program__title-tags {
    position: static;
    top: none;
  }

  .certificate {
    padding: 40px;
    flex-direction: column;
    gap: 24px;
  }

  .certificate img {
    width: 106%;
  }

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

  .cards > div {
    padding: 40px;
  }
  /* modal */
  .sign-modal.web {
    display: none;
  }
  .sign-modal.mob {
    display: none;
  }
  .sign-modal.mob.active {
    display: flex;
	position: fixed;
	top: 0;
	left: 0;
    background-color: #f4f9ff;
  }
	.scroll-wrapper {
		overflow-y: scroll;
		max-height: 100%;
	}
	.sign-modal__close {
		z-index: 101;
	}
	.sign-modal .submit {
		display: block;
		justify-content: center;
	}
	.sign-modal .submit a {
		color: var(--blue-main);
	}
	.sign-modal .submit br {
		display: none;
	}
	.sign-modal__window {
		transform: scale(1);
	}
}

@media screen and (max-width: 480px) {

  /* benefits */
  .benefits-list {
    flex-direction: column;
    gap: 8px;
  }
  .benefits-list__item {
    padding: 16px;
  }


  /* forms */
  .forms__partners,
  .forms__help {
    padding: 24px;
  }
  .forms__title {
    font-size: 28px;
  }
  /* modal */
  /*.sign-modal.web {
    display: none;
  }
  .sign-modal.mob {
    display: none;
  }
  .sign-modal.mob.active {
    display: flex;
    background-color: #f4f9ff;
  }*/
  .sign-modal__window {
    display: none;
    padding: 72px 16px 24px;
  }
  .sign-modal__window.active {
    display: flex;
  }
  .sign-modal .scroll-wrapper {
    overflow-y: scroll;
    width: 100%;
    height: 100%;
  }
  .sign-modal .wrapper {
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
  }
  .sign-modal ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .sign-modal .form-education {
    gap: 0;
  }
  .sign-modal p.submit {
    display: block;
    font-size: 12px;
  }
  .sign-modal p.submit a {
    font-size: 12px;
    color: var(--blue-main);
  }
  .sign-modal__close {
    z-index: 10;
  }
  #sign-mobile-accept.sign-modal__window {
    align-items: center;
    padding-top: 152px;
  }
  #sign-mobile-accept.sign-modal__window h5 {
    color: var(--black-main);
    font-size: 20px;
    font-weight: 600;
  }
  #sign-mobile-accept.sign-modal__window p {
    text-align: center;
  }

/* breaks in user-filled data */
  .header__descr br{
	display:flex;
  }

  .requirements-list br{
	display: none; 
  }
}
