/* =========================
   HEADER SECTION
========================= */

.header-section {
  position: fixed;
  width: 100%;
  z-index: 50;
}

/* Gradient overlay behind header */
.header-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: -1;                                                    
}                                                                                                                                                                                                                      

/* MULTI-COLOR LOGO GLOW */
.header-logo {
  position: relative;
}

.header-logo-glow {
  position: absolute;
  inset: -28px;
  z-index: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 157, 0.45), transparent 65%),
    radial-gradient(circle at 100% 0%, rgba(0, 200, 255, 0.4), transparent 65%),
    radial-gradient(circle at 50% 100%, rgba(160, 100, 255, 0.35), transparent 65%);
  filter: blur(28px);
  animation: logoGlowShift 10s ease-in-out infinite alternate;
}

@keyframes logoGlowShift {
  0% {
    transform: translate(-10px, -8px) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(5px, 0px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(10px, 10px) scale(1);
    opacity: 0.9;
  }
}

/* NAV MENU (DESKTOP) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* <<< CONTROL MENU SPACING HERE */
}

.header-nav-item {
  position: relative;
  color: #ffffff;
  font-weight: 300;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.header-nav-item::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  height: 2px;
  width: 0%;
   transform: translateX(-50%);
  background: #00ff9d;
  transition: width 0.35s ease;
}

.header-nav-item:hover {
  color: #00ff9d;
}

.header-nav-item:hover::after {
  width: 100%;
}

.header-nav-item.active {
  color: #00ff9d;
  font-weight: 600;
}

.header-nav-item.active::after {
  width: 100%;
}

/* SOCIAL ICONS */
.header-social-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* force white */
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-social-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* MOBILE NAV */
#mobileMenu{
	background-color:rgba(0,0,0,0.1);
}
.header-mobile-nav {
  width: 100%;
}

.header-mobile-item {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.header-mobile-item.active {
  color: #00ff9d;
}

.academy-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #00ff9d;
}

.section-desc {
  max-width: 640px;
  margin-top: 0.6rem;
  color: rgba(255,255,255,0.75);
}

/* =====================================================
   HERO
===================================================== */

.academy-hero {
 position: relative;
  height: 85vh;
  background: url("../assets/bg/academy.png") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.academy-hero-overlay {
    position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.9)
  );
}


.academy-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding-left: 3rem;
}

.academy-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #00ff9d;
  margin-bottom: 1rem;
  display: inline-block;
}

.academy-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.academy-hero h1 span {
  color: #00ff9d;
  text-shadow: 0 0 30px rgba(0,255,157,0.4);
}

.academy-hero p {
 font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}


/* =====================================================
   ACADEMY PROGRAMS GRID
===================================================== */

.academy-programs {
  padding: 6rem 0;
  background: #05080a;
}

.academy-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.academy-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #00ff9d;
}

.academy-section-desc {
  max-width: 640px;
  margin-top: 0.6rem;
  color: rgba(255,255,255,0.75);
}

/* Grid */
.academy-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Card */
.academy-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.01)
  );
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.6rem;
  cursor: pointer;
  transition: all 0.35s ease;
}

.academy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,157,0.45);
  box-shadow: 0 25px 45px rgba(0,0,0,0.6);
}

/* Thumbnail */
.academy-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Title */
.academy-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #00ff9d;
  margin-bottom: 0.4rem;
}

/* Meta */
.academy-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* Description */
.academy-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0.6rem 0 1rem;
}

/* Link */
.academy-link {
  font-weight: 600;
  color: #00ff9d;
}

/* =====================================================
   POPUP
===================================================== */

.academy-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.academy-popup {
  position: relative;
  max-width: 760px;
  width: 92%;
  padding: 3rem;
  background: #05080a;
  border-radius: 22px;
  border: 1px solid rgba(0,255,157,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  
  /* SIZE CONTROL */
  max-height: 85vh;        /* popup height limit */
  
  /* SCROLL */
  overflow-y: auto;
  overscroll-behavior: contain;
  
}


/* =====================================================
   CUSTOM SCROLLBAR – ACADEMY POPUP
===================================================== */

/* Chrome, Edge, Safari */
.academy-popup::-webkit-scrollbar {
  width: 4px;
}

.academy-popup::-webkit-scrollbar-track {
  background: transparent;
}

.academy-popup::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 157, 0.35);
  border-radius: 10px;
}

.academy-popup::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 157, 0.85);
}

/* Firefox */
.academy-popup {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,255,157,0.55) transparent;
}


.academy-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.popup-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}

pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* =====================================================
   WHO SHOULD ENROLL BOX
===================================================== */

.popup-enroll-box {
  margin-top: 2.5rem;
  padding: 2.2rem;
  border-radius: 20px;
  border: 1px solid rgba(0,255,157,0.45);
  background: linear-gradient(
    180deg,
    rgba(0,255,157,0.06),
    rgba(0,0,0,0)
  );
  text-align: center;
}

.popup-enroll-box h4 {
  font-size: 22px;
  font-weight: 700;
  color: #00ff9d;
}

.popup-enroll-btn {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  background: #00ff9d;
  color: #05080a;
  font-weight: 600;
}

.popup-footnote {
  display: block;
  margin-top: 1rem;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1024px) {
  .academy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .academy-grid {
    grid-template-columns: 1fr;
  }
}



/* =====================================================
   CTA
===================================================== */

.academy-cta {
  padding: 6rem 1.5rem;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(0,255,157,0.15), rgba(0,0,0,0.95));
}

 .academy-cta  h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 2rem;
}

.btn-primary {
padding: 1rem 2.4rem;
  border-radius: 999px;
  background: #00ff9d;
  color: #05080a;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}


.btn-primary :hover{
 transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,255,157,0.4);
}





/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .academy-hero-content {
    padding-left: 1.5rem;
  }
}

/* ================= FOOTER ================= */

.footer-section {
  background: radial-gradient(
    ellipse at top,
    rgba(0, 255, 157, 0.06),
    rgba(0, 0, 0, 0.9)
  );
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Brand */
.footer-logo span img {
	width:150px;
}

 

.footer-desc {
  margin-top: 0.8rem;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

/* Headings */
.footer-heading {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Links */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #00ff9d;
}

.footer-contact span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  color: #000;
  background: #00ff9d;
  border-color: #00ff9d;
}

/* Newsletter */
.footer-newsletter-form {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 6px;
}

.footer-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 0.6rem 0.8rem;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form button {
  background: #00ff9d;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  transition: transform 0.2s ease;
}

.footer-newsletter-form button:hover {
  transform: translateX(2px);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #00ff9d;
}
