/* Базовий 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 {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f7f7;
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

a {
  color: #3a8fb7;
  text-decoration: none;
}

/* Стиль для кнопок */
button {
  background-color: #ffb300;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ff8c00;
}

/* Стилі для хедера */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #3a8fb7;
  color: white;
}

header .logo h1 {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
}

header nav ul {
  list-style-type: none;
  display: flex;
  gap: 30px;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

header nav ul li a:hover {
  color: #ffb300;
}
/* Стилі для футера */
footer {
  background-color: #3a8fb7;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul li {
  margin: 10px 0;
}

footer a {
  text-decoration: none;
  color: white;
}

footer a:hover {
  color: #ffb300;
}

.footer-nav, .footer-info, .footer-contact {
  flex: 1;
  min-width: 200px;
}

footer p {
  font-size: 14px;
  margin: 5px 0;
}
/* Стилі для Hero секції */
.hero {
  position: relative;
  height: 100vh;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  animation: backgroundMove 15s infinite linear;
}

.hero-content {
  z-index: 2;
  animation: fadeInUp 2s ease-out;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  margin-bottom: 40px;
}

.hero button {
  background-color: #ffb300;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero button:hover {
  background-color: #ff8c00;
}

/* Анімація для рухомого фону */
@keyframes backgroundMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Анімація для контенту */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Стилі для секції О нас */
.about {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

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

.about h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #333333;
  margin-bottom: 20px;
}

.about p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.about button {
  background-color: #ffb300;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.about button:hover {
  background-color: #ff8c00;
}
/* Основні стилі для секції "Бізнес у Польщі" */
.business-in-poland {
  background-color: #f4f7f6;
  padding: 80px 20px;
  font-family: 'Roboto', sans-serif;
}

.business-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.business-text {
  flex: 1;
  max-width: 600px;
}

.business-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: #2f3e46;
  margin-bottom: 20px;
  line-height: 1.4;
}

.business-text p {
  font-size: 18px;
  color: #606f7b;
  margin-bottom: 20px;
  line-height: 1.8;
}

.business-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #2f3e46;
  margin-top: 40px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.step {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: #3a8fb7;
  margin-bottom: 10px;
}

.step p {
  font-size: 16px;
  color: #555555;
}

button {
  background-color: #ffb300;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 30px;
}

button:hover {
  background-color: #ff8c00;
}

/* Стилі для зображення */
.business-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Стилі для секції доступних курсів */
.courses {
  background-color: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
}

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

.courses-container h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: #2f3e46;
  margin-bottom: 20px;
}

.courses-container p {
  font-size: 18px;
  color: #606f7b;
  margin-bottom: 40px;
  line-height: 1.8;
}

.courses-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.course-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #2f3e46;
  margin-bottom: 15px;
}

.course-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-card button {
  background-color: #ffb300;
  color: white;
  padding: 12px 25px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.course-card button:hover {
  background-color: #ff8c00;
}

/* Ефекти при наведенні на картки */
.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
/* Стилі для CTA секції */
.cta {
  background-color: #ffb300;
  color: white;
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 40px;
}

.cta-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cta-content p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-content button {
  background-color: #3a8fb7;
  color: white;
  padding: 15px 40px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-content button:hover {
  background-color: #2e7f99;
}
/* Стилі для секції FAQ */
.faq {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-container h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #2f3e46;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  background-color: #f4f7f6;
  color: #333;
  padding: 15px 30px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  border: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: left;
  display: block;
  width: 100%;
}

.faq-question:hover {
  background-color: #e0e0e0;
}

.faq-answer {
  display: none;
  padding: 15px 30px;
  background-color: #f7f7f7;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

/* Стилі для активного відкриття відповіді */
.faq-item.active .faq-answer {
  display: block;
}
/* Стилі для секції "Контакты" */
.contact {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.contact-container h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #2f3e46;
  margin-bottom: 20px;
}

.contact-container p {
  font-size: 18px;
  color: #606f7b;
  margin-bottom: 40px;
}

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

label {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #333;
}

input, textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

button {
  background-color: #ffb300;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ff8c00;
}

.captcha {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#captcha {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#captcha-question {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

#captcha-answer {
  width: 80px;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
/* Стилі для Cookie-попапа */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  text-align: center;
  display: none;
  z-index: 1000;
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-popup p {
  font-size: 16px;
  margin-bottom: 20px;
}

.cookie-popup a {
  color: #ffb300;
  text-decoration: none;
}

.cookie-popup button {
  background-color: #ffb300;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-popup button:hover {
  background-color: #ff8c00;
}
/* Загальні стилі для сторінки політики (уникнення впливу на інші елементи) */
.pages {
  background-color: #f7f7f7;
  padding: 60px 20px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

.pages .container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Заголовки */
.pages h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  color: #2f3e46;
  margin-bottom: 30px;
  text-align: center;
}

.pages h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: #2f3e46;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #3a8fb7;
  padding-bottom: 10px;
}

.pages p {
  font-size: 18px;
  color: #555555;
  margin-bottom: 20px;
}

.pages ul {
  list-style-type: none;
  padding: 0;
}

.pages ul li {
  font-size: 16px;
  color: #555555;
  margin-bottom: 10px;
}

.pages ul li strong {
  color: #3a8fb7;
}

/* Стилі для посилань */
.pages a {
  color: #3a8fb7;
  text-decoration: none;
}

.pages a:hover {
  text-decoration: underline;
}

/* Стилі для кнопок (якщо є кнопки на сторінці) */
.pages button {
  background-color: #ffb300;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pages button:hover {
  background-color: #ff8c00;
}

/* Специфічні стилі для контейнера */
.pages .container {
  background-color: white;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Додаткові стилі для списків і елементів */
.pages ul li {
  padding-left: 20px;
}

/* Для заголовків h1 та h2 в середині політик */
.pages h1, .pages h2 {
  text-align: left;
}

