@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

header {
  background-color: #fffdf4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

nav .nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav .nav-links li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
}

nav .nav-links li a::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #f5b100;
  width: 0%;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

nav .nav-links li a:hover {
  color: #f5b100;
}

nav .nav-links li a:hover::after {
  width: 100%;
}

/* Mobile friendly (optional) */
@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }
}

nav ul {
  list-style-type: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}
a {
  text-decoration: none;
  color: inherit;
}
a p {
  text-transform: uppercase;
  color: #2c6b2f;
  font-weight: 800;
  font-size: 20px;
}
nav ul li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}
.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
a p {
  color: white;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* .container-features {
  display: flex;
  justify-content: space-around;
  padding: 40px 0;
  background-color: #fff;
}

.feature {
  text-align: center;
  width: 30%;
} */

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
}

.hero {
  padding: 160px 20px;
  background-color: #f9f9f9;
}
.hero-img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 10px;
}

.hero-text .highlight {
  color: #f5b100;
}

.hero-text p {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.5;
}

.subtext {
  color: #666;
}

.features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features li {
  margin-bottom: 10px;
  font-size: 17px;
}

.features i {
  color: #f5b100;
  margin-right: 10px;
}

.btn {
  display: inline-block;
  background-color: #f5b100;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #d99b00;
}

.hero-image {
  flex: 1 1 400px;
}

.image-placeholder {
  background-color: #e0e0e0;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 18px;
  border-radius: 12px;
}

footer {
  background-color: #184274;
  color: white;
  padding: 30px 0;
  font-size: 1rem;
}

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

footer p {
  margin: 0;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.footer-menu li {
  margin-left: 20px;
}

.footer-menu a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #f4a300;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
  }
}

/* ======= CONTACTO ======= */
.contact {
  background-color: #fffbea;
  color: #333;
  padding: 100px 20px;
}
.container-contact {
  display: flex;
}
.contact-text,
.form {
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.contact h2 {
  color: #f5b100;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.contact h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: #fffbea;
  margin: 10px;
  border-radius: 2px;
}

.contact p {
  font-size: 1.1rem;
}
.container-contact {
  margin-top: 50px;
}
/* INFORMACIÓN DE CONTACTO */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}
.info-item p {
  display: flex;
  flex-direction: column;
  justify-content: start;

  align-items: start;
}

.info-item i {
  font-size: 1.5rem;
  color: #ffcc70;
}
.info-item strong {
  color: #d89e00;
}
/* FORMULARIO DE CONTACTO */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  outline: none;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  padding: 12px;
  background-color: #ffcc70;
  color: #2c6b2f;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffb347;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
  }
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: #ffcc70;
  transition: transform 0.3s ease-in-out;
}

.info-item:hover i {
  transform: scale(1.2);
}
.btn-contact {
  display: inline-block;
  background-color: #ffcc70;
  color: #2c6b2f;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.btn-contact:hover {
  background-color: #ffb347;
  transform: scale(1.05);
}

.contact-button-container {
  margin-top: 20px;
  text-align: center;
}

/* privacy */

.privacy-policy {
  background-color: #f5f5f5;
  padding: 100px 0;
  animation: fadeIn 1s ease-in-out;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c6b2f;
  margin-bottom: 20px;
  text-align: center;
}

.subsection-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c6b2f;
  margin-top: 40px;
  margin-bottom: 20px;
}

.paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

.privacy-list {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-left: 20px;
}

.privacy-list li {
  margin-bottom: 10px;
}

.final-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-top: 30px;
  text-align: center;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* terms */

.terms-conditions {
  background-color: #f4f4f4;
  padding: 100px 0;
  animation: fadeIn 1s ease-in-out;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c6b2f;
  margin-bottom: 20px;
  text-align: center;
}

.subsection-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2c6b2f;
  margin-top: 40px;
  margin-bottom: 20px;
}

.paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

.terms-list {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-left: 20px;
}

