* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.scroll-container {
  position: relative;
}

.panel {
  position: sticky;
  top: 0;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-1 {
  z-index: 1;
}

.section-2 {
  background: #002233;
  z-index: 2;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 80px 40px;
}

.section-3 {
  background: #003344;
  z-index: 3;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 80px 40px;
}

body {
  font-family: "Roboto", sans-serif;
  background: #001429;
  color: white;
}
h1 {
  font-size: 75px;
  line-height: 1;
  margin-bottom: 20px;
  color: #2fbad6;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background-color: #002956;
  z-index: 1000;
}

.page-content {
  padding-top: 72px;
}

.nav-links {
  display: flex;
}

.nav-links a {
  color: #2fbad6;
  margin-left: 20px;
}

a {
  color: #2fbad6;
  text-decoration: none;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2fbad6;
}

ul {
  list-style-type: disc;
  padding-left: 40px;
  margin: 5px 0;
}

li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.btn {
  background: #2fbad6;
  color: black;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn-outline {
  border: 2px solid #2fbad6;
  color: #2fbad6;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  background: white;
}

.btn-outline:hover {
  background: white;
  color: black;
}

.btn,
.btn-outline {
  transition: 0.3s ease;
}

p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hamburger-menu {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #2fbad6;
}

@media (max-width: 785px) {
  nav {
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .hamburger-menu {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #002956;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s ease;
    z-index: 1001;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    margin: 10px 0;
  }

  .container {
    flex-direction: column;
  }

  h1 {
    font-size: 64px;
    line-height: 0.95;
  }

  p {
    font-size: 22px;
    max-width: 100%;
    line-height: 1.5;
  }
}

@media (max-width: 900px) {
  .panel {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 60px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .section-1,
  .section-2,
  .section-3 {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .section-3 {
    height: calc(100vh - 72px);
    min-height: none;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .cards {
    gap: 18px;
    margin-top: 32px;
  }

  .card {
    min-width: auto;
    max-width: 100%;
  }

  .buttons {
    flex-direction: column;
    gap: 18px;
  }

  .btn,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: 56px;
  }

  p {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    top: 62px;
    right: 16px;
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 44px;
  }

  p {
    font-size: 16px;
  }

  .card {
    padding: 24px;
  }

  .section-3 {
    min-height: calc(100vh - 72px);
    padding-top: 24px;
    padding-bottom: 24px;
    justify-content: center;
  }
}
