/* Algemene reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Basis styling */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Main container: beperkte breedte op desktop */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

p {
  font-size: 1.2em;
  line-height: 1.5;
  margin: 20px 5px;
}

/* Header styling */


/* ----- HEADER STYLING ----- */
.custom-header {
  background-color: #111; /* Dark background */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 10px 20px;
  position: relative;
}

/* Logo container: left side */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.site-name {
  margin-left: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Navigation: center links on desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav li a {
   font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.main-nav li a:hover {
  text-decoration: none;
  color: #f57d26; /* Red from the Dutch flag */
}

/* Position nav in the center on desktop */
@media (min-width: 769px) {
  .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* On mobile, reset nav positioning */
@media (max-width: 768px) {
  .main-nav {
    position: static;
  }
}

/* Menu button (hamburger) on the right */
.menu-button {
  display: none; /* Hidden on desktop by default */
  cursor: pointer;
}

/* Hamburger icon styling */
.hamburger-icon {
  width: 25px;
  height: 3px;
  background-color: #fff;
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #fff;
  left: 0;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

/* ----- RESPONSIVE RULES ----- */
@media (max-width: 768px) {
  /* Hide horizontal nav, show hamburger icon */
  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    align-items: center; /* Center the items horizontally */
    text-align: center;
  }

  /* Show nav when active */
  .main-nav ul.active {
    display: flex;
  }

  .main-nav li {
    margin: 10px 0;
  }
  
  .menu-button {
    display: block;
  }
}





/* Custom paragraaf stijl */
.custom-paragraph {
  font-size: 1.1em;
  margin: 20px 0;

}

/* Responsive afbeelding stijl */
.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 3px solid #f57d26;
}

/* Unieke stijl voor bullet-lijsten */
/* Стилізація секції для буліт-списку */
.bullet-list-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #f57d26;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.bullet-list-section h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
  font-size: 1.8em;
}

/* Оновлений дизайн буліт-списку */
.custom-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-bullet-list li {
  position: relative;
  padding-left: 25px; /* Відступ для маркера */
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  line-height: 1.5;
}

/* Сучасний круглий маркер */
.custom-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;     /* Ширина маркера */
  height: 10px;    /* Висота маркера */
  background-color: #f57d26; /* Колір маркера */
  border-radius: 50%;        /* Робить маркер круглим */
}

/* Мобільні налаштування */
@media (max-width: 768px) {
  .bullet-list-section {
    margin: 20px;
    padding: 15px;
  }
  
  .bullet-list-section h2 {
    font-size: 1.6em;
  }
  
  .custom-bullet-list li {
    font-size: 0.95em;
  }
}




/* Unieke stijl voor genummerde lijsten */
/* Розділ покрокового посібника */
.step-by-step-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #f57d26;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.step-by-step-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #111;
}

/* Список кроків */
.step-guide {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.step-guide li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* Круглий номер кроку */
.step-number {
  flex: 0 0 40px;
  height: 40px;
  background-color: #f57d26;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2em;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Контейнер для вмісту кроку */
.step-content h3 {
  margin: 0;
  font-size: 1.4em;
  font-family: 'Montserrat', sans-serif;
  color: #111;
}

.step-content p {
  margin: 5px 0 0;
  font-size: 1em;
  line-height: 1.5;
  color: #333;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .step-guide li {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1em;  /* трохи зменшено, щоб число вміщувалося */
    margin-right: 0;
    margin-bottom: 10px;
  }
}



/* Tabel Sectie */
.table-section {
  margin: 40px 20px;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* Review Tabel Styling */
.review-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ccc;
  font-family: 'Montserrat', sans-serif;
}

.review-table th,
.review-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.review-table th {
  background-color: #f57d26;
  color: #fff;
}

.review-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .review-table th,
  .review-table td {
    padding: 8px;
  }
}


/* Footer styling */
.custom-footer {
  background-color: #111; /* Same dark background as header */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 20px;
  flex-wrap: wrap; /* Allows items to stack on smaller screens */
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-nav li a {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav li a:hover {
  text-decoration: none;
  color: #f57d26; /* Red from the Dutch flag */
}

.footer-copy {
  font-size: 0.9em;
}

/* Mobile adjustments for footer */
@media (max-width: 768px) {
  .custom-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .footer-logo {
    margin-bottom: 15px;
  }
  .footer-copy {
    margin-top: 15px;
  }
}

/* Responsive regels */
@media (max-width: 768px) {
nav, main {
    padding: 15px;
  }
  .custom-paragraph {
    font-size: 1em;
  }
  .custom-bullet-list, .custom-numbered-list {
    padding-left: 30px;
  }
}


.hero-section {
  background: linear-gradient(135deg, #004d99, #f57d26);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2em;
  line-height: 1.5;
}



/* Pros & Cons Section */
.pros-cons-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px 20px;
  gap: 20px;
}

.pros-block,
.cons-block {
  background-color: #fff;
  padding: 20px;
  width: 48%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

/* Distinct left border colors for a visual cue */
.pros-block {
  border-left: 5px solid #f57d26;
}

.cons-block {
  border-left: 5px solid #ff9933;
}

/* Headings for both blocks */
.pros-block h2,
.cons-block h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
}

/* Remove default list styles */
.pros-block ul,
.cons-block ul {
  list-style: none;
  padding-left: 0;
}

/* Custom bullet icons for each list item */
.pros-block ul li::before {
  content: "✔️";
  margin-right: 8px;
  color: #f57d26;
}

.cons-block ul li::before {
  content: "❌";
  margin-right: 8px;
  color: #ff9933;
}

.pros-block ul li,
.cons-block ul li {
  margin-bottom: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .pros-cons-section {
    flex-direction: column;
  }
  .pros-block,
  .cons-block {
    width: 100%;
  }
}



/* FAQ Секція */
.faq-section {
  margin: 40px 20px;
  padding: 20px;
  background-color: #fff;
  border-left: 5px solid #f57d26;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.faq-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #111;
}

/* FAQ Елементи */
.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Стилизований заголовок питання */
.faq-question {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2em;
  color: #f57d26;
  cursor: pointer;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* При відкритті питання */
.faq-item[open] .faq-question {
  background-color: #e6f7ff;
}

/* Відповідь */
.faq-answer {
  margin-top: 10px;
  font-size: 1em;
  color: #333;
  padding-left: 10px;
}

/* Адаптивні налаштування */
@media (max-width: 768px) {
  .faq-section {
    margin: 20px;
    padding: 15px;
  }
  
  .faq-section h2 {
    font-size: 1.6em;
  }
  
  .faq-question {
    font-size: 1.1em;
    padding: 8px;
  }
  
  .faq-answer {
    font-size: 0.95em;
  }
}


/* Стиль для кнопки "Вгору" */
/* Стиль для кнопки "Вгору" */
.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f57d26;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 24px; /* збільшено для кращої видимості стрілки */
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.to-top:hover {
  background-color: #024361;
}


@media (max-width: 768px) {
  .to-top {
    display: none;
  }
}