.terms-list li {
  margin-bottom: 10px;
}

.final-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-top: 30px;
  text-align: center;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* cookies */

.cookies-policy {
  padding: 100px 0;
  font-size: 1rem;
  color: #333;
}

h2.section-title {
  text-align: center;
  font-size: 2rem;
  color: #2c6b2f;
  margin-bottom: 20px;
}

h3.subsection-title {
  color: #2c6b2f;
  font-size: 1.5rem;
  margin-top: 30px;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

.cookies-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.category-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-item h4 {
  color: #2c6b2f;
  font-size: 1.2rem;
}

p,
ul {
  line-height: 1.6;
}

p {
  margin-bottom: 15px;
}

footer a {
  color: #f4a300;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* cookies */

/* Стиль для блоку куків */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #fffdf4;
  border: 1px solid #f5b100;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 20px 25px;
  z-index: 9999;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  color: #444;
  font-size: 15px;
  flex: 1;
}

.cookie-content a {
  color: #f5b100;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: #f5b100;
  color: #fff;
}

.cookie-accept:hover {
  background-color: #d89e00;
}

.cookie-decline {
  background-color: #eee;
  color: #333;
}

.cookie-decline:hover {
  background-color: #ddd;
}

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 20px 20px;
  }
}

/* General Styling */

.benefits-section {
  background-color: #fffbea;
  padding: 60px 20px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section-title i {
  color: #f5b100;
  margin-right: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

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

.benefit-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.benefit-item i {
  font-size: 32px;
  color: #f5b100;
  margin-bottom: 15px;
}

.benefit-item h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 16px;
  color: #555;
}

.panel-types-section {
  background-color: #f4f7fb;
  padding: 60px 20px;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.panel-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.panel-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  padding: 25px;
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.panel-card h3 {
  font-size: 20px;
  color: #f5b100;
  margin-bottom: 10px;
}

.panel-card p {
  color: #555;
  font-size: 16px;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.table-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table thead {
  background-color: #f5b100;
  color: white;
}

.comparison-table tbody tr:hover {
  background-color: #fef3c7;
}

/* Мобільна адаптивність */
@media screen and (max-width: 768px) {
  .comparison-table {
    display: block;
    width: 100%;
    overflow-x: auto; /* Дозволяє горизонтальне прокручування */
  }

  .comparison-table thead {
    display: none; /* Сховуємо заголовки на маленьких екранах */
  }

  .comparison-table tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
  }

  .comparison-table td {
    display: block;
    font-size: 14px;
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    text-align: left;
  }

  .comparison-table td:before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: 10px;
  }
}

.installation-section {
  background-color: #ffffff;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background-color: #fef9e7;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.step-icon {
  font-size: 36px;
  color: #f5b100;
  margin-bottom: 15px;
}

.step h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.step p {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.faq-section {
  background-color: #fffbea;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.faq-item input {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  cursor: pointer;
  background-color: #fef3c7;
  color: #333;
  transition: background 0.3s ease;
}

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

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #555;
  font-size: 16px;
  background-color: #fffef3;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

/* Відкриття відповіді */
.faq-item input:checked ~ .faq-answer {
  max-height: 200px;
  padding: 20px;
}

/* Поворот стрілочки */
.faq-item input:checked + .faq-question i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .hero-content {
    gap: 70px;
  }
  .hero {
    padding: 70px 20px;
  }
 
}

@media screen and (max-width: 600px) {
  .comparison-table thead {
    display: none; /* Сховуємо заголовки стовпців на мобільних пристроях */
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block; /* Кожен рядок стає блоком */
    width: 100%;
  }

  .comparison-table td {
    position: relative;
  }

  .comparison-table td::before {
    /* Псевдоелемент для виведення заголовків стовпців */
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
  }

  .comparison-table td:first-child {
    padding-top: 10px;
  }

  .container-contact {
    flex-direction: column;
    gap: 50px;
  }
}
