* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  background-color: #1a1a2e;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  color: #ffc107;
  margin-bottom: 0.5em;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffc107;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #d39e00;
}
.btn__img {
  vertical-align: middle;
}

.hero {
  padding: 40px 0;
  text-align: center;
  background: linear-gradient(to bottom, rgba(26, 26, 46, 0.8), rgba(15, 15, 26, 0.8)), url("/img/hero-bg.webp") no-repeat center center;
  background-size: cover;
  position: relative;
}
.hero__title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #4caf50;
}
.hero__text {
  font-size: 1em;
  margin-bottom: 30px;
  padding: 0 15px;
}
@media (min-width: 480px) {
  .hero__title {
    font-size: 3em;
  }
  .hero__text {
    font-size: 1.1em;
    padding: 0 50px;
  }
}
@media (min-width: 768px) {
  .hero {
    padding: 60px 0;
  }
  .hero__title {
    font-size: 3.8em;
  }
  .hero__text {
    font-size: 1.2em;
    padding: 0 100px;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 80px 0;
  }
  .hero__title {
    font-size: 4.5em;
  }
  .hero__text {
    font-size: 1.3em;
    padding: 0 200px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.head {
  text-align: center;
  margin-bottom: 40px;
}
.head .title {
  font-size: 2em;
  margin-bottom: 15px;
}
.head .text {
  font-size: 1em;
  padding: 0 15px;
}
@media (min-width: 480px) {
  .head .title {
    font-size: 2.5em;
  }
  .head .text {
    font-size: 1.1em;
    padding: 0 50px;
  }
}
@media (min-width: 768px) {
  .head .title {
    font-size: 3em;
  }
  .head .text {
    font-size: 1.2em;
    padding: 0 100px;
  }
}

.about {
  padding: 60px 0;
  background-color: #141424;
}
.about__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.about__list-item {
  background-color: #1a1a2e;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.about__item-icon {
  width: 60px;
  height: 60px;
  fill: #4caf50;
  margin-bottom: 20px;
}
.about__item-title {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 10px;
}
.about__item-text {
  font-size: 0.9em;
  color: white;
}
@media (min-width: 480px) {
  .about__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .about__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story {
  padding: 60px 0;
}
.story .section {
  margin-bottom: 60px;
}
.story .section:last-child {
  margin-bottom: 0;
}
.story__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.story__wrapper:nth-child(even) {
  flex-direction: column-reverse;
}
.story__info {
  text-align: center;
}
.story__info .title {
  font-size: 2em;
  margin-bottom: 20px;
}
.story__description {
  margin-bottom: 20px;
}
.story__description .text {
  font-size: 1em;
  margin-bottom: 15px;
  color: white;
}
.story__description .text strong {
  color: #4caf50;
}
.story__img-wrapper {
  width: 100%;
  max-width: 500px;
}
.story__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.story .btn {
  margin-top: 20px;
}
@media (min-width: 480px) {
  .story__info .title {
    font-size: 2.5em;
  }
  .story__info .text {
    font-size: 1.1em;
  }
}
@media (min-width: 768px) {
  .story__wrapper {
    flex-direction: row;
    text-align: left;
  }
  .story__wrapper:nth-child(even) {
    flex-direction: row-reverse;
  }
  .story__info {
    flex: 1;
    padding: 0 30px;
    text-align: left;
  }
  .story__img-wrapper {
    flex: 1;
  }
}
@media (min-width: 1024px) {
  .story__info .title {
    font-size: 3em;
  }
  .story__info .text {
    font-size: 1.2em;
  }
}

.testimonials {
  padding: 60px 0;
  background-color: #141424;
  text-align: center;
}
.testimonials .title {
  font-size: 2em;
  margin-bottom: 40px;
}
.testimonials__slider {
  position: relative;
  overflow: hidden;
}
.testimonials__list {
  display: flex;
  transition: transform 0.5s ease-in-out;
  list-style: none;
  padding: 0;
  margin: 0;
  will-change: transform;
}
.testimonials__list-item {
  flex: 0 0 100%;
  max-width: 100%;
  background-color: #1a1a2e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 10px;
}
.testimonials__item-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
}
.testimonials__item-name {
  font-size: 1.3em;
  color: #4caf50;
  margin-bottom: 5px;
}
.testimonials__item-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.testimonials__item-stars {
  display: flex;
  gap: 2px;
}
.testimonials__item-star {
  width: 20px;
  height: 20px;
  fill: #ffc107;
}
.testimonials__item-rate {
  font-size: 1em;
  color: white;
}
.testimonials__item-text {
  font-size: 0.95em;
  color: white;
}
.testimonials__pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}
.testimonials__pagination-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  outline: none;
}
.testimonials__pagination-dot {
  display: block;
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.testimonials__pagination-btn--active .testimonials__pagination-dot {
  background-color: #4caf50;
}
@media (min-width: 480px) {
  .testimonials .title {
    font-size: 2.5em;
  }
  .testimonials__list-item {
    padding: 40px 30px;
  }
  .testimonials__item-name {
    font-size: 1.4em;
  }
  .testimonials__item-text {
    font-size: 1em;
  }
}
@media (min-width: 768px) {
  .testimonials .title {
    font-size: 3em;
  }
  .testimonials__list-item {
    flex: 0 0 45%;
  }
}
@media (min-width: 1024px) {
  .testimonials__list-item {
    flex: 0 0 30%;
  }
}

.features {
  padding: 60px 0;
  background-color: #1a1a2e;
}
.features__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.features__content {
  text-align: center;
}
.features__content .title {
  font-size: 2em;
  margin-bottom: 30px;
}
.features__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features__list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  background-color: #141424;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.features__item-icon {
  width: 50px;
  height: 50px;
  fill: #4caf50;
  margin-bottom: 15px;
}
.features__item-info {
  text-align: center;
}
.features__item-title {
  font-size: 1.4em;
  color: #ffc107;
  margin-bottom: 8px;
}
.features__item-text {
  font-size: 0.9em;
  color: white;
}
.features__img-wrapper {
  width: 100%;
  max-width: 500px;
}
.features__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
@media (min-width: 480px) {
  .features__content .title {
    font-size: 2.5em;
  }
  .features__list-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
  }
  .features__item-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .features__item-info {
    text-align: left;
  }
  .features__item-title {
    font-size: 1.5em;
  }
  .features__item-text {
    font-size: 1em;
  }
}
@media (min-width: 768px) {
  .features__wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
  .features__content {
    flex: 1;
    padding-right: 30px;
    text-align: left;
  }
  .features__content .title {
    font-size: 3em;
  }
  .features__img-wrapper {
    flex: 1;
  }
}

