:root {
  --header-height: 7vh;
  --main-font-color: #111111;
  --main-blue: rgb(35, 175, 196);;
  --main-green: rgb(161, 225, 128);;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: absolute !important;
  font-size: clamp(16px, 2vw, 20px);
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--main-font-color);
}

.header__logo {
  height: calc(var(--header-height) - 5px);
}

.header__title {
  margin: 0;
}

.header__phone {
  color: var(--main-blue);
  transition: .2s ease-in-out;
}

.header__phone:hover {
  color: rgb(101, 209, 38);
}

.container {
  margin: 0 15vh;
}

.container > * {
  z-index: 1;
}

.header__link {
  border: 2px solid var(--main-blue);
  font-weight: 600;
  border-radius: 24px;
  color: var(--main-font-color);
  padding: 7px 10px;
  transition: 0.3s background ease;
}

.header__link:hover {
  background: rgba(75, 203, 253, 0.445);
}

.header__cta {
  border: 3px solid var(--main-blue);
  background: var(--main-blue);
  font-weight: 600;
  color: white;
  border-radius: 24px;
  padding: 7px 10px;
  transition: 0.3s border ease;
}

.header__cta:hover {
  border: 3px solid var(--main-green);
}

.header .container {
  max-width: 85vw;
  height: var(--header-height);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header__block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__block.logo {
  gap: 5px;
}

.header__block.logo a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.main section {
  height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
  background-color: #fafafa;
}

.main section .container {
  height: inherit;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.about .container {
  width: 100vw;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative;
}

.hero {
  position: relative;
}


.hero .container {
  justify-content: space-between !important;
}

/* .hero .container {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
} */

.hero__block {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 9.3vw;
  align-content: start !important;
  justify-content: stretch !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  margin-bottom: 2.3vh;
}

.hero__title {
  color: var(--main-font-color);
  font-size: 74px;
  width: fit-content;
  margin: 2vh 3vw;
  text-align: center;
  line-height: 1;
}

@media (max-width: 1750px) {
  .hero__title {
    font-size: 64px;
  }
}

@media (max-width: 1600px) {
  .hero__title {
    font-size: 55px;
  }
}

.hero__subtitle {
  width: 70%;
  font-weight: 500;
  font-size: 40px;
  color: #111111ba;
  margin: 0 3vw;
  font-style: italic;
}


.susu__background {
  /* fill: #264796; */
  fill: var(--main-blue);
  filter: opacity(0.5);
  position: absolute;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.about {
  display: flex;
  align-items: center;
  /* background-color: rgb(137, 230, 247); */
}

.about__title {
  margin: 0;
}

.about__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  padding: 40px;
  border-radius: 24px;
  /* background: var(--main-blue);
  backdrop-filter: blur(10px); */
  /* color: white; */
  /* box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.3); */
  color: var(--main-font-color);
  position: relative;
}

.about__label {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.about__title {
  font-size: 52px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.about__subtitle {
  font-size: 24px;
  margin-bottom: 32px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}

.about__subtitle strong {
  text-decoration: underline var(--main-green) 3px;
}
.about__stat {
  box-shadow: 0px 0px 10px 0px rgba(48, 97, 134, 0.1);
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}

.about__stat-number {
  display: block;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--main-blue);
  margin-bottom: 8px;
}

.about__stat-text {
  font-size: 20px;
}

.about__description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 22px;
  background: var(--main-green);
  color: var(--main-font-color);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s box-shadow ease-in;
}

.about__cta:hover {
  box-shadow: 0px 0px 15px 0px #80ca5e;
}

.about__right_block {
  display: flex;
  width: calc(75vw - 560px);
  position: relative;
  padding: 40px;
}

.about__right_title {
  font-size: clamp(32px, 4vw, 60px);
  margin: 0;
}

.about__right_description {
  font-size: clamp(16px, 3vw, 32px);
  margin: 12px 0;
}

.about__right_list {
  font-size: clamp(14px, 3vw, 24px);
  list-style: none;
  padding-left: 0;
  width: 80%;
}

.about__right_list-item {
  margin-bottom: 0;
}

.about__right_item {
  border: 1px solid rgba(35, 175, 196, 0.16);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(34, 60, 80, 0.06);
  margin-bottom: 16px;
}

.about__right_question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.about__right_question span {
  font-size: clamp(16px, 3vw, 28px);
  color: var(--main-font-color);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline 4px solid var(--main-blue);
}

.about__right_icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--main-green);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: 0.3s ease-in;
}

.about__right_item.active .about__right_icon {
  background: var(--main-blue);
}

.about__right_answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.about__right_answer-inner {
  overflow: hidden;
}

.about__right_item.active .about__right_answer {
  grid-template-rows: 1fr;
}

.about__right_answer-inner p {
  margin: 0;
  padding: 0 30px 24px;
  line-height: 1.6;
  font-size: clamp(18px, 3vw, 24px);
}

