/* ===== Header Styling ===== */
*{
   font-family: "Poppins", sans-serif;
}
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: white;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  transition: 0.3s ease;
}

/* Brand Name */
.main-header .brand {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.brand .green {
  color: #27ae60;
}

.brand .orange {
  color: #f2994a;
}

/* Navigation Links */
.main-header .navigation .navigation-items a {
  color: #6e7885;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 25px;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover underline */
.main-header .navigation .navigation-items a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #27ae60;
  bottom: -5px;
  left: 0;
  transition: 0.3s ease;
}

.main-header .navigation .navigation-items a:hover {
  color: #27ae60;
}

.main-header .navigation .navigation-items a:hover::before {
  width: 100%;
}

/* Enroll Now Button */
.enroll-btn-nav {
  background: #27ae60;
  border: none;
  color: #fff;
  padding: 8px 20px;
  margin-left: 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.enroll-btn-nav:hover {
  background: #f2994a;
  color: #fff;
  transform: scale(1.05);
}

/* ===== MOBILE VIEW (YOUR REQUESTED VERSION) ===== */
@media(max-width: 1100px){
.main-header .brand {
  font-size: 1.5rem;
}
.main-header .navigation .navigation-items a {
  font-size: 0.90rem;
}
.enroll-btn-nav{
  padding: 8px 16px;
  font-size: 0.85rem;
}
}
@media(max-width: 990px){
  .main-header {
    padding: 12px 20px;
  }

  .main-header .brand {
    font-size: 1.5rem;
  }
  .main-header .navigation {
    display: none;
  }

  .home .content.active {
    width: 100%;
  }
  .main-header .navigation.active {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgba(255, 255, 255, 0.7); */
  }

  .main-header .navigation .navigation-items a {
    color: #b7b7b7;
    font-size: 1.2rem;
    margin: 20px;
  }

  .main-header .navigation .navigation-items a:before {
    background-color: #fff;
    height: 5px;
  }
    .main-header .navigation .navigation-items a:hover {
    color: #27ae60;
  }
  .main-header .navigation .navigation-items a:hover::before {
    background-color: #27ae60;
  }

  .main-header .navigation.active .navigation-items {
    width: 100%;
    height: 80vh;
    margin: 20px;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(1 1 1 /20%);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .slider-navigation .nav-btn {
    width: 10px;
    height: 10px;
  }

  .menu-btn {
    background: url("../home/image/menu2.png") no-repeat center center;
    /* transform: rotateY(180deg); */
    background-size: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .menu-btn.active {
    z-index: 999;
    background: url("../home/image/menu1.png") no-repeat center center;
    background-size: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    /* filter: brightness(0) invert(1); */
  }
  .enroll-btn-nav{
    margin-left: 0px;
  }
}

@media(max-width: 600px){
  .main-header .brand {
    font-size: 1.2rem;
  }
}

/* --- Global Preloader Overlay (used on all pages) --- */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.preloader-hide {
  opacity: 0;
  visibility: hidden;
}

#preloader .loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 6px solid #e0e0e0;
  border-top-color: #00b36b;
  animation: preloader-spin 1s linear infinite;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}
