
/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 5s ease-in-out;
}

 html {
    scroll-behavior: smooth;
  }

/* Hero section styles */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;  
}

.hero p {
  font-size: 1.25rem;
  color: #f0f0f0;
}

/* Image fade */
#hero {
  animation: fadeImage 20s infinite;
}

@keyframes fadeImage {
  0%   { background-image: url('../assets/hero.jpg'); }
  33%  { background-image: url('../assets/training.jpg'); }
  66%  { background-image: url('../assets/discussion.jpg'); }
  100% { background-image: url('../assets/interview.jpg'); }
}
