/* ============================================
   NEUROVIA - UI ENHANCEMENTS
   Modern, sophisticated design refinements
   ============================================ */

/* Typography Enhancements */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.h1-heading {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.h2-heading {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.h3-heading {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.paragraph {
  line-height: 1.6;
  color: #4f4f4f;
}

/* Section Spacing Enhancements */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Hero Section Enhancements */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 20%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(28, 38, 230, 0.08) 0%, rgba(28, 38, 230, 0.03) 100%);
  pointer-events: none;
  z-index: 0;
}

.home-hero-detail-div {
  position: relative;
  z-index: 2;
}

/* Card Enhancements */
.our-ecosystem-card,
.proven-number-card,
.service-card,
.team-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
}

.our-ecosystem-card:hover,
.proven-number-card:hover,
.service-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-card {
  background: white;
  border: 1px solid #e7e7e7;
}

.service-card:hover {
  border-color: #1c26e6;
  background: #fafbff;
}

/* Icon Box Enhancements */
.service-icon-box {
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background-color: #ebf2ff;
  transform: scale(1.05);
}

/* Stats Section Enhancement */
.proven-number-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e7e7e7;
}

/* Technology Cards Enhancement */
.our-ecosystem-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Line Dividers Enhancement */
.gray-200-line {
  background: linear-gradient(90deg, transparent, #d1d1d1, transparent);
  height: 1px;
  opacity: 0.5;
}

/* Button Enhancements */
.common-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(28, 38, 230, 0.2);
}

.common-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 38, 230, 0.3);
  background-color: #1a24b9;
}