.about__bg {
  user-select: none;
  pointer-events: none;
  position: absolute;
  bottom: 0;
  right: -6vw;
  height: 60vh;
}

.page-dots {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  gap: 5px;

  z-index: 999;
}

.dot {
  width: 5px;
  height: 15px;
  border-radius: 20px;
  background: var(--main-green);
  border: 2px solid var(--main-blue);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  height: 25px;
  border-radius: 20px;
  background: var(--main-blue);
}

.courses__header {
  font-size: 52px;
  color: var(--main-font-color);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.courses__container {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 50px;
  padding: 3vh 0;
  flex: 1;
  
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.courses__container::-webkit-scrollbar {
  height: 8px;
}

.courses__container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.courses__container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.courses__container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.courses__block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.courses__card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  width: calc(50% - 85px - 5px);
  min-height: 20vh;
  max-height: 65vh;
  padding: 30px;
  border-radius: 24px;
  /* background: linear-gradient(135deg, var(--main-blue) 0%, #20a8bc 100%);
  backdrop-filter: blur(10px); */
  /* color: white; */
  color: var(--main-font-color);
  position: relative;  
  transition: transform 0.3s ease;
}

.courses__card:hover:not(.alt) {
  transform: translateY(-5px);
}

.courses__card img {
  position: relative !important;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 100% 20%;
  user-select: none;
  pointer-events: none;
}

.courses__card .sale {
  position: absolute !important;
  top: -20px;
  right: -20px;
  background: #E6324B;
  width: 70px;
  border-radius: 50%;
  color: #fff;
  height: 70px;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.courses__card strong {
  text-decoration: underline var(--main-green) 3px;
}

.courses__label {
  position: absolute !important;
  top: -15px;
  left: 15px;
  font-size: 18px;
  /* background: var(--main-green); */
  background: #af45ef;
  color: white;
  font-weight: 700;
  border-radius: 24px;
  max-width: fit-content;
  padding: 10px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.courses__secondary-label {
  position: absolute !important;
  top: 0;
  right: 0;
  color: #8080807a;
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  padding: 5px;
  padding-right: 15px;
  margin: 0;
}

.courses__title {
  height: auto;
  font-size: 40px;
  line-height: 1.05;
  margin-top: 10px;
  margin-bottom: 10px;
}

.courses__subtitle {
  height: auto;
  font-size: 28px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.courses__description {
  height: auto;
  font-size: 24px;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 10px;
}

.courses__cta {
  font-size: 24px;
  display: inline-block;
  background: white;
  color: var(--main-blue);
  padding: 12px 24px;
  border: 2px solid var(--main-blue);
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.courses__cta:hover {
  transform: scale(1.05);
  background: #f0f0f0;
}

.courses__card.alt {
  /* background: linear-gradient(135deg, #1a8f9e 0%, var(--main-blue) 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.courses__card.alt .courses__cta {
  background: white;
  color: var(--main-blue);
  padding: 15px 30px;
  font-size: 24px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--main-blue);
  backdrop-filter: blur(4px);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--main-green);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: -22px;
}

.carousel-next {
  right: -22px;
}

@media (max-width: 768px) {
  .courses__card {
    min-width: 80vw;
    min-height: 40vh;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .courses__title {
    font-size: 24px;
  }
  
  .courses__subtitle {
    font-size: 18px;
  }
  
  .courses__container {
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .courses__card {
    min-width: 45vw;
  }
}

.faq {
  display: flex;
  align-items: center;
  background-color: rgb(137, 230, 247) !important;
  color: var(--main-font-color);
  position: relative;
  z-index: 10;
}

.faq .container {
  width: 100%;
  align-items: center;
  justify-content: center;
}

.faq__inner {
  width: 100%;
  height: 80vh;
  max-width: 980px;
  padding: 32px;
  border-radius: 32px;

  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.3);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-rows:
    auto
    1fr
    auto;

  gap: 24px;
}

.faq__list {
  align-self: start;

  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__head {
  text-align: center;
  margin-bottom: 24px;
}

.faq__label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 700;
  color: var(--main-blue);
}

.faq__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.faq__subtitle {
  margin: 12px 0 0;
  font-size: clamp(16px, 3vw, 24px);
  opacity: 0.75;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid rgba(35, 175, 196, 0.16);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(34, 60, 80, 0.06);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.faq__question span {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  line-height: 1.35;
}

.faq__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--main-green);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: 0.3s ease-in;
}

.faq__item.active .faq__icon {
  background: var(--main-blue);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__item.active .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer p {
  margin: 0;
  padding: 0 20px 18px;
  line-height: 1.6;
  font-size: clamp(14px, 3vw, 20px);
}

.faq__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.faq__page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(35, 175, 196, 0.25);

  background-color: #fff;
  color: var(--main-blue);

  font-weight: 700;
  cursor: pointer;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    background-color 0.3s ease;
}

.faq__page-btn:hover {
  background: rgba(35, 175, 196, 0.08);
}

.faq__page-btn.active {
  background: var(--main-green);
  border-color: var(--main-blue);
  color: #fff;
}

.faq__page-btn:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.faq__question:focus-visible,
.faq__page-btn:focus-visible {
  outline: 2px solid var(--main-blue);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .faq__inner {
    padding: 22px;
    border-radius: 24px;
  }

  .faq__question {
    padding: 16px;
  }

  .faq__question span {
    font-size: 16px;
  }

  .faq__subtitle {
    font-size: 16px;
  }

  .faq__icon {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }
}

.contact_form {
  position: relative;
  margin-top: 3vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  /* background: var(--main-blue);
  box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.3); */
  border-radius: 24px;
  padding: 32px;
  height: 45%;
  margin: 0;
  /* align-self: center; */
  align-self: self-end;
}

.contact_form .contact_form__img {
  position: absolute;
  bottom: 15px;
  left: 15px;
  filter: opacity(0.15);
  /* transform: scaleX(-1); */
  width: 85px;
  z-index: 0;
}

.contact_us {
  position: relative;
  align-self: self-end;
}

.contact_form__bg {
  user-select: none;
  pointer-events: none;
  position: absolute;
  bottom: 100%;
  width: 100%;
}

.contact_form__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact_form__header {
  font-size: 42px;
  font-weight: 700;
  color: var(--main-font-color);
}

.contact_form input,
.contact_form textarea {
  width: 30vw;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 20px;
  resize: vertical;
  z-index: 1;
}

.contact_form button {
  align-self: center;
  padding: 12px 24px;
  border-radius: 14px;
  background: var(--main-green);
  color: var(--main-font-color);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s box-shadow ease-in;
}

.contact_form button:hover {
  box-shadow: 0px 0px 15px 0px #80ca5e;
}

.promotion {
  position: relative;
  margin-top: 3vh;
  display: flex;
  flex-direction: column;
  gap: 5vh;
}

.promotion .left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.promotion .right {
  position: static !important;
}

.promotion .right img {
  position: absolute;
  top: 5px;
  right: 5px;
  filter: opacity(0.15);
  width: 180px;
}

.promotion .courses {
  border-left: 5px solid #0fdb4c;
}

.promotion .services {
  border-left: 5px solid #ea823b;
}

.promotion__card {
  width: 35vw;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px;
  border-radius: 24px;
  color: var(--main-font-color);
  /* box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.3); */
  /* background: linear-gradient(135deg, var(--main-blue) 0%, #20a8bc 100%); */
  position: relative;;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: rgb(35, 175, 196, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

#courses .card.courses__card::after {
  border-left: 5px solid #0fdb4c;
  border-right: 5px solid #0fdb4c;
}

#services .card.courses__card::after {
  border-left: 5px solid #ea823b;
  border-right: 5px solid #ea823b;
}

.card.courses__card {
  position: relative;
}

.card.courses__card > * {
  position: relative;
}

.card > * {
  z-index: 2;
}

.card.alt::after {
  background: rgb(56 205 151 / 39%);
} 

.promotion__subtitle {
  margin: 0;
  width: fit-content;
  padding: 0px 10px;
  border-radius: 10px;
  border: 3px solid var(--main-green);
  text-transform: uppercase;
  font-size: 24px;
}

.courses .promotion__subtitle {
  border-color: #0fdb4c;
}
.services .promotion__subtitle {
  border-color: #ea823b;
}

.promotion__title {
  margin: 0;
  font-size: 40px;
}

.promotion__description {
  margin-top: 10px;
  font-size: 24px;
  max-width: 500px;
}

.promotion .categories__selector {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 5px 10px;
}

.promotion .categories__selector .category__name {
  text-align: center;
  text-transform: capitalize;
  font-size: clamp(16px, 2vw, 20px);
  padding: 8px 16px;
  border: 2px solid white;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
  line-height: 1;
}

.promotion .categories__selector .category__name:hover {
  background: rgba(255, 255, 255, 0.4);
}

.courses__cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 16px;
}

.courses__cta-block .price {
  display: flex;
  flex-direction: column;
  gap: 0 5px;
  border: 2px solid var(--main-blue);
  border-radius: 24px;
  padding: 5px 20px;
  background: #fff;
}

.courses__cta-block .price > * {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  position: relative;
  width: fit-content;
  padding: 0;
  margin: 0;
}

.courses__cta-block .price div > * {
  padding: 0;
  margin: 0;
} 

.courses__cta-block .price .new .num {
  color: #E6324B;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.courses__cta-block .price .new .currency {
  color: #E6324B;
  font-size: 24px;
  font-weight: 500;
}

.courses__cta-block .price .old .num{
  color: #E6324B;
  opacity: 0.4;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.courses__cta-block .price .old .currency {
  color: #E6324B;
  opacity: 0.4;
  font-size: 16px;
  font-weight: 500;
}

.courses__cta-block .price .old::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: #E6324B;
  opacity: 0.4;
}