body {
  font-family: 'Inter', sans-serif;
  background-color: #0d1117;
  color: #ffffff;
}

.header {
  background-color: #0d1117;
  padding: 20px 0;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header__container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header__logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #58a6ff;
  font-family: 'Inter', sans-serif;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav__link {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Fira Code', monospace;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: #58a6ff;
}

.header__button {
  background-color: #58a6ff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.header__button:hover {
  background-color: #0d1117;
  color: #58a6ff;
  transform: translateY(-5px);
}

.header__button:active {
  transform: translateY(0);
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
  .header {
    padding: 15px 0;
  }

  .header__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__logo {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .nav__list {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav__link {
    font-size: 0.85rem;
    text-align: left;
  }

  .header__button {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
  }
}

.main-content {
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.course-hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.course-hero-text {
  width: 60%;
  padding-right: 40px;
}

.course-labels {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.body.green-light, .body.blue-light, .body.orange-light {
  background-color: #58a6ff;
  padding: 5px 10px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.body.orange-light {
  background-color: #f39c12;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.round-labels {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.round-item {
  display: flex;
  align-items: center;
}

.round-label {
  display: flex;
  align-items: center;
}

.round-label-dot {
  width: 10px;
  height: 10px;
  background-color: #58a6ff;
  border-radius: 50%;
  margin-right: 10px;
}

.body-2 {
  font-size: 1rem;
  color: #c9d1d9;
}

.button-div {
  margin-top: 20px;
}

.button {
  background-color: #58a6ff;
  padding: 12px 24px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0d1117;
  color: #58a6ff;
}

.course-hero-image {
  width: 35%;
}

.course-placeholder {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
  .main-content {
    padding: 40px 20px;
  }

  .course-hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .course-hero-text {
    width: 100%;
    padding-right: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .course-labels {
    justify-content: center;
    gap: 8px;
  }

  .body.green-light, .body.blue-light, .body.orange-light {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .round-labels {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .button-div {
    margin-top: 30px;
    text-align: center;
  }

  .button {
    font-size: 0.9rem;
    padding: 10px 20px;
    /* width: 100%; */
  }

  .course-hero-image {
    width: 80%;
    margin: 20px;
  }

  .course-placeholder {
    border-radius: 5px;
  }
}

.cv-content-div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0d1117;
}

.h2.cv {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 40px;
  text-align: center;
}

.cv-text-div {
  display: flex;
  flex-direction: column;
}

.position-div {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.positiion-img {
  width: 100px;
  border-radius: 10%;
  margin-right: 20px;
}

.position-text-div {
  display: flex;
  flex-direction: column;
}

.subhead2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #c9d1d9;
}

.h2.yellow-medium {
  font-size: 1.4rem;
  color: #f39c12;
}

.cv-line {
  border-top: 1px solid #2d2d2d;
  margin: 40px 0;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cv-item {
  display: flex;
  align-items: center;
}

.elipse-div {
  width: 10px;
  height: 10px;
  background-color: #58a6ff;
  border-radius: 50%;
  margin-right: 15px;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
  .cv-content-div {
    padding: 40px 15px;
  }

  .h2.cv {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .cv-text-div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .position-div {
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .positiion-img {
    width: 80px;
    margin-bottom: 15px;
    margin-right: 0;
  }

  .position-text-div {
    align-items: center;
    text-align: center;
  }

  .subhead2 {
    font-size: 1rem;
  }

  .h2.yellow-medium {
    font-size: 1.2rem;
  }

  .cv-line {
    margin: 30px 0;
  }

  .cv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cv-item {
    flex-direction: row;
    gap: 10px;
    align-items: center;
    text-align: left;
  }

  .elipse-div {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.body {
  font-size: 1rem;
  color: #c9d1d9;
}

.main-form-text-div.const {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.text-cons-div {
  max-width: 600px;
}

.text-cons-div h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.body {
  font-size: 1rem;
  color: #c9d1d9;
  margin-bottom: 30px;
}

.button-div.const-block .button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #58a6ff;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button-div.const-block .button:hover {
  background-color: #3b8cd9;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
  .main-form-text-div.const {
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
  }

  .text-cons-div {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .text-cons-div h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .body {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .button-div.const-block .button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

.about-form-img.const {
  max-width: 50%;
  object-fit: cover;
}

.admission-content-div {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.h1.admission {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
}

.admission-line {
  width: 50px;
  height: 3px;
  background-color: #ff6f61;
  margin-bottom: 40px;
}

.admission-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin-bottom: 40px;
  width: 100%;
}

.admission-item {
  background-color: #393131; /* Темніший фон */
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.admission-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* Текст кроку */
.admission-item-text {
  color: #333;
}

/* Номер кроку */
.body-2.admission-step {
  font-size: 1.1rem;
  color: #777;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Заголовок кроку */
.subhead1.admission.orange-light {
  font-size: 1.5rem;
  color: #ff6f61;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Опис кроку */
.body-2.admission {
  font-size: 1rem;
  color: #666;
}

/* Стилі для кнопки */
.button-div.admission {
  margin-top: 40px;
}

.button.w-button {
  background-color: #ff6f61;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.button.w-button:hover {
  background-color: #e14a43;
  transform: translateY(-5px);
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
  .about-form-img.const {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .admission-content-div {
    padding: 40px 15px;
  }

  .h1.admission {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .admission-line {
    width: 40px;
    height: 2px;
    margin-bottom: 30px;
  }

  .admission-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .admission-item {
    padding: 20px 15px;
  }

  .admission-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .body-2.admission-step {
    font-size: 1rem;
  }

  .subhead1.admission.orange-light {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .body-2.admission {
    font-size: 0.9rem;
  }

  .button-div.admission {
    margin-top: 30px;
  }

  .button.w-button {
    font-size: 1rem;
    padding: 12px 30px;
  }
}

.faq-section {
  width: 90%;
  margin: 50px auto;
  padding: 20px;
}

.faq-title {
  text-align: center;
  font-size: 2em;
  color: #fff;
  margin-bottom: 30px;
}

.faq-item {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-button {
  width: 100%;
  padding: 18px;
  background-color: #2d3d5e; /* Темний фон кнопки */
  color: #fff;
  font-size: 1.1em;
  text-align: left;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.faq-button:hover {
  background-color: #1e2a3a; /* Темніший колір на ховер */
}

.faq-button::after {
  content: '\002B'; /* Плюс для закритого акордеону */
  font-size: 1.5em;
  color: #fff;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-button.active::after {
  content: '\2212'; /* Мінус для відкритого акордеону */
}

.faq-content {
  display: none;
  padding: 20px;
  background-color: #1c2431; /* Темний фон для контенту */
  color: #fff;
  border-radius: 8px;
  font-size: 1em;
  line-height: 1.5;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  overflow: hidden;
  max-height: 0;
}

.faq-button.active + .faq-content {
  display: block;
  max-height: 500px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer {
  background-color: #1c2431; /* Темний фон футера */
  color: #fff;
  padding: 40px 20px;
  font-size: 1em;
  width: 100%; /* Додаємо ширину 100% */
  box-sizing: border-box; /* Забезпечує, щоб padding не впливав на ширину */
  position: relative; /* Для забезпечення повної ширини */
  font-family: 'Fira Code', monospace;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Розтягується на всю ширину */
}

.footer-left,
.footer-right {
  width: 45%;
}

.footer-title {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #fff;
}

.footer-text {
  margin: 5px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-link {
  text-decoration: none;
  color: #fff;
  font-size: 1em;
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #f1b62c; /* Світлий колір при ховері */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
}

.footer-copy {
  color: #ccc;
}


/* Модалка */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
}

.modal.show {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
}

/* Контейнер */
.modal-content {
  position: relative;
  z-index: 1000;
  background-color: #1f1f1f;
  color: #fff;
  width: 90%;
  max-width: 520px;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out;
}

/* Анімація */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Кнопка закриття */
.close-modal-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal-btn:hover {
  color: #fff;
}

/* Кнопка відкриття */
.open-modal-btn {
  background: #6366f1;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 16px;
}
.open-modal-btn:hover {
  background: #4f46e5;
}

/* Форма */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Поля */
.form-input,
.form-textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #444;
  background-color: #2b2b2b;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #6366f1;
  outline: none;
}

/* Текстова область */
.form-textarea {
  resize: none;
  height: 120px;
}

/* Чекбокс */
.form-checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ccc;
  gap: 10px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #6366f1;
}

/* Кнопка сабміту */
.form-btn {
  background: #6366f1;
  padding: 14px;
  font-size: 16px;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: bold;
}

.form-btn:hover {
  background: #4f46e5;
}

/* Повідомлення */
.success-msg {
  color: #34d399;
  font-weight: 600;
}
.error-msg {
  color: #f87171;
  font-weight: 600;
}

/* Пояснення */
.form-note {
  font-size: 13px;
  color: #999;
  text-align: center;
  line-height: 1.5;
}

.form-note a {
  color: #818cf8;
  text-decoration: none;
}
.form-note a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.section {
  background-color: #1f1f1f;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 40px;
}

.section h2 {
  font-size: 28px;
  color: #1d2d50;
  margin-bottom: 20px;
}

.section p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.list-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 20px;
}

.list-item .text {
  font-size: 18px;
}

.list-item .text h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1d2d50;
}

.list-item .text p {
  font-size: 16px;
  color: #777;
}

.btn {
  display: block;
  width: 200px;
  background-color: #1d2d50;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin: 30px auto 0;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5d6c7d;
}

/* Стилі для попапа */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 15px 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  transform: translateY(100%); /* Спочатку попап знизу */
}

.cookie-popup.show {
  transform: translateY(0); /* Попап з'являється */
}

.cookie-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accept-btn {
  background-color: #4CAF50;
  color: white;
}

.accept-btn:hover {
  background-color: #45a049;
}

.decline-btn {
  background-color: #f44336;
  color: white;
}

.decline-btn:hover {
  background-color: #da190b;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hidden {
  display: none;
}

.dark-section {
  background-color: #0f1117;
  color: #f2f2f2;
  padding: 60px 20px;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #ffffff;
}

.section-paragraph {
  margin-bottom: 20px;
  font-size: 16px;
  color: #dcdcdc;
}

.styled-list {
  padding-left: 20px;
  list-style: disc;
  color: #cccccc;
}

.styled-list li {
  margin-bottom: 10px;
}

.policy-link {
  color: #00ffd1;
  text-decoration: underline;
}

.policy-link:hover {
  text-decoration: none;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
  .dark-section {
    padding: 40px 15px;
  }

  .policy-content {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .section-paragraph {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .styled-list {
    padding-left: 15px;
  }

  .styled-list li {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .policy-link {
    font-size: 14px;
  }
}