/* Navigation Enhancement */
.header {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-link {
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #1c26e6;
}

.nav-line-div {
  transition: all 0.3s ease;
}

/* Page Label Enhancement */
.page-label {
  box-shadow: 0 2px 8px rgba(28, 38, 230, 0.15);
  transition: all 0.3s ease;
}

/* Sub-heading Enhancement */
.sub-heading {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Process Section Enhancement */
.how-we-work-process-div {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.how-we-work-process-div:hover {
  padding-left: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.process-count-box {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.how-we-work-process-div:hover .process-count-box {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.25);
}

/* Enhanced text contrast for How We Innovate section */
.section.bg-blue .h2-heading.white-text {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.section.bg-blue .h4-heading.white-text {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.section.bg-blue .paragraph.white-800-color {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1.7;
}

.process-number {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Team Section Enhancement */
.team-wrapper {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  padding: 80px 0;
}

.team-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Enhanced text contrast for team section */
.team-card .h2-heading.white-text {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.team-card .h4-heading.white-text {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.team-card .paragraph.white-800-color {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 400;
  margin: 0;
  line-height: 1.7;
}

.team-line {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  height: 2px;
  width: 100%;
  margin: 0;
}

.team-detail-div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Footer Enhancement */
.footer {
  background-position: center;
  background-size: cover;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(28, 38, 230, 0.95) 0%, rgba(26, 36, 185, 0.98) 100%);
  pointer-events: none;
}

.footer-wrapper {
  position: relative;
  z-index: 1;
}

/* Footer text colors - ensure all text is white */
.footer .h2-heading,
.footer .h2-heading.white-text {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer .paragraph,
.footer .paragraph.white-800-color {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.footer .white-800-color {
  color: #ffffff !important;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Focus States */
a:focus,
button:focus {
  outline: 2px solid #1c26e6;
  outline-offset: 2px;
}

/* Loading Animation Enhancement */
[style*="opacity:0"] {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid Enhancements */
.our-ecosystem-grid,
.proven-number-grid,
.service-grid,
.team-grid {
  gap: 32px;
}

/* Equal height cards in grids */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
}

.team-div {
  display: flex;
  height: 100%;
}

.team-card {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

/* Responsive Enhancements */
@media (max-width: 991px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .h1-heading.home-hero-heading {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .h1-heading.home-hero-heading {
    font-size: 40px;
  }
  
  .h2-heading {
    font-size: 36px;
  }
  
  .our-ecosystem-grid,
  .proven-number-grid,
  .service-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Selection Color */
::selection {
  background-color: #1c26e6;
  color: white;
}

::-moz-selection {
  background-color: #1c26e6;
  color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f6f6f6;
}

::-webkit-scrollbar-thumb {
  background: #1c26e6;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a24b9;
}


/* ============================================
   ADDITIONAL POLISH & MICRO-INTERACTIONS
   ============================================ */

/* Gradient Text Effect for Numbers */
.our-ecosystem-count-div .h2-heading,
.proven-number-card .h2-heading {
  background: linear-gradient(135deg, #1c26e6 0%, #6a8cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Icon Animation */
.service-icon {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Check Icon Animation */
.service-check-icon {
  transition: all 0.3s ease;
}

.service-list-div:hover .service-check-icon {
  transform: translateX(4px);
}

/* Ecosystem Icon Glow Effect */
.our-ecosystem-icon {
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(28, 38, 230, 0.1));
}

.our-ecosystem-card:hover .our-ecosystem-icon {
  filter: drop-shadow(0 8px 16px rgba(28, 38, 230, 0.2));
  transform: translateY(-4px);
}

/* Process Image Enhancement */
.process-image {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) contrast(1);
}

.how-we-work-process-div:hover .process-image {
  transform: rotate(0deg) scale(1.05);
  filter: brightness(1.05) contrast(1.05);
}

/* Link Hover Effects */
.nav-link-text {
  position: relative;
  display: inline-block;
}

.nav-link:hover .nav-link-text {
  color: #1c26e6;
}

/* Page Label Pulse Effect */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(28, 38, 230, 0.15);
  }
  50% {
    box-shadow: 0 4px 16px rgba(28, 38, 230, 0.25);
  }
}

.page-label:hover {
  animation: pulse 2s ease-in-out infinite;
}

/* Stat Number Counter Effect */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proven-number-card .h2-heading,
.our-ecosystem-count-div .h2-heading {
  animation: countUp 0.6s ease-out;
}

/* Smooth Section Transitions */
.section {
  position: relative;
  overflow: hidden;
}

/* Background Pattern for Sections */
.section.bg-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(28, 38, 230, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(28, 38, 230, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Team Card Number Highlight */
.team-card .h2-heading {
  position: relative;
  display: inline-block;
}

.team-card .h2-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Process cards visual enhancement */
.how-we-work-process-div.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-bottom: 24px;
  margin-bottom: 0;
}

.process-heading-div {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.process-image-div {
  flex-shrink: 0;
}

.process-image {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.how-we-work-process-div:hover .process-image {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Service List Item Hover */
.service-list-div {
  transition: all 0.2s ease;
  padding: 4px 0;
}

.service-list-div:hover {
  padding-left: 8px;
  color: #1c26e6;
}

/* Improved Focus Visible */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #1c26e6;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Menu Toggle Animation */
.menu-toggle {
  transition: all 0.3s ease;
}

.menu-open:hover .menu-toggle {
  transform: rotate(90deg);
}

/* Subtle Parallax Effect for Hero */
@media (min-width: 992px) {
  .hero-section {
    background-attachment: fixed;
  }
}

/* Loading State for Images */
img {
  transition: opacity 0.3s ease;
}

img:not([src]) {
  opacity: 0;
}

/* Improved Text Selection */
.h1-heading::selection,
.h2-heading::selection,
.h3-heading::selection {
  background-color: #1c26e6;
  color: white;
  text-shadow: none;
}

/* Card Border Glow on Hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #1c26e6, #6a8cff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* Smooth Color Transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

/* Override for specific elements that need custom transitions */
.service-card,
.our-ecosystem-card,
.proven-number-card,
.team-card,
.common-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
  .service-card:active,
  .our-ecosystem-card:active,
  .proven-number-card:active {
    transform: scale(0.98);
  }
  
  .common-button:active {
    transform: scale(0.95);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .common-button {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
}


/* ============================================
   PAGE LOAD ANIMATION
   ============================================ */

/* Fade in body on load */
body {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Stagger animation for grid items */
.our-ecosystem-div:nth-child(1) { animation-delay: 0.1s; }
.our-ecosystem-div:nth-child(2) { animation-delay: 0.2s; }
.our-ecosystem-div:nth-child(3) { animation-delay: 0.3s; }

.proven-number-div:nth-child(1) { animation-delay: 0.1s; }
.proven-number-div:nth-child(2) { animation-delay: 0.2s; }
.proven-number-div:nth-child(3) { animation-delay: 0.3s; }
.proven-number-div:nth-child(4) { animation-delay: 0.4s; }

.service-div:nth-child(1) { animation-delay: 0.1s; }
.service-div:nth-child(2) { animation-delay: 0.2s; }
.service-div:nth-child(3) { animation-delay: 0.3s; }

.team-div:nth-child(1) { animation-delay: 0.1s; }
.team-div:nth-child(2) { animation-delay: 0.2s; }
.team-div:nth-child(3) { animation-delay: 0.3s; }

/* Smooth scroll offset for anchor links */
html {
  scroll-padding-top: 100px;
}

/* Enhanced link underline effect */
.text-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1c26e6, #6a8cff);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.text-link:hover::after {
  transform: scaleX(1.1);
}

/* Improved container max-width for better readability */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}

/* Dark mode support (optional, for future) */
@media (prefers-color-scheme: dark) {
  /* Keep light theme for now, but structure is ready */
}

/* ============================================
   ENHANCED SECTION BACKGROUNDS & CONTRAST
   ============================================ */

/* Blue section (How We Innovate) - Enhanced background */
.section.bg-blue {
  background: linear-gradient(135deg, #1c26e6 0%, #2a3bff 50%, #1c26e6 100%);
  position: relative;
  overflow: hidden;
}

.section.bg-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.section.bg-blue .container {
  position: relative;
  z-index: 1;
}

/* Team section - Enhanced background */
.team-section {
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

.team-wrapper {
  position: relative;
  z-index: 1;
}


/* ============================================
   FIXED NAVIGATION BAR
   Clean, modern, always-visible navbar
   ============================================ */

/* Fixed Navbar Container */
.fixed-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

/* Gradient overlay behind navbar */
.fixed-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Navbar on scroll - more compact with white background */
.fixed-navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fixed-navbar.scrolled::before {
  opacity: 0;
}

.fixed-navbar.scrolled .navbar-link {
  color: #262626;
}

.fixed-navbar.scrolled .page-label {
  color: white;
  background-color: #1c26e6;
}

/* Navbar Content Wrapper */
.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Brand/Logo Section */
.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.brand-logo:hover {
  transform: translateY(-2px);
}

.brand-logo .page-label {
  font-size: 18px;
  font-weight: 800;
  padding: 8px 16px;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1c26e6;
  transition: all 0.3s ease;
}

/* Navigation Links Container */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Individual Nav Links */
.navbar-link {
  position: relative;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Active Link State */
.navbar-link.active {
  color: white;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
}

.navbar-link.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.fixed-navbar.scrolled .navbar-link.active {
  color: #1c26e6;
  background: rgba(28, 38, 230, 0.08);
}

.fixed-navbar.scrolled .navbar-link.active::after {
  background: linear-gradient(90deg, #1c26e6, #6a8cff);
  box-shadow: none;
}

.fixed-navbar.scrolled .navbar-link:hover {
  color: #1c26e6;
  background: rgba(28, 38, 230, 0.05);
  text-shadow: none;
}

/* CTA Link (Contact) */
.navbar-link-cta {
  background: rgba(255, 255, 255, 0.95);
  color: #1c26e6;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-shadow: none;
}

.navbar-link-cta:hover {
  background: white;
  color: #1c26e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-link-cta.active {
  background: white;
  color: #1c26e6;
}

.navbar-link-cta.active::after {
  display: none;
}

.fixed-navbar.scrolled .navbar-link-cta {
  background: #1c26e6;
  color: white;
  box-shadow: 0 2px 8px rgba(28, 38, 230, 0.2);
}

.fixed-navbar.scrolled .navbar-link-cta:hover {
  background: #1a24b9;
  color: white;
  box-shadow: 0 4px 12px rgba(28, 38, 230, 0.3);
}

.fixed-navbar.scrolled .navbar-link-cta.active {
  background: #1a24b9;
  color: white;
}

/* Add padding to body to account for fixed navbar */
body {
  padding-top: 80px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-links {
    gap: 4px;
  }
  
  .navbar-link {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .brand-logo .page-label {
    font-size: 16px;
    padding: 6px 12px;
  }
  
  body {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  .fixed-navbar {
    padding: 16px 0;
  }
  
  .navbar-links {
    gap: 2px;
  }
  
  .navbar-link {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .navbar-link-cta {
    margin-left: 4px;
  }
  
  .brand-logo .page-label {
    font-size: 15px;
    padding: 6px 10px;
  }
  
  body {
    padding-top: 65px;
  }
}

@media (max-width: 479px) {
  .navbar-links {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .navbar-link {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .brand-logo .page-label {
    font-size: 14px;
  }
}

/* Smooth scroll behavior with offset for fixed navbar */
html {
  scroll-padding-top: 100px;
}

/* Hide old navigation elements */
.header,
.nav-wrapper,
.nav-menu,
.menu-open,
.menu-close {
  display: none !important;
}


/* ============================================
   NAVBAR FOR NON-HERO PAGES (Contact, etc.)
   ============================================ */

/* Contact page specific navbar styling */
body:not(.home-page) .fixed-navbar,
.common-hero-section ~ * .fixed-navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body:not(.home-page) .fixed-navbar::before {
  opacity: 0;
}

body:not(.home-page) .navbar-link {
  color: #262626;
  text-shadow: none;
}

body:not(.home-page) .navbar-link:hover {
  color: #1c26e6;
  background: rgba(28, 38, 230, 0.05);
}

body:not(.home-page) .navbar-link.active {
  color: #1c26e6;
  background: rgba(28, 38, 230, 0.08);
}

body:not(.home-page) .navbar-link.active::after {
  background: linear-gradient(90deg, #1c26e6, #6a8cff);
  box-shadow: none;
}

body:not(.home-page) .navbar-link-cta {
  background: #1c26e6;
  color: white;
  box-shadow: 0 2px 8px rgba(28, 38, 230, 0.2);
}

body:not(.home-page) .navbar-link-cta:hover {
  background: #1a24b9;
  color: white;
}

body:not(.home-page) .page-label {
  background-color: #1c26e6;
  color: white;
}
