/* FIXED + RESPONSIVE CSS */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 40px;
  background-color: #02042c;
  background-repeat: no-repeat;
  background-size: cover;
}

.navbar {
  color: hwb(0 92% 5%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  z-index: 999;
  position: fixed;
  background-color: #03042c;
  width: 100%;
}
.navbar {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.navbar-brand img {
  height: 60px;  /* or 70px */
}
.text h1{
  padding-top: 30px;
}
.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 20px ;
  
}

.card {
  background-color: white;
  width: 220px;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);
  background-size: 300% 100%;
  animation: runBorder 4s linear infinite;
  z-index: -1;
}

.card::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: white;
  border-radius: 10px;
  z-index: -1;
}

@keyframes runBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px;
}

.arrow {
  font-size: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: hwb(206 92% 5%);
}

.arrow:hover {
  color: hwb(233 1% 15%);
}

.circle {
  width: 80px;
  height: 60px;
  background-color: hsl(192, 6%, 50%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle:hover {
  transform: scale(1.05);
}

/* SLIDES */
.slides > .slide {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

#slide1:target,
#slide2:target,
#slide3:target {
  display: flex;
}

body:not(:has(:target)) #slide1 {
  display: flex;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .slider-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
  }

  .slides > .slide {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card {
    width: 90%;
    max-width: 300px;
    padding: 30px 15px;
  }
}

/* Enroll button (for .btn not using Bootstrap) */
.btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.btn:hover {
  background-color: #0056b3;
}
