.typing-container {
  display: inline-block;
}
.typing-text {
  border-right: 2px solid;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 2s steps(40) 1.4s backwards,
    blink 500ms steps(40) infinite normal;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blink {
  from {
    border-right-color: transparent;
  }
  to {
    border-right-color: currentColor;
  }
}
.card-hover:hover img {
  opacity: 0.5;
  transition: all 300ms;
}
.card-hover:hover .card-buttons {
  opacity: 1;
  visibility: visible;
}
.card-buttons {
  opacity: 0;
  visibility: hidden;
  transition: all 300ms;
}
.tech-card:hover {
  transform: translateY(-10px);
}
.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.image-carousel {
  position: relative;
  overflow: hidden;
  height: 400px;
  width: 100%;
}
.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}
.carousel-indicator.active {
  background-color: #00a7e1;
}
.tech-slider {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: scroll 30s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-150px * 10));
  }
}
.tech-slider-container {
  width: 100%;
  overflow: hidden;
}
.tech-slider-item {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-container {
  position: relative;
}
.timeline-container::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: #00a7e1;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 10px 40px;
}
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #00a7e1;
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}
.timeline-left {
  left: 0;
}
.timeline-right {
  left: 50%;
}
.timeline-left::after {
  right: -10px;
}
.timeline-right::after {
  left: -10px;
}
@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item::after {
    left: 21px;
  }
  .timeline-right {
    left: 0;
  }
}

/* Wave animation for logo */
.wave-container {
  position: relative;
  overflow: hidden;
  height: 80px;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Logo%20FLAT%20CORES.jpg-Ubo4qx0yM7exASVxJpLM3LFjoZjfeG.jpeg")
    no-repeat;
  background-size: contain;
  background-position: center;
}

/* Content alignment */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #00a7e1;
}

/* SCROLL */
:root {
  --primary: #00a7e1;
  --accent: #ff6b6b;
  --dark: #1a202c;
}

.text-primary {
  color: var(--primary);
}

.bg-primary {
  background-color: var(--primary);
}

.border-primary {
  border-color: var(--primary);
}

.bg-primary\/10 {
  background-color: rgba(0, 167, 225, 0.1);
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Filtro para colorir os SVGs com a cor primária */
.filter-primary {
  filter: invert(40%) sepia(60%) saturate(1000%) hue-rotate(175deg)
    brightness(95%) contrast(95%);
}

/* Animação para os cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Aplicar atraso na animação para cada card */
.tech-card:nth-child(1) {
  animation-delay: 0.1s;
}
.tech-card:nth-child(2) {
  animation-delay: 0.15s;
}
.tech-card:nth-child(3) {
  animation-delay: 0.2s;
}
.tech-card:nth-child(4) {
  animation-delay: 0.25s;
}
.tech-card:nth-child(5) {
  animation-delay: 0.3s;
}
.tech-card:nth-child(6) {
  animation-delay: 0.35s;
}
.tech-card:nth-child(7) {
  animation-delay: 0.4s;
}
.tech-card:nth-child(8) {
  animation-delay: 0.45s;
}
.tech-card:nth-child(9) {
  animation-delay: 0.5s;
}
.tech-card:nth-child(10) {
  animation-delay: 0.55s;
}

/* Add filter to make SVGs visible against white background */
.filter-primary {
  filter: invert(40%) sepia(60%) saturate(1000%) hue-rotate(175deg)
    brightness(95%) contrast(95%);
}

/* Update tech slider styles for better appearance */
.tech-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.tech-slider {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: scroll 30s linear infinite;
}

.tech-slider-item {
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tech-slider-item:hover {
  transform: translateY(-5px);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-110px * 10));
  }
}

@media (max-width: 768px) {
  .tech-slider-item {
    width: 80px;
    height: 80px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100px * 10));
    }
  }
}

/* Estilos mínimos que não podem ser facilmente implementados com Tailwind */
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  margin: 0 4px;
}

.carousel-indicator.active {
  background-color: #00a7e1;
  transform: scale(1.3);
}
