: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: clip;
}

h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 110%;
  color: #fff;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

/* Course page - header */
header {
  height: auto;
  padding-top: 0;
}

.header {
  display: flex;
  align-items: center;
  margin-top: 128px;
  padding: 60px;
  background-color: var(--blue-dark);
  border-radius: 8px;
}

.header__content {
  display: flex;
  flex-direction: column;
}

.header__content .tags {
  display: flex;
  gap: 12px;
  flex-direction: row;
  flex-wrap: wrap;
}
.header__content .buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tags__item {
  padding: 4px 16px 6px;
  max-height: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  color: #fff;
  border: 1px #fff solid;
  border-radius: 8px;
}

.tags__item.accent {
  color: var(--blue-dark);
  background-color: #fff;
}

.header__title {
  max-width: 893px;
}

.header__descr {
  color: #fff;
  max-width: 745px;
  font-weight: 500;
}

.header__content .btn-primary {
  width: fit-content;
}

.header__image {
  position: absolute;
  top: 0;
  right: 0;
}
/* END header */

/* 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;
  text-wrap: nowrap;
}
.requirements ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1;
}
.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__title h2 {
	margin-right: 16px;
}
.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;
  justify-content: center;
}

.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;
}

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

.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;
  display: block; 
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}



.accordion-content p b {
  font-weight: 600;
}
.accordion-content p b 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: inline-flex; /*inline*/
  margin-right: 12px; 
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background-color: var(--blue-main);
  position:relative;
  top: -2px;
}

.accordion-content li ul li::before{
	box-sizing:border-box; 
	border:2px solid var(--blue-main);
	background-color: #ffffff; 
 	top: -4px;
}

.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: start;
}
.teachers__list-item {
  width: calc(33% - 6px);
}
.teachers__list-item img {
  width: 100%;
  border-radius: 8px;
}
.teachers__list-item p {
	position: relative;
	top: -6px;
  font-size: 32px;
  font-weight: 600;
  line-height: 110%;
}
.teachers__list-item p span {
  font-size: 32px;
  font-weight: 600;
  line-height: 110%;
}

.teachers__list-trainer {
	height: 550px;
  position: relative;
  padding: 24px;
  width: calc(33% - 6px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--blue-dark);
  border-radius: 8px;
  overflow: hidden;
}
.teachers__list-trainer .text {
  position: relative;
  z-index: 1;
}
.teachers__list-trainer h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
}
.teachers__list-trainer p {
  color: #fff;
  font-weight: 500;
}
.teachers__list-trainer .show-form {
  width: 100%;
}
.teachers__list-trainer img {
  position: absolute;
  top: 0;
  right: 0;
}

/* 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;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  left: 0;
}
.sign-modal.active {
  display: flex;
  z-index: 100;
}
.sign-modal.web form {
	/*max-height: calc(100% - 40px);
    overflow-y: auto;
    border-radius: 8px;*/
	height: 100vh;
	display: flex;
	align-items: center;
}
.sign-modal__window {
  height: fit-content;
  max-height: calc(100% - 40px);
  width: fit-content;
  max-width: calc((560px* 2) + 64px + 16px);
  position: relative;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px;
  background-color: #f4f9ff;
  border-radius: 8px;
  z-index: 6;
  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: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(34, 34, 34, 0.7);
}
.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:block;
}

.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) {
  h1.header__title {
	font-size: 72px;
	z-index: 2;
  }
  .header__descr br {
	display: none;
  }
  .header__image {
	height: 100%;
	display: none;
  }
  .header__image img {
    height: 100%;
  }
  .group-application {
    padding: 40px 148px 50px;
  }
  .info__cards-item {
	min-height: 408px;
  }
}

@media screen and (max-width: 1200px) {
  .header__image {
    display: none;
  }

  .group-application,
  .certificate {
    padding: 40px 40px 50px;
  }

	.teachers__list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/*grid-template-rows: repeat(2, 1fr);*/
	}
	.teachers__list-trainer {
		height: auto;
		width: 100%;
		grid-row-start: 2;
		grid-row-end: 2;
		grid-column-start: 1;
		grid-column-end: 4;
	}
	.teachers__list-item {
		width: 100%;
	}
	.teachers__list-trainer h3 {
		font-size: 60px;
		font-weight: 600;
		line-height: 110%;
	}
	.teachers__list-trainer p {
		font-size: 18px;
	}
	.teachers__list-trainer img {
		display: none;
	}
	.teachers__list-trainer .show-form {
		width: fit-content;
	}
  .teacher-card__info a {
    font-size: 18px;
  }

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

  .certificate {
    gap: 0;
  }

  .certificate img {
    width: 50%;
  }
  .requirements {
	gap: 52px;
  }

	.application {
		padding: 40px 80px 50px;
	}
	.sign-modal__window {
		transform: scale(.85);
	}
}

@media screen and (max-width: 1440px) {
	.application {
		padding: 40px 100px 50px;
	}
}

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

