/* Minimalist Custom Styles for Pyleap */

body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.minimal-link {
  position: relative;
  text-decoration: none;
}

.minimal-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.minimal-link:hover::after {
  width: 100%;
}

.course-card {
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: #002147;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.btn-minimal {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.btn-minimal:hover {
  border-color: #002147;
  background-color: #002147;
  color: white;
}

/* Infinite Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scroll-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

.scroll-item {
  display: inline-flex;
  align-items: center;
  margin-right: 4rem;
}
