#intro {
  background: linear-gradient(
      135deg,
      rgba(0, 43, 73, 0.9) 0%,
      rgba(0, 178, 226, 0.9) 100%
    ),
    url("../img/hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
}

.intro-title {
  font-family: "Poppins", sans-serif;
  color: var(--blue-dark);
  letter-spacing: 1px;
  position: relative;
}

.intro-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--blue-light);
  transition: width 0.5s ease, left 0.5s ease;
}

.intro-title:hover::after {
  width: 60px;
  left: calc(50% - 30px);
}

.intro-subtitle {
  color: var(--blue-light);
  font-weight: 400;
}
.intro-slogan {
  color: var(--blue-dark);
  font-size: 1.25rem;
  opacity: 0.8;
}

.intro-title,
.intro-subtitle,
.intro-slogan {
  opacity: 0;
  transform: translateY(20px);
  animation: introAppear 0.8s ease-out forwards;
}
.intro-title {
  animation-delay: 0.2s;
}
.intro-subtitle {
  animation-delay: 0.4s;
}
.intro-slogan {
  animation-delay: 0.6s;
}

.btn-outline-light {
  border-color: #fff;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--blue-dark);
}
.scroll-down {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
  color: #fff;
}
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}
@keyframes introAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .intro-title {
    font-size: 1.75rem;
  }
  .intro-subtitle {
    font-size: 1rem;
  }
  .intro-slogan {
    font-size: 1rem;
  }

  #banner-carousel .row {
    flex-direction: column;
  }
  .placeholder-image {
    height: 200px;
    margin-top: 1rem;
  }
}
