:root {
    --main-bg-color: #0c0c0c;
    --main-text-color: #f5f5f5;
    --highlight-color: #ffc107;
    --navbar-footer-color: #121822;
}

body{
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    font-size: 1.1rem;
}

.nav-footer{
    background-color: var(--navbar-footer-color);
}

.nav-link {
    transition: background-color 0.3s, color 0.3s;
    color: var(--main-text-color);
}

.nav-link:hover {
    color: var(--highlight-color);
    background-color:#2a3b58;
    text-decoration: none;
}

.highlight{
    color: var(--highlight-color);
}

.section-detail li{
    list-style: none;
}

.header {
    height: 60vh;
    position: relative;
    text-shadow: 2px 2px 8px #000000;
    overflow: hidden;
    border-top: var(--highlight-color) solid 2px;
    border-bottom: var(--highlight-color) solid 2px;
}

.header::before {
    content: "";
    background: url('CourseIMG/header.png') no-repeat center center / cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 0;
}

.header .overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.clickable-feature i {
    font-size: 2.5rem;
    color: var(--highlight-color);
    transition: transform 0.2s;
}

.clickable-feature a:hover i {
    transform: scale(1.2);
}

.clickable-feature h5 {
    margin-top: 15px;
    color: var(--highlight-color);
}

.carousel-inner img {
    height: 600px;
    object-fit: cover;
}

.carousel-caption{
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carousel-caption h5 {
    font-size: 1.25rem;
}
.carousel-caption p {
    font-size: 1rem;
}

.section-detail {
    margin-top: 80px;
}

.section-detail img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px #ffc10762;
}

.teachers img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: 0.2s;
}

.teacher-item {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.teachers p {
    font-size: 1rem;
    font-weight: 600;
}
  

.custom-hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--highlight-color), transparent);
    width: 80%;
    margin: 40px auto;
    opacity: 0.7;
}

.enroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    padding-bottom: 15px;
}
  
  .enroll.visible {
    opacity: 1;
    transform: translateY(0);
}
  

.btn-enroll {
    background-color: var(--highlight-color);
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}

.btn-enroll:hover{
    transform: scale(1.15);
    transition: 0.6s;
}

/*animation shit*/

.section-detail {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
  
  .fade-left {
    transform: translateX(-80px);
}
  
  .fade-right {
    transform: translateX(80px);
}
  
  .section-detail.visible {
    opacity: 1;
    transform: translateX(0);
}

#chakra-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 0 0 0 #ffc107;
    font-weight: bold;
}

#chakra-title.glowing span {
    animation: pulseGlow 2s ease-in-out infinite;
    }

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 0 0 8px #ffc107, 0 0 16px #ff9100;
    }
    50% {
        text-shadow: 0 0 14px #ffd54f, 0 0 28px #ffc107;
    }
}

  #chakraTrail {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
  }
  
  @media (max-width: 576px) {
    body {
      font-size: 0.95rem;
    }
    .carousel-inner img {
        height: 400px;
        object-fit: cover;
    }
    .carousel-caption h5 {
      font-size: 1rem;
    }
    .carousel-caption p {
      font-size: 0.875rem;
    }
    .custom-hr {
        margin: 3px auto;
    }
  }
  
