@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&family=Barlow+Semi+Condensed:wght@500;600&family=Barlow:wght@300;400;700&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&family=Barlow+Semi+Condensed:wght@500;600&family=Barlow:wght@300;400;700&family=Outfit:wght@100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

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

body {
  font-family: 'barlow', sans-serif;
  line-height: 1.3;
  /* background-color: #000; */
}

.logo {
  margin: 2.5rem auto 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 50%;
}

.solution {
  display: none;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

header {
  width: 100%;
}

.hero-image-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hero-text-content {
  width: 60%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.hero-text-content h1 {
  width: 100%;
  max-width: 400px;
  font-size: 2.7rem;
  text-align: center;
  padding: 0 3rem;
  color: #28283d;
  font-family: 'red hat display',
    sans-serif;
  font-weight: 900;
}

.hero-text-content p {
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin: 1rem 0;
  padding: 0 0.5rem;
  font-family: 'red hat display',
    sans-serif;
  color: #87879d;
}

.hero-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-button .btn {
  padding: 1.3rem 2rem;
  font-weight: 600;
  margin-top: 1rem;
}

.btn-primary {
  background-color: #3b7a8c;
  border: none;
  color: #fafafa;
  border-radius: 1.8rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slate {
  color: #d1d1df;
}

.btn-primary:hover {
  opacity: 0.8;
}

.btn-secondary {
  background-color: #855fb1;
  border: none;
  color: #fafafa;
  border-radius: 1.8rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  opacity: 0.8;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s ease-out;
  margin: 1.5rem 0 1rem;
}

.line {
  width: 2px;
  height: 80px;
  background-color: #c2c2d6; /* soft gray */
}

.circle {
  width: 55px;
  height: 55px;
  border: 2px solid #c2c2d6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle span {
  font-size: 18px;
  font-weight: bold;
  color: #8c8caa;
}

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

.main-content-image {
  width: 100%;
  border-radius: 1rem;
}

.main-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem auto;
  padding: 1rem 2rem;
}

.main-content-text {
  width: 30%;
  margin: 0 auto;
}

.main-content-text h1 {
  color: #4d96a9;
  text-align: center;
  letter-spacing: 0.3rem;
  font-size: 0.9rem;
}

.main-content-text h2 {
  margin-top: 1rem;
  font-size: 2.5rem;
  padding: 0 1rem;
  text-align: center;
  color: #28283d;
}

.main-content-text p {
  text-align: center;
  padding: 0 1rem;
  margin: 1.5rem 0;
  color: #87879d;
}

.animated-timeline-node-2 {
  position: relative;
  top: 45px;
  bottom: -40px;
  z-index: 999;
}

.animated-timeline-node-2 .circle {
  background: white;
}

.cta-footer {
  position: relative;
  background-image: url('../img/image-footer.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: 'red hat display',
    sans-serif;
}

.overlay {
  background-color: rgba(
    58,
    158,
    172,
    0.85
  );
  color: white;
  padding: 50px 20px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.overlay h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #fafafa;
  width: 400px;
  text-align: left;
}

.overlay p {
  text-align: left;
  margin-bottom: 1.7rem;
  width: 320px;
  font-size: 1rem;
}

.overlay .btn-secondary {
  padding: 1rem 1.5rem;
  font-weight: 600;
}

@media screen and (max-width: 1024px) {
  .hero-button .btn {
    padding: 1rem 1.5rem;
  }

  .main-content-text {
    width: 100%;
    max-width: 55%;
  }
}

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 900px;
  }

  .hero-image-showcase {
    flex-direction: column;
  }

  .hero-image {
    display: none;
  }

  .solution {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .hero-text-content h1 {
    font-size: 2.7rem;
  }
  .main-content-text {
    width: 100%;
    max-width: 67%;
  }

  .main-content-text h1 {
    font-size: 1rem;
  }
  .main-content-text p {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .overlay {
    flex-direction: column;
  }

  .overlay h2 {
    text-align: center;
    width: 100%;
    color: #fafafa;
  }

  .overlay p {
    text-align: center;
    width: 100%;
    max-width: 70%;
    color: #fafafa;
  }

  .cta-footer {
    background-image: url('../img/image-footer-tab.jpg');
  }
}

@media screen and (max-width: 576px) {
  .hero-text-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-text-content p {
    max-width: 82%;
  }

  .hero-button {
    flex-direction: column;
    gap: 0.4rem;
  }

  .main-content {
    grid-template-columns: repeat(
      2,
      1fr
    );
  }

  .main-content-text {
    width: 100%;
    max-width: 90%;
  }

  .main-content-text h3 {
    font-size: 0.8rem;
  }

  .main-content-text h2 {
    font-size: 2.2rem;
  }

  .main-content-text p {
    width: 100%;
    max-width: 95%;
  }

  /* .cta-footer {
    background-image: url('../img/image-footer-mobile.jpg');
  } */

  .overlay p {
    width: 100%;
    max-width: 85%;
  }
}

@media screen and (max-width: 375px) {
  .main-content-text {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 320px) {
  /* .hero-text-content {
    width: 100%;
    max-width: 100%;
  } */

  .hero-text-content h1 {
    font-size: 2rem;
    width: 100%;
    max-width: 100%;
  }

  .main-content-text p {
    width: 100%;
    max-width: 99%;
  }

  .main-content-text h2 {
    font-size: 2rem;
  }

  .overlay h2 {
    font-size: 2rem;
  }
}