@media screen and (max-width: 992px) {
  nav.container {
    background-color: var(--blue-dark);
  }
  h1.header__title {
	font-size: 48px;
  } 
  h1.header__title br {
	display: none;
  } 
  .header {
    width: 100vw;
    margin-left: -40px;
    margin-top: 0;
    padding: 100px 40px 60px;
    border-radius: 0;
  }

  .header__title {
    font-size: 60px;
  }
  .header__descr{
	max-width: 100%;
  }

  .requirements {
	flex-direction: column;
	gap: 40px;
  }
  .requirements ul {
	z-index: 2;
  }

  .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;
  }
	.teachers__list-item p  {
		font-size: 24px;
	}

  .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;
  }

  .sign-modal.mob {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-height: 100dvh;
    overflow-y: auto;
	align-items: flex-start;
  }
  .sign-modal__window {
	border-radius: 0;
	transform: scale(1);
  }
  .sign-modal__close {
	z-index: 10;
  }
  .sign-modal .submit-new {
	display: flex;
	justify-content: center;
  }
  .sign-modal .submit {
	display: block;
  }
  .sign-modal .submit a {
	color: var(--blue-main);;
  }
  .sign-modal .submit br {
	display: none;
  }
}

/* lg */
@media screen and (max-width: 992px) {
  .application {
    padding: 40px 70px 50px;
  }
}

/* md */
@media screen and (max-width: 767.9px) {
  .header {
    margin-left: -20px;
    padding: 100px 20px 60px;
  }
  /* application */
  .application {
    flex-direction: column !important;
    padding: 24px !important;
    gap: 24px;
  }
  .requirements {
	flex-direction: column;
	gap: 40px;
  }
  .requirements ul {
	z-index: 2;
  }
	.teachers__list-trainer h3 {
		font-size: 28px;
		font-weight: 600;
		line-height: 110%;
	}
	.teachers__list-trainer p {
		font-size: 16px;
	}
	.teachers__list-trainer .show-form {
		width: 100%;
	}
}

/* sm */
@media screen and (max-width: 480px) {
  nav.container {
    background-color: var(--blue-dark);
  }

  /* header */
  .header {
    margin-left: -16px;
    padding: 104px 16px 60px;
  }
  h1.header__title {
    font-size: 36px;
	hyphens: manual;
	-moz-hyphens: manual;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
  }
  .header__content {
	width: 100%;
  }
  .header__content .btn-primary {
    width: 100%;
  }

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

  /* Requirements */
  .requirements {
    padding: 24px;
    gap: 16px;
    flex-direction: column;
    align-items: start;
  }
  .requirements h2 {
    font-size: 28px;
  }
  .requirements h2 nobr {
    font-size: 28px;
  }
  .requirements ul li {
    font-size: 16px;
  }
  .requirements ul li::before {
    top: 7px;
  }
  .requirements img {
    display: none;
  }

  /* info */
	.info__title {
	  width:100%;
	}

  .info.swiper {
    width: 100vw;
    left: -16px;
    padding: 0 16px !important;
    overflow: hidden !important;
  }
  .info .swiper-buttons {
    width: 88px !important;
	top: 3px;
  }
  .info__cards-item .bg-shape.top {
    max-height: 70%;
  }
  .info__cards-item .bg-shape.bottom {
    max-height: 80%;
  }
  .info__cards-item {
    padding: 24px;
    min-height: auto;
    min-height: 310px;
  }
  .info__cards-item .tag {
    position: relative;
    z-index: 2;
  }
  .info__cards-item .title {
    font-size: 24px;
  }
  .info__cards-item .content {
    font-size: 16px;
  }

  /* program */
  .program__title-line {
    gap: 0;
  }
  .program .btn-primary {
    width: 100%;
  }

  /* accordion */
  .accordion {
    padding: 16px 16px 0;
  }
  .accordion.active {
    padding: 16px;
  }
  .accordion .title {
    font-size: 16px;
	margin-right: 16px;
  }

  /* teachers */
  .teachers h2 {
    font-size: 32px;
    line-height: 110%;
  }
  .teachers__list {
	display: flex;
    flex-direction: column;
  }
  .teachers__list-item {
    width: 100%;
  }
  .teachers__list-item p {
    font-size: 24px;
  }
  .teachers__list-item p span {
    font-size: 24px;
  }
	.teachers__list-trainer {
		height: auto;
		width: 100%;
		margin-top: 44px;
	}

  /* application */
  .application {
    padding: 24px;
    flex-direction: column;
    gap: 24px;
  }
  .application p {
    font-weight: 500;
  }
  .application img {
    display: none;
  }

  /* certificate */
  .certificate {
    padding: 24px 24px 20px;
  }
  .certificate .title {
    font-size: 28px;
  }
  .certificate .text {
    font-weight: 500;
  }

  /* 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:none;
  }

  .requirements-list br{
	display: none; 
  }

	.accordion-list {
		gap: 8px;
	}
}
