body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  overflow-x: hidden;
  max-width: 100vw;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(34, 34, 34, 0.2);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 35px;
  right: 50px;
  z-index: 1100;
}

nav {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.section {
  padding: 20px 20px;
  text-align: center;

  position: relative;
  z-index: 2;
}

.bgw {
  background-color: white;
}

.bggr {
  background-color: #ebebeb;
}

h2 {
  font-size: 1.8rem;
}

.fleks {
  display: flex;
  justify-content: space-between;
}

.tekste {
  vertical-align: middle;
  font-size: 1.6rem;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.flex_item {
  flex: 1;
  max-width: 33.33%;
  text-align: center;
}
ы .foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.full-text {
  display: none;
}

.news-item.expanded .full-text {
  display: block;
}

.news-item.expanded .short-text {
  display: none;
}

.news-container {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}
.news-carousel {
  margin: 20px auto;

  border-radius: 8px;

  width: 600px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}
.carousel-images {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.news-image {
  transition: opacity 0.5s;

  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}
.news-image.active {
  display: block;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}
.news-text {
  position: relative;
}
.full-text {
  display: none;
  text-align: left;
}
.short-text {
  display: block;
}
.toggle-text {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 14px;
}
.toggle-text:hover {
  text-decoration: underline;
}
.pagination {
  text-align: center;
  margin-top: 20px;
}
.pagination button {
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 5px;
}
.pagination button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.footer {
  background: #0b1220;
  color: #e2e8f0;
  padding: 20px 20px 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer__inner {
  max-width: 900px;
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

.footer__col {
  min-width: 180px;
  flex: 1 1 200px;
}

.footer__col h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #f8fafc;
  font-weight: 600;
}

.footer__col p {
  margin: 0;
  line-height: 1.6;
}

.footer__col a,
#cookie-preferences {
  color: #93c5fd;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  transition: color 0.2s ease;
}

.footer__col a:hover,
#cookie-preferences:hover {
  color: #60a5fa;
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer__logo {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
  opacity: 0.85;
}

@media (max-width: 700px) {
  .footer__inner {
    gap: 30px;
    justify-content: center;
    text-align: center;
  }
  .footer__col {
    flex: 1 1 100%;
  }
  .footer__col h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .footer__bottom {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  #about::before {
    background: url("mobile-image.jpg") no-repeat center center/cover;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    left: 0;
    right: 0;
  }

  body {
    font-size: 16px;
  }

  #about .content h2 {
    font-size: 1.8rem;
  }

  #about .content p {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background: rgba(34, 34, 34, 0.4);
    position: absolute;
    top: 60px;
    width: 100%;
    padding: 10px 0;
    left: 0;
  }

  .nav-list.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }
  .section {
    padding: 10px 0px;
    text-align: center;
  }
  #about {
    justify-content: center;
    text-align: center;
  }

  #about .content {
    max-width: 90%;
    margin: 0px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .news-carousel {
    margin: 10px auto;

    width: 100%;
    height: 400px;
  }

  .partnerlist {
    flex-direction: column;
    justify-content: center;
  }
  .forder {
    width: 80%;
  }

  .forder img {
    width: 100%;
  }
  .hide {
    display: none;
  }

  .fleks {
    display: flex;
    flex-direction: column;
  }

  .tekste {
    vertical-align: middle;
    font-size: 1.2rem;
    width: 80%;
    margin: 0 auto;
  }
}
