/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: 'Helvetica', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Header */
/* HEADER */
header {
  background-color: #6C2BD4; /* Purple background */
  color: #fff;
  padding: 20px 0;
}

/* The container that holds logo and nav */
.header-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center; 
  justify-content: flex-start; /* Keep everything on the left side */
}

/* Logo area */
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  height: 40px; /* Adjust for your logo size */
  width: auto;
  margin-right: 10px; /* Space between logo image and text */
}

.site-name {
  font-size: 1.5rem;
  font-weight: bold;
}

.language-switch a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}
.language-switch a:hover {
  color: #f0e68c;
}

.language-switch {
  margin-left: 190px; /* Adjust this spacing as you like */
}

/* Navigation menu: reduced spacing so it’s closer to the logo */
nav ul.nav-links {
  list-style: none;
  display: flex;
    font-weight: 600;
  margin: 0;
  padding: 0;
  /* If you want a small left margin to separate the nav from the logo, add it here: */
  margin-left: 300px;
}

nav ul.nav-links li {
  margin-left: 15px; /* reduce spacing between each link */
}

nav ul.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul.nav-links li a:hover {
  color: #CE1126; /* Hover effect */
}

/* Responsive: stack navigation for mobile screens */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  nav ul.nav-links {
    flex-direction: column;
    margin-left: 0;  /* Remove left margin on smaller screens */
    margin-top: 10px;
  }

  nav ul.nav-links li {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .language-switch {
    margin-left: 0; /* Remove or reduce margin on mobile if desired */
    margin-top: 10px;
  }
}



/* Main Content */
main {
  padding: 20px 0;
  background: #fff;
}

.review-section {
  /* Center the content and make it narrower */
  width: 90%;            /* Keeps a bit of responsiveness */
  max-width: 1000px;      /* Adjust this for how narrow you want the text */
  margin: 0 auto;        /* Centers the section horizontally */
}


.review-section h3 {
  margin-bottom: 15px;
  color: #222;
}

.review-section h2 {
  margin-bottom: 15px;
  color: #6C2BD4;
}

.review-section h1 {
  color: #6C2BD4;        /* Matches the purple color of your header/footer */
  font-size: 2.5rem;     /* Large font size to emphasize importance */
  font-weight: 700;      /* Bold weight */ /* Optional: makes the text uppercase */
  text-align: center;    /* Centers the heading (adjust if needed) */
  margin: 30px 0 20px;   /* Spacing above/below the heading */
  letter-spacing: 1px;   /* Slight spacing between letters (optional) */
}

.review-section p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}



.review-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom Unordered List Style */
.custom-list {
  list-style-type: none;
  padding-left: 20px;
  margin-bottom: 15px;
}

.custom-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.custom-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #f39c12;
  font-size: 1.5em;
  line-height: 1;
}

/* Custom Ordered List Style */
.custom-numbered {
  list-style: none;
  counter-reset: custom-counter;
  padding-left: 20px;
  margin-bottom: 15px;
}

.custom-numbered li {
  counter-increment: custom-counter;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.custom-numbered li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #3498db;
}

/* Pros and Cons Blocks */
.pros-cons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pros-cons > div {
  flex: 1;
  padding: 20px;
  margin: 10px;
  border-radius: 8px;
  background: #ecf0f1;
}

.pros {
  border-left: 5px solid #27ae60;
}

.cons {
  border-left: 5px solid #c0392b;
}

.pros h3,
.cons h3 {
  margin-bottom: 10px;
}


/* Footer */
/* FOOTER */
footer {
  background-color: #6C2BD4; /* or another purple shade */
  color: #fff;
  padding: 30px 0;
  font-size: 0.9rem;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer nav links (top row) */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;            /* Wrap to next line if needed */
  justify-content: center;    /* Center horizontally, or use space-between if desired */
  margin-bottom: 20px;
  padding: 0;
}

.footer-nav ul li {
  margin: 5px 15px;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #CE1126; /* Subtle hover color */
}

