* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: #000;
  border-bottom: 1px solid #222;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
      
      
  z-index: 10;
  opacity: 0;
  animation-name: fadeInUp;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 0.1s;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 1px;
}

.header-contacts {
  text-align: right;
  font-size: 0.95em;
}

.section {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  opacity: 0;
  animation-name: fadeInUp;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}

.section:nth-of-type(1) {
  animation-delay: 0.4s;
}

.section:nth-of-type(2) {
  animation-delay: 0.6s;
}

h1, h2 {
  margin-bottom: 20px;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.4em;
  border-left: 4px solid #fff;
  padding-left: 10px;
}

p, li {
  color: #ccc;
}

ul {
  padding-left: 20px;
}

.button {
  background: #fff;
  color: #000;
  padding: 12px 20px;
  display: inline-block;
  margin-top: 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
}

.button:hover {
  background: #ddd;
}

.hero {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
  opacity: 0;
  animation-name: fadeInUp;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 0.2s;
}

.hero h1 {
  font-size: 2.4em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  color: #ccc;
  max-width: 700px;
  margin: auto;
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 20px;
  border-radius: 8px;
}

footer {
  background: #111;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #888;
  border-top: 1px solid #222;
}

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

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

.advantages {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  opacity: 0;
  animation-name: fadeInUp;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 0.8s;
}

.advantages-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.advantage-item {
  flex: 1 1 220px;
  background-color: #111;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  color: #ddd;
  transition: background-color 0.3s;
  opacity: 0;
  animation-name: fadeInUp;
  animation-fill-mode: forwards;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
}

.advantage-item:hover {
  background-color: #222;
}

.advantage-item:nth-child(1) {
  animation-delay: 1.2s;
}
.advantage-item:nth-child(2) {
  animation-delay: 1.4s;
}
.advantage-item:nth-child(3) {
  animation-delay: 1.6s;
}
.advantage-item:nth-child(4) {
  animation-delay: 1.8s;
}
.advantage-item:nth-child(5) {
  animation-delay: 2s;
}
.advantage-item:nth-child(6) {
  animation-delay: 2.2s;
}

.icon {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #fff;
}

.advantage-item .text strong {
  font-size: 1.1em;
  color: #fff;
}

.services-contacts-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  animation-name: fadeInUp;
  animation-fill-mode: forwards;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 1s;
}

.services, .contacts {
  background-color: #111;
  border-radius: 10px;
  padding: 25px 20px;
  color: #ccc;
  flex: 1 1 450px;
  min-width: 280px;
  box-sizing: border-box;
}

.services h2, .contacts h2 {
  color: #fff;
  border-left: 4px solid #fff;
  padding-left: 10px;
  margin-bottom: 20px;
  font-size: 1.4em;
}

.contacts p {
  margin-bottom: 10px;
}

.contacts a {
  color: #fff;
  text-decoration: none;
}

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

#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
  .services-contacts-wrapper {
    flex-direction: column;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}