body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(120deg, #e8f0ef, #f6faf9, #dbe9e7);
  background-size: 200% 200%;
  animation: bgMove 12s ease infinite;
  color: #333;
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Navbar */
.navbar {
  background-color: #539d92;
  border-radius: 20px;
  margin: 10px;
  padding: 10px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar a.nav-link {
  color: white !important;
  font-weight: 500;
}

.navbar a.nav-link:hover {
  color: #ffe;
}

/* Carousel */
.carousel-item {
  height: 75vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 15px;
  padding: 25px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Our Service */
#services {
  background: linear-gradient(135deg, #539d92 10%, #87c7ba 90%);
  color: white;
  padding: 70px 0;
}

.service-item {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.service-item h5 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-item ul {
  list-style: none;
  padding: 0;
  color: #f3f3f3;
}

.service-item ul li {
  padding: 5px 0;
}

/* Portfolio */
#portfolio {
  background: linear-gradient(180deg, #f3f9f8 0%, #e8f3f1 100%);
  border-radius: 30px;
  padding: 70px 0;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(40deg, #5e5e5e 0%, #539d92 100%);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 15px;
  transition: opacity 0.4s ease;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 0.9;
}

.portfolio-overlay h5 {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Clients */
.clients-section {
  background: white;
  padding: 70px 0;
  border-top: 5px solid #539d92;
}

.img-clients img {
  transition: 0.3s;
  filter: grayscale(100%);
}

.img-clients img:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

/* Find Us */
#find-us iframe {
  width: 100%;
  height: 350px;
  border-radius: 15px;
}

.site-footer {
  background-color: #539d92;
  padding: 10px;
}

@media (max-width: 768px) {
  .carousel-item {
    height: 50vh;
  }
}


.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}
.service-item {
    position: relative;
}
.badge-offline { background: #0d6efd; color: white; }
.badge-online { background: #198754; color: white; }
.badge-member-offline { background: #ffc107; color: black; }
.badge-member-online { background: #dc3545; color: white; }