/* ===== GOOGLE FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@500;700&display=swap");

/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  background: #011013;
  overflow-x: hidden;
}

:root {
  --accent: #2c3e50;
  --muted: #6b7280;
  --light: #ffffff;
  --panel-bg: #f7f7f8;
  --heading-size: 2.2rem;
  /* Control heading size here */
}

/* ===== NAVIGATION BAR ===== */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(4px);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
}

.brand .logo {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

.brand .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Navigation menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #000;
  /* Light Blue/White */
  padding: 5px 10px;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: rgb(0, 254, 207);
  border-bottom: 2px solid rgb(2, 255, 234);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 0;
  /* remove vertical padding */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: max-content;
  /* auto width based on content */
  white-space: nowrap;
  /* prevent wrapping to next line */
  z-index: 120;
}

.dropdown-menu a {
  display: block;
  /* each link takes full row */
  padding: 8px 15px;
  /* space around text */
  color: #000;
  /* text color */
  text-decoration: none;
  /* remove underline */
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
  /* highlight on hover */
  color: rgb(0, 255, 221);
  /* optional: highlight color */
}


@media (min-width: 801px) {
  .dropdown:hover>.dropdown-menu {
    display: block;
  }
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f8f8f8;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 10px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown.open>.dropdown-menu {
    display: block;
  }
}

/* Login button */
/* Login button */
.btn-login {
  background: linear-gradient(90deg, #64ffda, #00b4d8);
  color: #0a192f !important;
  /* Dark text on bright button */
  padding: 8px 20px;
  border-radius: 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #64ffda;
  color: #0a192f !important;
}

/* ===== TICKER ===== */
/* ===== TICKER ===== */
.ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(1, 12, 16, 0.071);
  border-top: 1px solid rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 0;
  /* made slightly smaller */
  position: fixed;
  top: 95px;
  left: 0;
  right: 0;
  z-index: 90;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-size: 13px;
  /* smaller text */
  color: #ffffff;
  /* neon green text, change to any color you like */
  font-weight: 500;
  /* optional: makes text slightly bolder */
}

.ticker-content span {
  padding: 0 2rem;
  /* reduce space between items */
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.ticker-content:hover {
  animation-play-state: paused;
}


/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  position: relative;
  padding-top: 160px;
  /* space for navbar + ticker */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px;
  backdrop-filter: blur(0px);
}

.site-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  color: var(--light);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  font-weight: 700;
}

.motto {
  margin: 10px 0;
  color: var(--light);
  font-weight: 600;
  letter-spacing: 2px;
}

.tagline {
  max-width: 820px;
  margin: auto;
  color: rgba(255, 255, 255, 0.92);
}

.down-arrow {
  display: inline-block;
  margin-top: 28px;
  font-size: 28px;
  color: var(--light);
}

/* ===== PANELS ===== */
.panel {
  padding: 80px 20px;
  background: var(--light);
  color: var(--accent);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.panel.visible {
  opacity: 1;
  transform: none;
}

.panel-alt {
  background: #fafafa;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 26px 20px;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}


.nav-menu .dropdown {
  position: relative;
  /* parent of dropdown-menu */
}

.dropdown-menu {
  top: 100%;
  left: 0;
}

/* ===== TICKER LINKS STYLE ===== */
/* ===== TICKER LINKS STYLE ===== */
.ticker .ticker-content a {
  color: #2f3232;
  /* ticker text color */
  text-decoration: none;
  /* remove underline */
  font-weight: 500;
  /* match ticker text weight */
}

.ticker .ticker-content a:hover {
  color: #ffffff;
  /* same on hover */
  text-decoration: none;
  /* no underline on hover */
}


/* ===== COLLAPSIBLE / ACCORDION ===== */
.collapsible {
  background-color: #f1f1f1;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  margin-bottom: 5px;
  border-radius: 4px;
  font-weight: 600;
}

.active,
.collapsible:hover {
  background-color: #ccc;
}

.collapsible:after {
  content: '\002B';
  /* Unicode character for "plus" sign (+) */
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
  /* Unicode character for "minus" sign (-) */
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #ffffff;
  color: #000;
  border-radius: 0 0 4px 4px;
  margin-bottom: 10px;
}

.content ul {
  list-style-type: none;
  padding: 10px 0;
}

.content ul li {
  padding: 5px 0;
}

.content ul li a {
  text-decoration: none;
  color: #333;
}

.content ul li a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== ABOUT SECTION REDESIGN ===== */
#about.panel,
#Courses.panel,
#Features.panel,
#contact.panel {
  background: #050a10;
  /* Dark background for contrast */
  color: #fff;
}

.panel h2 {
  font-family: "Orbitron", sans-serif;
  font-size: var(--heading-size);
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.5),
    0 0 20px rgba(100, 255, 218, 0.3);
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Optional: Add a small neon underline to headings */
.panel h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #64ffda;
  margin: 15px auto 0;
  box-shadow: 0 0 10px #64ffda;
  border-radius: 2px;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  flex: 1 1 300px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #64ffda;
  box-shadow: 0 0 30px rgba(100, 255, 218, 0.15);
}

.about-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #64ffda, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(100, 255, 218, 0.5));
}

.about-card h3 {
  font-family: "Orbitron", sans-serif;
  color: #e6f1ff;
  margin-bottom: 15px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.about-card p {
  color: #a8b2d1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Neon line effect on hover */
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #64ffda, transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.about-card:hover::before {
  transform: translateX(100%);
  transition: 0.5s;
}
