/* Базовий CSS reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ----------- */


body {
  /* переменные */
  --bg-main:       #F3F6F9;
  --bg-dark:       #1A2330;
  --color-primary: #0055A5;
  --color-secondary: #00A99D;
  --color-accent:  #FFC107;
  --text-main:     #333333;
  --text-inverse:  #FFFFFF;

  /* базовые стили */
  margin: 0;
  padding: 0;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth; /* для плавного скролла */
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--color-primary);
  margin-top: 0;
}

/* Ссылки */
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
}

/* Кнопки (пример общего класса) */
.button {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.75em 1.5em;
  background-color: var(--color-primary);
  color: var(--text-inverse);
  border: none;
  border-radius: 0.375em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.button:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}
/* === Header === */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--bg-dark);
  z-index: 1000;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Логотип */
.header__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-inverse);
  text-decoration: none;
}

/* Навигация */
.header__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.header__item {
  position: relative;
}

.header__link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-inverse);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

/* Эффект «подчёркивания» при hover */
.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.header__link:hover {
  color: var(--color-accent);
}

.header__link:hover::after {
  width: 100%;
}

/* Мобильный вид: перенос меню на новую строку без бургера */
@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    align-items: flex-start;
  }
  .header__list {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
  }
}
/* === Footer === */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  padding: 2rem 1.5rem;
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer__logo-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-inverse);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__item {
  margin-bottom: 0.75rem;
}

.footer__link {
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--color-accent);
}

/* Мобильный вид: 1 колонка */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
}
/* === Hero Section === */
.hero {
  background-image: url('../img/hero.png');
  background-size: cover;
  background-position: center;
  padding: 120px 1.5rem;
  color: var(--text-inverse);
  text-align: center;
  position: relative;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero__button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  background-color: var(--color-primary);
  color: var(--text-inverse);
  text-decoration: none;
  display: inline-block;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero__button:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__description {
    font-size: 1.125rem;
  }

  .hero__button {
    padding: 0.75rem 1.5rem;
  }
}

/* === About Section === */
.about {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
  text-align: center;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
}

.about__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about__description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  color: var(--text-main);
}

.about__features {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.about__feature {
  width: 30%;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about__feature:hover {
  transform: translateY(-10px);
}

.about__icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about__feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about__feature-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-main);
}

.about__button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  background-color: var(--color-primary);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.about__button:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .about__features {
    flex-direction: column;
    align-items: center;
  }

  .about__feature {
    width: 80%;
    margin-bottom: 1.5rem;
  }
}
/* === Benefits Section === */
.benefits {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
  text-align: center;
}

.benefits__container {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits__item {
  margin-bottom: 2rem;
}

.benefits__item-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.benefits__item-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-main);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .benefits__item-title {
    font-size: 1.25rem;
  }

  .benefits__item-description {
    font-size: 1rem;
  }
}

/* === Courses Section === */
.courses {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
  text-align: center;
}

.courses__container {
  max-width: 1200px;
  margin: 0 auto;
}

.courses__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.courses__list {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.courses__item {
  width: 30%;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.courses__item:hover {
  transform: translateY(-10px);
}

.courses__item-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.courses__item-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.courses__button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  background-color: var(--color-primary);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.courses__button:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .courses__list {
    flex-direction: column;
    align-items: center;
  }

  .courses__item {
    width: 80%;
    margin-bottom: 2rem;
  }
}

/* === Reviews Section === */
.reviews {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
  text-align: center;
}

.reviews__container {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.reviews__list {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.reviews__item {
  width: 30%;
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.reviews__item:hover {
  transform: translateY(-10px);
}

.reviews__text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-style: italic;
}

.reviews__author {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.reviews__author::before {
  content: "— ";
  font-weight: 700;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .reviews__list {
    flex-direction: column;
    align-items: center;
  }

  .reviews__item {
    width: 80%;
    margin-bottom: 2rem;
  }
}
/* === CTA Section === */
.cta {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
}

.cta__container {
  max-width: 1200px;
  margin: 0 auto;
}

.cta__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-inverse);
}

.cta__description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--text-inverse);
}

.cta__button {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  background-color: var(--color-accent);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta__button:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .cta__title {
    font-size: 2rem;
  }

  .cta__description {
    font-size: 1.125rem;
  }

  .cta__button {
    padding: 0.75rem 1.5rem;
  }
}
/* === FAQ Section === */
.faq {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
  text-align: center;
}

.faq__container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq__item {
  background-color: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.faq__item:hover {
  transform: translateY(-5px);
}

.faq__question {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.faq__answer {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-main);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .faq__title {
    font-size: 2rem;
  }

  .faq__question {
    font-size: 1.25rem;
  }

  .faq__answer {
    font-size: 1rem;
  }
}

/* === Contact Section === */
.contact {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
  text-align: center;
}

.contact__container {
  max-width: 800px;
  margin: 0 auto;
}

.contact__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact__description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact__input, .contact__textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.contact__textarea {
  height: 150px;
}

.contact__submit {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  background-color: var(--color-primary);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact__submit:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

.contact__response {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: green;
  margin-top: 1rem;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .contact__title {
    font-size: 2rem;
  }

  .contact__description {
    font-size: 1.125rem;
  }
}
/* === Cookie Popup === */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  display: none;
  z-index: 9999;
}

.cookie-popup__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-popup__message {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  margin: 0;
}

.cookie-popup__link {
  color: #FFC107;
  text-decoration: none;
}

.cookie-popup__button {
  background-color: #FFC107;
  color: #333;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cookie-popup__button:hover {
  background-color: #ff9800;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .cookie-popup {
    width: 80%;
  }
}
/* === Политики - Специфічні стилі === */
.pages {
  background-color: var(--bg-main);
  padding: 4rem 1.5rem;
}

.pages .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Заголовки для сторінок політик */
.pages h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.pages h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2rem;
  color: var(--color-primary);
}

/* Текст на сторінках політик */
.pages p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Списки на сторінках політик */
.pages ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pages ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.pages ul li strong {
  font-weight: 600;
  color: var(--color-primary);
}

/* Лінки на сторінках політик */
.pages a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pages a:hover {
  color: var(--color-accent);
}

/* Мобільна адаптація для сторінок політик */
@media (max-width: 768px) {
  .pages h1 {
    font-size: 2.25rem;
  }

  .pages h2 {
    font-size: 1.75rem;
  }

  .pages p {
    font-size: 1rem;
  }

  .pages ul li {
    font-size: 1rem;
  }
}
