/* ================================
   BASE TYPOGRAPHY & BACKGROUND
================================== */
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc;
}

/* COLORS */
:root {
  --axiom-cyan:  #00AEEF;
  --axiom-navy:  #1B1464;
  --axiom-dark:  #0f0c35;
  --axiom-light: #f0f9ff;
}

/* ================================
   NAVBAR
================================== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}
.navbar.navbar-hidden {
  transform: translateY(-100%);
}

/* ================================
   LOGO
================================== */
.logo-img {
  height: 7rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}
.group:hover .logo-img {
  transform: scale(1.05);
}

.logo-fallback {
  display: none;
  flex-direction: column;
}
.fallback-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--axiom-cyan);
}
.fallback-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--axiom-navy);
}

/* ================================
   DESKTOP NAV LINKS
================================== */
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--axiom-cyan);
}

/* CTA BUTTON */
.nav-cta {
  background: var(--axiom-cyan);
  color: #fff;
  padding: 0.7rem 1.7rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(56,189,248,0.35);
  transition: 0.2s;
}
.nav-cta:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

/* ================================
   HAMBURGER ICON
================================== */
.mobile-btn {
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  width: 100%;
  height: 3px;
  background: #475569;
  border-radius: 4px;
  transition: 0.35s;
}
.mobile-btn:hover .hamburger span {
  background: var(--axiom-cyan);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ================================
   MOBILE MENU WRAPPER
================================== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e2e8f0;
}
.mobile-menu.open {
  max-height: 500px; /* enough for large spacing */
}

/* ================================
   MOBILE LINK — WITH BIGGER SPACING
================================== */
.mobile-link {
  display: block;
  padding: 1.1rem 1.2rem;        /* HUGE spacing */
  font-size: 1.05rem;            /* Larger readable text */
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 0.6rem;
  line-height: 1.55;             /* Big breathing room */
  transition: background 0.25s, color 0.25s;
}

.mobile-link:hover {
  background: var(--axiom-light);
  color: var(--axiom-navy);
}

/* Divider */
.mobile-link + .mobile-link {
  border-top: 1px solid #d9dde2;
}

/* ================================
   MOBILE CTA
================================== */
.mobile-cta {
  display: block;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border-radius: 0.75rem;
  background: var(--axiom-cyan);
  color: white;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(56,189,248,0.3);
}

/* ================================
   MOBILE DROPDOWN: COURSES
================================== */
#mobile-courses-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

#mobile-courses-panel .mobile-link {
  padding-left: 2rem; /* indentation */
  font-size: 0.95rem;
}

/* Chevron rotate */
.rotate-180 {
  transform: rotate(180deg);
}