.cta {
  padding: 80px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 46, 0.7), rgba(15, 15, 26, 0.7));
  z-index: -1;
}
.cta__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta .head {
  margin-bottom: 40px;
}
.cta .head .title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #4caf50;
}
.cta .head .text {
  font-size: 1.1em;
  padding: 0 15px;
  color: white;
}
.cta .head .text strong {
  color: #ffc107;
}
.cta .btn {
  margin-top: 0;
}
@media (min-width: 480px) {
  .cta .head .title {
    font-size: 2.8em;
  }
  .cta .head .text {
    font-size: 1.2em;
    padding: 0 50px;
  }
}
@media (min-width: 768px) {
  .cta {
    padding: 100px 0;
  }
  .cta .head .title {
    font-size: 3.5em;
  }
  .cta .head .text {
    font-size: 1.3em;
    padding: 0 100px;
  }
}
@media (min-width: 1024px) {
  .cta {
    padding: 120px 0;
  }
  .cta .head .title {
    font-size: 4em;
  }
  .cta .head .text {
    padding: 0 200px;
  }
}

.footer {
  background-color: #11111e;
  padding: 30px 0;
  text-align: center;
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer__copyright {
  font-size: 0.9em;
  color: white;
}
.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__menu-item {
  margin: 0;
}
.footer__menu-link {
  color: #4caf50;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}
.footer__menu-link:hover {
  color: #80c883;
}
@media (min-width: 768px) {
  .footer__wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer__menu {
    flex-direction: row;
    gap: 20px;
  }
}

.legal {
  padding: 60px 0;
  background-color: #1a1a2e;
}
.legal__wrapper {
  padding: 0 15px;
}
.legal__content {
  background-color: #141424;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.legal__text {
  font-size: 0.95em;
  color: white;
  margin-bottom: 20px;
}
.legal__text:last-child {
  margin-bottom: 0;
}
.legal__heading {
  font-size: 1.8em;
  color: #ffc107;
  margin-top: 30px;
  margin-bottom: 15px;
}
.legal__heading:first-of-type {
  margin-top: 0;
}
.legal__list {
  padding: 0;
  margin-bottom: 20px;
}
.legal__list + .legal__heading {
  margin-top: 30px;
}
.legal__list-item {
  margin-bottom: 15px;
}
.legal__list-item:last-child {
  margin-bottom: 0;
}
.legal__item-title {
  font-size: 1.2em;
  color: #4caf50;
  margin-bottom: 5px;
}
.legal__item-text {
  font-size: 0.9em;
  color: white;
}
@media (min-width: 480px) {
  .legal__text {
    font-size: 1em;
  }
  .legal__heading {
    font-size: 2em;
  }
  .legal__item-title {
    font-size: 1.3em;
  }
  .legal__item-text {
    font-size: 0.95em;
  }
}
@media (min-width: 768px) {
  .legal__content {
    padding: 40px;
  }
  .legal__text {
    font-size: 1.05em;
  }
  .legal__heading {
    font-size: 2.2em;
  }
  .legal__item-title {
    font-size: 1.4em;
  }
  .legal__item-text {
    font-size: 1em;
  }
}
@media (min-width: 1024px) {
  .legal__content {
    padding: 50px;
  }
  .legal__text {
    font-size: 1.1em;
  }
  .legal__heading {
    font-size: 2.5em;
  }
  .legal__item-title {
    font-size: 1.5em;
  }
  .legal__item-text {
    font-size: 1.05em;
  }
}