/* Brand and description */
.footer-brand {
  text-align: center; 
  margin-bottom: 20px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

/* Disclaimer / Copyright */
.footer-disclaimer {
  text-align: center;
  margin-bottom: 20px;
}

.footer-responsible .responsible-logos {
  display: flex;
  flex-wrap: wrap;        /* Дозволяє логотипам переноситися на новий ряд */
  justify-content: center;/* Вирівнювання по центру */
  align-items: center;
  gap: 15px;              /* Проміжок між логотипами */
}

/* Стилі для посилань і зображень */
.footer-responsible .responsible-logos a {
  display: inline-block;
  text-decoration: none;
}

/* Стилі для самих логотипів */
.footer-responsible .responsible-logos img {
  width: 60px;            /* Фіксована ширина (можна змінити) */
  height: auto;           /* Зберігаємо пропорції */
  object-fit: contain;    /* Акуратно вписуємо зображення в задані розміри */
  transition: transform 0.3s ease; /* Анімація при наведенні (опційно) */
  border-radius: 4px;     /* Невелике заокруглення кутів (опційно) */
}

/* Ефект при наведенні миші на логотип (опційно) */
.footer-responsible .responsible-logos img:hover {
  transform: scale(1.1);  /* Збільшення на 10% */
}

/* Адаптивні стилі для дуже маленьких екранів (наприклад, < 480px) */
@media (max-width: 480px) {
  .footer-responsible .responsible-logos img {
    width: 50px; /* Зменшуємо ще більше для мобільних */
  }
}



/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  header nav ul {
    flex-direction: column;
    margin-top: 10px;
  }

  header nav ul li {
    margin: 10px 0;
  }

  .pros-cons {
    flex-direction: column;
  }
}




/* Container for the Pros & Cons blocks */
.pros-cons {
  display: flex;
  flex-wrap: wrap;      /* Allows wrapping on smaller screens */
  gap: 20px;            /* Spacing between the two blocks */
  margin: 20px 0;       /* Top and bottom margin */
}

/* Individual block styling */
.pros-cons > div {
  flex: 1 1 300px;      /* Each block can shrink/grow, minimum ~300px */
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Accent border on the left */
.pros {
  border-left: 4px solid #2ecc71;  /* Green accent for Pros */
}
.cons {
  border-left: 4px solid #e74c3c;  /* Red accent for Cons */
}

/* Headings for each block */
.pros h3,
.cons h3 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.2rem;
}

/* List styling */
.pros-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros-cons li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Custom bullet for Pros vs Cons */
.pros li::before {
  background-color: #2ecc71;  /* Green bullet for Pros */
}
.cons li::before {
  background-color: #e74c3c;  /* Red bullet for Cons */
}
.pros-cons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Responsive: stack blocks vertically on small screens */
@media (max-width: 768px) {
  .pros-cons {
    flex-direction: column;
  }
}

/* Responsive container that allows horizontal scrolling if needed */
.table-responsive {
  width: 100%;
  overflow-x: auto;            /* Enables horizontal scroll on mobile */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Minimalistic, modern table styling */
.comparison-table {
  width: 100%;
  min-width: 600px;            /* Ensures columns stay readable; 
                                  user can scroll horizontally if viewport < 600px */
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden; /* Ensures rounded corners are visible */
}

/* Table header with your purple accent */
.comparison-table thead {
  background-color: #6C2BD4; /* Match site branding (purple) */
  color: #fff;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 12px 15px;
  white-space: nowrap; /* Prevents wrapping so columns remain side by side */
}

/* Horizontal lines between rows */
.comparison-table tbody tr {
  border-bottom: 1px solid #ddd;
}

/* Subtle stripe on even rows */
.comparison-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover effect on rows (desktop) */
.comparison-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Container for the FAQ section */
.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px; /* Side padding for smaller screens */
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #6C2BD4; /* Example purple accent */
}

/* Each FAQ item: no border, just spacing */
.faq-item {
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Question row */
.faq-question {
  background-color: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Question text on left, icon on right */
  padding: 15px;
  cursor: pointer;
  border-radius: 6px; /* Slight rounding for a modern feel */
}

/* Left part: number + question text */
.faq-left {
  display: flex;
  align-items: center;
}

.faq-number {
  font-weight: bold;
  color: #6C2BD4;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* The "icon" box for the plus/minus lines */
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

/* Two lines forming a plus sign by default */
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #6C2BD4;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* The second line is rotated 90°, forming the vertical bar */
.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* The answer is collapsed by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fff;
  margin-top: 5px;
  border-radius: 6px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* When open, the vertical line rotates to 0°, overlapping the horizontal => minus sign */
.faq-item.open .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
}

/* Also expand the answer content */
.faq-item.open .faq-answer {
  max-height: 200px; /* Increase if needed for longer text */
  padding: 15px;
}
