/* Базовий 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;
  font-family: 'Lato', sans-serif;
  color: #264653;
  background-color: #FFFFFF;
  line-height: 1.6; /* Збільшив для кращої читабельності */
  
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #2A9D8F; /* Акцентний колір для заголовків */
}

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

/* Utility classes */
.container {
  width: 100%;
  max-width: 1200px; /* Або інша ширина, яка вам подобається */
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Header styles */
.header {
  padding: 20px 0;
  background-color: #FFFFFF; /* Білий фон для хедера */
  border-bottom: 1px solid #e0e0e0; /* Легка лінія для відділення */
  position: fixed; /* Фіксуємо хедер при скролі */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Щоб хедер був поверх інших елементів */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #2A9D8F; /* Акцентний колір */
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #E9C46A; /* Другорядний колір при наведенні */
}

.nav__list {
  display: flex;
  gap: 30px; /* Відстань між пунктами меню */
}

.nav__item {
  /* Стилі для елементів списку, якщо потрібно */
}

.nav__link {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700; /* Робимо текст жирнішим */
  color: #264653; /* Текстовий колір */
  text-decoration: none;
  position: relative;
  padding-bottom: 5px; /* Для анімації підкреслення */
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #E9C46A; /* Другорядний колір для підкреслення */
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: #2A9D8F; /* Акцентний колір при наведенні */
}

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

/* Burger menu styles */
.burger {
  display: none; /* Сховано на десктопі */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.burger__line {
  width: 30px;
  height: 3px;
  background-color: #264653;
  border-radius: 3px;
  transition: all 0.3s linear;
}

/* Mobile styles for header */
@media (max-width: 768px) {
  .nav {
    display: none; /* Ховаємо навігацію на мобільних */
    position: absolute;
    top: 100%; /* Розташовуємо під хедером */
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav.is-active {
    display: block; /* Показуємо при кліку на бургер */
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav__link {
    font-size: 18px; /* Трохи більший шрифт для мобільних */
  }

  .burger {
    display: flex; /* Показуємо бургер на мобільних */
  }

  .header__container {
    /* Можна додати padding, якщо логотип занадто близько до краю */
  }
}

/* Main content padding to avoid overlap with fixed header */
main {
  padding-top: 90px; /* Висота вашого хедера + невеликий відступ */
}

/* Hero Section Styles */
.hero {
  background-color: #F4A261; /* Використовуємо один з наших кольорів для фону */
  padding: 60px 0;
  text-align: center;
  overflow: hidden; /* Для можливих анімацій */
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  font-size: 42px;
  color: #FFFFFF; /* Білий текст на кольоровому фоні */
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__description {
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 30px;
  line-height: 1.7;
}

.button {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 25px; /* Округлені кути */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero__button {
  background-color: #2A9D8F; /* Акцентний колір */
  color: #FFFFFF;
}

.hero__button:hover {
  background-color: #264653; /* Темніший відтінок при наведенні */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero__image-wrapper {
  max-width: 450px; /* Обмеження розміру зображення */
  width: 100%;
}

.hero__image {
  width: 100%;
  height: auto;
  border-radius: 10px; /* Невелике заокруглення для зображення */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* About Section Styles */
.about {
  padding: 60px 0;
  background-color: #FFFFFF; /* Світлий фон для контрасту */
}

.about__container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about__image-wrapper {
  flex: 1;
  max-width: 450px; /* Обмеження розміру зображення */
  position: relative; /* Для можливих ефектів */
}

.about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(42, 157, 143, 0.2); /* Тінь в акцентному кольорі */
  transition: transform 0.4s ease-out;
}

.about__image-wrapper:hover .about__image {
  transform: scale(1.03) rotate(-1deg); /* Легкий ефект при наведенні */
}

.about__content {
  flex: 1.2; /* Даємо трохи більше місця для тексту */
}

.section-title { /* Загальний клас для заголовків секцій */
  font-size: 36px;
  color: #2A9D8F; /* Акцентний колір */
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after { /* Декоративне підкреслення */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #E9C46A; /* Другорядний колір */
  border-radius: 2px;
}

.about__title {
  /* Можна додати специфічні стилі, якщо потрібно */
}

.about__text {
  font-size: 16px;
  line-height: 1.7;
  color: #264653;
  margin-bottom: 20px;
}

.about__text strong {
  font-weight: 700;
  color: #2A9D8F;
}

.about__features-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.about__feature-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #264653;
  margin-bottom: 12px;
}

.about__feature-icon {
  color: #2A9D8F; /* Акцентний колір для іконок */
  margin-right: 12px;
  flex-shrink: 0; /* Щоб іконка не стискалася */
}

.about__button {
  background-color: #E9C46A; /* Другорядний колір для кнопки */
  color: #264653; /* Темний текст на світлій кнопці */
  margin-top: 20px;
}

.about__button:hover {
  background-color: #d8b054; /* Затемнений варіант другорядного кольору */
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
}

/* Responsive adjustments for About section */
@media (max-width: 992px) {
  .about__container {
    flex-direction: column;
    text-align: center;
  }
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .about__image-wrapper {
    margin-bottom: 30px;
    max-width: 400px;
  }
  .about__features-list {
    display: inline-block; /* Щоб список був по центру */
    text-align: left; /* Вирівнювання тексту в пунктах списку */
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 30px;
  }
  .about__text {
    font-size: 15px;
  }
  .about__feature-item {
    font-size: 15px;
  }
}

/* Perspectives Section Styles */
.perspectives {
  padding: 60px 0;
  background-color: #f8f9fa; /* Світло-сірий фон для візуального відділення */
}

.perspectives__container {
  text-align: center;
}

.perspectives__title {
  /* Використовує .section-title, але можна додати специфічні стилі */
  margin-bottom: 15px;
}

.perspectives__subtitle {
  font-size: 18px;
  color: #264653;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.perspectives__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.perspectives-card {
  background-color: #FFFFFF;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perspectives-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(42, 157, 143, 0.15);
}

.perspectives-card__icon-wrapper {
  margin-bottom: 20px;
  display: inline-block;
  background-color: #E9C46A; /* Жовтий фон для іконки */
  padding: 15px;
  border-radius: 50%;
  line-height: 0; /* Щоб іконка була по центру */
}

.perspectives-card__icon {
  color: #FFFFFF; /* Білий колір іконки */
  width: 36px; /* Розмір іконки */
  height: 36px;
}

.perspectives-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #2A9D8F; /* Акцентний колір */
  margin-bottom: 10px;
}

.perspectives-card__text {
  font-size: 15px;
  color: #264653;
  line-height: 1.6;
  margin-bottom: 15px;
  min-height: 60px; /* Для однакової висоти текстових блоків */
}

.perspectives-card__stat {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #264653;
  background-color: #e0e0e0;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: auto; /* Притискає статистику до низу картки, якщо картки різної висоти */
}

.perspectives__cta {
  margin-top: 40px;
  padding: 30px;
  background-color: #2A9D8F; /* Акцентний фон */
  border-radius: 8px;
  color: #FFFFFF;
}

.perspectives__cta-text {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.perspectives__button {
  background-color: #E9C46A;
  color: #264653;
}

.perspectives__button:hover {
  background-color: #FFFFFF;
  color: #2A9D8F;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Perspectives section */
@media (max-width: 767px) {
  .perspectives__subtitle {
    font-size: 16px;
  }
  .perspectives-card__title {
    font-size: 18px;
  }
  .perspectives-card__text {
    font-size: 14px;
    min-height: auto; /* Знімаємо обмеження на мобільних */
  }
  .perspectives__cta-text {
    font-size: 16px;
  }
}

/* Footer Styles */
.footer {
  background-color: #264653; /* Темний фон для футера */
  color: #FFFFFF; /* Світлий текст */
  padding: 50px 0;
  font-size: 14px;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer__column--logo .footer__logo {
  font-size: 24px;
  color: #E9C46A; /* Жовтий акцент для лого в футері */
  margin-bottom: 15px;
  display: inline-block;
}

.footer__copy {
  font-size: 13px;
  color: #bdc3c7; /* Світло-сірий для копірайту */
  margin-top: 10px;
}

.footer__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #E9C46A;
  margin-bottom: 20px;
}

.footer-nav__list,
.footer-info__list,
.footer-contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav__item,
.footer-info__item,
.footer-contact__item {
  margin-bottom: 10px;
}

.footer-nav__link,
.footer-info__link,
.footer-contact__link {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-nav__link:hover,
.footer-info__link:hover,
.footer-contact__link:hover {
  color: #E9C46A; /* Жовтий при наведенні */
  padding-left: 5px; /* Невеликий ефект руху */
}

.footer-contact__item {
  line-height: 1.6;
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #264653; /* Темний фон, як у футера */
  color: #FFFFFF;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2000; /* Поверх усіх інших елементів */
  transform: translateY(100%); /* Початково сховано під екраном */
  transition: transform 0.5s ease-in-out;
  font-size: 15px;
}

.cookie-popup.is-visible {
  transform: translateY(0); /* Показати попап */
}

.cookie-popup__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Або ширина вашого контейнера */
  margin: 0 auto;
  gap: 20px;
}

.cookie-popup__text {
  margin: 0;
  line-height: 1.5;
}

.cookie-popup__link {
  color: #E9C46A; /* Акцентний колір для посилання */
  text-decoration: underline;
  font-weight: 500;
}

.cookie-popup__link:hover {
  text-decoration: none;
}

.cookie-popup__button {
  background-color: #E9C46A;
  color: #264653;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap; /* Щоб текст кнопки не переносився */
}

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

/* Responsive adjustments for Cookie Popup */
@media (max-width: 768px) {
  .cookie-popup__content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cookie-popup__text {
    margin-bottom: 10px;
  }
}

/* Policy Pages Styles */
.pages {
  padding: 40px 0 60px; /* Відступи зверху та знизу */
  background-color: #FFFFFF; /* Білий фон */
  min-height: calc(100vh - 150px - 230px); /* Приблизна висота (viewport - header - footer) */
                                        /* 150px - приблизна висота хедера + відступ main */
                                        /* 230px - приблизна висота футера */
}

.pages .container {
  max-width: 800px; /* Обмежимо ширину контейнера для кращої читабельності */
}

.pages h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  color: #2A9D8F; /* Акцентний колір */
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #E9C46A; /* Декоративне підкреслення */
  padding-bottom: 15px;
}

.pages h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: #2A9D8F;
  margin-top: 35px;
  margin-bottom: 15px;
}

.pages p,
.pages ul li {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.8; /* Збільшений міжрядковий інтервал для читабельності */
  color: #264653; /* Основний текстовий колір */
  margin-bottom: 15px;
}

.pages ul {
  list-style: disc; /* Стандартні маркери для списків */
  padding-left: 25px; /* Відступ для маркерів */
  margin-bottom: 20px;
}

.pages ul li {
  margin-bottom: 10px;
}

.pages strong {
  font-weight: 700;
  color: #2A9D8F; /* Акцентний колір для виділеного тексту */
}

.pages a {
  color: #E9C46A; /* Другорядний акцентний колір для посилань */
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pages a:hover {
  color: #2A9D8F; /* Основний акцентний колір при наведенні */
  text-decoration: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .hero__container {
    flex-direction: row;
    text-align: left;
    gap: 50px;
  }

  .hero__content {
    flex: 1;
  }

  .hero__image-wrapper {
    flex: 0 0 40%; /* Зображення займає приблизно 40% ширини */
    max-width: 450px;
  }

  .hero__title {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .main {
    padding-top: 75px; /* Відступ для мобільного хедера */
  }
  .hero__title {
    font-size: 36px;
  }
  .hero__description {
    font-size: 16px;
  }
  .footer__container {
    grid-template-columns: 1fr; /* Одна колонка на мобільних */
    text-align: center;
  }
  .footer__column--logo .footer__logo,
  .footer__title {
    text-align: center;
  }
  .footer__column {
    margin-bottom: 20px;
  }
  .footer__column:last-child {
    margin-bottom: 0;
  }
}

/* Courses Section Styles */
.courses {
  padding: 60px 0;
  background-color: #FFFFFF; /* Білий фон */
}

.courses__container {
  text-align: center;
}

.courses__title {
  /* Використовує .section-title */
  margin-bottom: 15px;
}

.courses__subtitle {
  font-size: 18px;
  color: #264653;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.course-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Щоб зображення не виходило за межі */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(42, 157, 143, 0.2);
}

.course-card__image-wrapper {
  position: relative;
  height: 200px; /* Фіксована висота для зображення */
}

.course-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Масштабує зображення, зберігаючи пропорції */
}

.course-card__label {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #E9C46A;
  color: #264653;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.course-card__label--popular {
  background-color: #F4A261;
  color: #FFFFFF;
}


.course-card__content {
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Щоб контент займав весь доступний простір */
}

.course-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #2A9D8F;
  margin-bottom: 10px;
  line-height: 1.3;
}

.course-card__description {
  font-size: 15px;
  color: #264653;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1; /* Дозволяє опису розтягуватися */
}

.course-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 14px;
  color: #264653;
}

.course-card__features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.course-card__features svg {
  color: #2A9D8F;
  margin-right: 8px;
  flex-shrink: 0;
}

.course-card__button {
  background-color: #2A9D8F;
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 15px;
  margin-top: auto; /* Притискає кнопку до низу картки */
  align-self: flex-start; /* Вирівнювання кнопки по лівому краю */
}

.course-card__button:hover {
  background-color: #264653;
  transform: translateY(-2px);
}

.courses__all-cta {
  margin-top: 30px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.courses__all-cta p {
  font-size: 18px;
  color: #264653;
  margin-bottom: 15px;
}

.courses__contact-button {
  background-color: #E9C46A;
  color: #264653;
}
.courses__contact-button:hover {
  background-color: #d8b054;
  color: #FFFFFF;
}

/* Responsive adjustments for Courses section */
@media (max-width: 767px) {
  .courses__subtitle {
    font-size: 16px;
  }
  .course-card__title {
    font-size: 18px;
  }
  .course-card__description {
    font-size: 14px;
  }
  .course-card__features {
    font-size: 13px;
  }
  .courses__all-cta p {
    font-size: 16px;
  }
}

/* Contact Section Styles */
.contact {
  padding: 60px 0;
  background-color: #f4f6f8; /* Трохи інший світлий фон */
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Ліва колонка для тексту, права для форми */
  gap: 50px;
  align-items: start; /* Вирівнювання по верху */
}

.contact__content {
  /* Стилі для лівої колонки з текстом та контактами */
}

.contact__title {
  /* Використовує .section-title */
  text-align: left;
  margin-bottom: 15px;
}
.contact__title::after {
  left: 0; /* Вирівнювання підкреслення по лівому краю */
  transform: none;
}

.contact__subtitle {
  font-size: 17px;
  color: #264653;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact__details {
  margin-top: 20px;
}

.contact-detail__item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
  color: #264653;
}

.contact-detail__icon {
  color: #2A9D8F;
  margin-right: 15px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.contact-detail__item a {
  color: #264653;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail__item a:hover {
  color: #E9C46A;
}

.contact__form-wrapper {
  background-color: #FFFFFF;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #264653;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  color: #264653;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #2A9D8F;
  box-shadow: 0 0 0 0.2rem rgba(42, 157, 143, 0.25);
  outline: none;
}

.form-textarea {
  resize: vertical; /* Дозволяє змінювати висоту textarea */
  min-height: 120px;
}

.form-group--captcha {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-group--captcha .form-label {
  margin-bottom: 0;
  white-space: nowrap; /* Щоб текст не переносився */
}

#captchaEquation {
  font-weight: 700;
  color: #2A9D8F;
}

.form-input--captcha {
  width: 80px; /* Коротше поле для відповіді на капчу */
}

.contact-form__button {
  background-color: #2A9D8F;
  color: #FFFFFF;
  width: 100%;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 700;
}

.contact-form__button:hover {
  background-color: #264653;
  transform: translateY(-2px);
}

.form-message {
  margin-top: 15px;
  font-size: 15px;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
}

.form-message--success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message--error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive adjustments for Contact section */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr; /* Одна колонка на планшетах і мобільних */
  }
  .contact__content {
    text-align: center;
    margin-bottom: 40px;
  }
  .contact__title {
    text-align: center;
  }
  .contact__title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .contact-detail__item {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .contact__subtitle {
    font-size: 16px;
  }
  .contact__form-wrapper {
    padding: 25px;
  }
  .form-group--captcha {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-input--captcha {
    width: 100%;
  }
}