#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(26, 31, 46, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--accent);
  letter-spacing: 1px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav-links a {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sec);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-nav a {
  font-family: "Poppins", sans-serif;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 20px 0;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 14px clamp(16px, 4vw, 32px);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition),
    background var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent);
  background: rgba(100, 255, 218, 0.05);
}

.footer-inner {
  font-family: "Poppins";
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-sec);
}

.footer-name-script {
  font-family: "Great Vibes", cursive;
  font-size: 1.25rem;
  color: var(--accent);
  vertical-align: middle;
  line-height: 1;
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .edu-card {
    flex-direction: column;
  }

  .edu-icon {
    width: 44px;
    height: 44px;
  }
}

