* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

header {
  width: 100%;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.navigation-bar img {
  width: 100px;
}

.navigation-bar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navigation-bar nav a {
  text-decoration: none;
  font-size: 18px;
  color: black;
}

.navigation-bar nav a:hover {
  color: #e23443;
}

.lead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lead p {
  font-size: 72px;
  font-weight: bold;
  margin: 0;
}

.lead p span:nth-child(1) {
  color: #323c84;
}
.lead p span:nth-child(2) {
  color: #e23443;
}

.lead img {
  max-width: 50%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.promo-video,
.about-us,
.products,
.contact {
  text-align: center;
  padding: 40px 20px;
}

.promo-video h2,
.about-us h2,
.products h2,
.contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.promo-video span {
  color: #323c84;
}

.video-container {
  display: flex;
  justify-content: center;
}

.video-container iframe {
  width: 100%;
  height: 480px;
}

.products,
.about-us {
  background-color: #f0f2f5;
}

.about-us span {
  color: #e23443;
}

.products {
  padding: 40px 20px;
  background-color: #f8f9fa;
}

.products h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.products-slider {
  position: relative;
}

.slide {
  text-align: left;
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.slide img {
  max-width: 400px;
  margin-right: 20px;
}

.slide h3 {
  font-size: 96px;
  margin: 0;
  margin-bottom: 10px;
}

.slide div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide p {
  font-size: 24px;
}

.active {
  opacity: 1;
  transition: ease-in-out 200ms;
}

.red {
  color: #e23443 !important;
  transition: ease-in-out 200ms;
}

.red:hover {
  color: #323c84 !important;
}

.blue {
  color: #323c84 !important;
  transition: ease-in-out 200ms;
}

.blue:hover {
  color: #e23443 !important;
}

.bold {
  font-weight: bold;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 32px;
  border-radius: 50%;
  user-select: none;
  transition: ease-in-out 200ms;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background-color: #f0f2f5;
}

.middle-image img {
  width: 100%;
  height: auto;
}

.about-us p {
  width: 60%;
  margin: 0 auto;
}

.about-us hr {
  width: 10%;
  margin: 40px auto;
}

.team {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  padding-top: 24px;
}

.team-member {
  width: 45%;
  text-align: center;
}

.image-blue {
  background-color: #323c84;
}

.team-member img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  padding: 20px;
}

.team-member h3 {
  font-size: 24px;
  margin: 24px 0;
  margin-bottom: 10px;
}

.team-member p {
  margin: 0;
  color: #666;
}

.form {
  display: flex;
  justify-content: center;
}

.form-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.form form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  border: 1px solid #323c84;
  transition: ease-in-out 200ms;
}

.form input:active,
.form input:focus,
.form textarea:active,
.form textarea:focus {
  border: 2px solid #323c84;
  outline: none;
}

.form textarea {
  height: 80px;
  resize: none;
}

.form button {
  padding: 10px;
  font-size: 16px;
  background-color: #e23443;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: ease-in-out 200ms;
}

.form button:hover {
  background-color: #323c84;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  background-color: transparent;
}

footer p {
  margin: 0;
  font-size: 16px;
}

footer .socials {
  display: flex;
  gap: 15px;
}

footer .socials svg {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

footer .socials svg:hover {
  fill: #e23443;
  stroke: #e23443;
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  background-color: #323c84;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: ease-in-out 200ms;
}

#backToTopBtn:hover {
  background-color: #e23443;
}

/* Tablets */
@media (max-width: 1024px) {
  .lead p {
    font-size: 48px;
  }

  .lead img {
    max-width: 45%;
  }

  .slide {
    flex-direction: column;
  }

  .slide img {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    height: 300px;
  }

  .slide h3 {
    font-size: 48px;
  }

  .slide p {
    font-size: 18px;
  }

  .team-member {
    width: 100%;
    margin-bottom: 20px;
  }

  .team-member img {
    width: 240px;
    height: 240px;
  }

  .video-container iframe {
    height: 360px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .navigation-bar {
    flex-direction: column;
    align-items: center;
  }

  .navigation-bar nav {
    margin-top: 20px;
  }

  .lead {
    flex-direction: column;
  }

  .lead p {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
  }

  .lead img {
    max-width: 80%;
  }

  .products h2,
  .promo-video h2,
  .about-us h2,
  .contact h2 {
    font-size: 28px;
  }

  .products,
  .about-us,
  .contact {
    padding: 20px 10px;
  }

  .slide {
    padding: 10px;
    flex-direction: column;
  }

  .slide h3 {
    font-size: 36px;
  }

  .slide p {
    font-size: 16px;
  }

  .team {
    flex-direction: column;
  }

  .team-member {
    width: 100%;
    margin-bottom: 20px;
  }

  .team-member img {
    width: 180px;
    height: 180px;
  }

  .video-container iframe {
    height: 240px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .socials {
    margin-top: 10px;
  }
}
