.nav-cta .nav-call-btn,
.nav-link {
  font-size: clamp(0.9rem, 2vw, 1rem);
}
.navbar,
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
}
.mobile-nav-link,
.nav-link {
  text-decoration: none;
  font-weight: 600;
}
:root {
  --primary-blue: #1e40af;
  --secondary-blue: #3b82f6;
  --light-blue: #e0f2fe;
  --accent-red: #dc2626;
  --accent-red-hover: #ef4444;
  --dark-red: #b91c1c;
  --success-green: #10b981;
  --warning-yellow: #fbbf24;
  --text-dark: #1f2937;
  --text-medium: #374151;
  --text-light: #6b7280;
  --background-light: #f8fafc;
  --background-gradient: #e2e8f0;
  --text-medium: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-xxl: 0 20px 45px rgba(0, 0, 0, 0.15);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --border-radius-sm: 6px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 15px;
  --border-radius-2xl: 20px;
  --border-radius-full: 50px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}
.navbar {
  right: 0;
  background: #274b7d;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 0;
}
.scroll-progress {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1002;
  transition: transform 0.1s;
}
.nav-item,
.nav-link {
  position: relative;
}
.brand-link,
.brand-logo,
.mobile-close-btn,
.mobile-nav-link,
.nav-hamburger,
.nav-link {
  transition: all var(--transition-fast);
}
@media (max-width: 1080px) {
  .scroll-progress {
    height: 3px;
  }
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.nav-container {
  max-width: min(1280px, 95vw);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(70px, 8vh, 80px);
}
.nav-brand {
  flex-shrink: 0;
}
.brand-link {
  text-decoration: none;
  display: block;
}
.brand-logo {
  height: clamp(40px, 6vh, 50px);
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
}
@media (max-width: 580px) {
  .scroll-progress {
    display: none;
  }
  .brand-logo {
    height: clamp(25px, 4.5vh, 35px);
  }
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(20px, 3vw, 35px);
}
.nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(8px, 1.5vh, 12px) 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), #fff);
  transition: width var(--transition-normal);
}
.hamburger-line,
.mobile-menu-overlay,
.nav-cta .nav-call-btn {
  transition: all var(--transition-normal);
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:focus {
  outline: rgba(255, 255, 255, 0.8) solid 2px;
  outline-offset: 2px;
  border-radius: 2px;
}
.nav-cta .nav-call-btn {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: var(--text-medium);
  padding: clamp(10px, 2vh, 12px) clamp(18px, 3vw, 24px);
  border-radius: var(--border-radius-full);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  white-space: nowrap;
}
.nav-cta .nav-call-btn:focus {
  outline: rgba(253, 253, 253, 0.3) solid 3px;
  outline-offset: 2px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: clamp(8px, 2vh, 12px);
  border-radius: var(--border-radius-sm);
  background: 0 0;
  border: none;
  z-index: 1001;
}
.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.226);
}
.hamburger-line {
  width: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  margin: 3px 0;
  transform-origin: center;
}
.nav-hamburger.active .hamburger-line:first-child,
.nav-hamburger.active .hamburger-line:last-child,
.nav-hamburger.active .hamburger-line:nth-child(2) {
  display: none;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu-content,
.mobile-nav-link::before {
  position: absolute;
  top: 0;
  transition: transform var(--transition-normal);
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-content {
  right: 0;
  width: min(350px, 85vw);
  height: 100vh;
  background: var(--text-medium);
  transform: translateX(100%);
  overflow-y: auto;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}
.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 4vh, 25px) clamp(20px, 4vw, 25px);
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f0f9ff, var(--light-blue));
}
.mobile-brand-logo {
  height: clamp(35px, 5vh, 45px);
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
}
.mobile-close-btn {
  background: 0 0;
  border: none;
  font-size: 2rem;
  color: var(--text-medium);
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  border-radius: var(--border-radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-call-btn,
.mobile-nav-link {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}
.mobile-close-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--accent-red);
}
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: clamp(20px, 4vh, 30px) 0;
}
.mobile-nav-item {
  margin: 0;
}
.mobile-nav-link {
  padding: clamp(15px, 3vh, 18px) clamp(20px, 4vw, 25px);
  color: var(--text-dark);
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}
.mobile-nav-link::before {
  content: "";
  left: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  transform: scaleY(0);
}
.mobile-nav-link:hover {
  background: #f8fafc;
  color: var(--primary-blue);
  padding-left: clamp(30px, 5vw, 35px);
}
.mobile-nav-link:hover::before {
  transform: scaleY(1);
}
.mobile-nav-link:active {
  background: var(--light-blue);
}
.mobile-cta {
  margin-top: clamp(20px, 4vh, 30px);
  padding: 0 clamp(20px, 4vw, 25px);
}
.mobile-call-btn {
  text-align: center;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: var(--text-medium);
  padding: clamp(15px, 3vh, 18px) clamp(25px, 5vw, 30px);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  border: none;
  cursor: pointer;
}
.mobile-call-btn:hover {
  background: linear-gradient(135deg, var(--dark-red), var(--accent-red));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}
.mobile-call-btn:active {
  transform: translateY(0);
}
body {
  padding-top: clamp(70px, 8vh, 80px);
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-container {
    height: clamp(60px, 7vh, 70px);
  }
  body {
    padding-top: clamp(60px, 7vh, 70px);
  }
}
@media (max-width: 480px) {
  .mobile-menu-content {
    width: 100vw;
  }
  .brand-link {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}
@media (prefers-contrast: high) {
  .navbar {
    background: var(--text-medium);
    border-bottom: 2px solid var(--primary-blue);
  }
  .nav-link {
    color: var(--text-dark);
  }
  .hamburger-line {
    background: var(--text-dark);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hamburger-line,
  .mobile-call-btn,
  .mobile-menu-content,
  .mobile-menu-overlay,
  .mobile-nav-link,
  .mobile-nav-link::before,
  .nav-call-btn,
  .nav-link,
  .nav-link::after,
  .navbar {
    transition: none;
  }
}
@supports selector(:focus-visible) {
  .nav-link:focus {
    outline: 0;
  }
  .nav-link:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 2px;
  }
}
