/* Header Styles - Extracted from styles.css */
:root {
  /* Enhanced Color Palette */
  --primary-blue: #1e40af;
  --secondary-blue: #3b82f6;
  --light-blue: #60a5fa;
  --accent-blue: #93c5fd;
  --pale-blue: #dbeafe;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #f1f5f9;
  --gray: #64748b;
  --dark-gray: #334155;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Enhanced Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Enhanced Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  --gradient-light: linear-gradient(135deg, var(--pale-blue), var(--white));
  --gradient-hero: linear-gradient(135deg, var(--off-white) 0%, var(--pale-blue) 100%);

  /* Enhanced Border Radius */
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;

  /* Enhanced Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--pale-blue);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.brand-link:hover {
  transform: scale(1.02);
}

.brand-logo {
  position: relative;
  height: 48px;
}

.logo-image {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--transition);
}



.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-link {
    font-size: 18px;
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 70px;
  }

  .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-motto {
    font-size: 11px;
  }

  .brand-logo {
    height: 40px;
  }

  .logo-image {
    max-width: 150px;
  }
}
