@import 'variables.css';
@import 'preloader.css';
@import 'navigation.css';
@import 'hero.css';
@import 'sections.css';
@import 'components.css';
@import 'animations.css';
@import 'responsive.css';
@import 'footer.css';

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y pinch-zoom;
}

body {
  font-family: var(--ne-font-body);
  background-color: var(--ne-bg);
  color: var(--ne-text-main);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  position: relative;
  touch-action: pan-y pinch-zoom;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

section, .ne-section, header, footer {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
.ne-heading {
  font-family: var(--ne-font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ne-text-main);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
}

p, .ne-body {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--ne-text-secondary);
}

.text-muted {
  color: var(--ne-text-muted) !important;
}

.text-primary-blue {
  color: var(--ne-primary) !important;
}

::selection {
  background-color: var(--ne-primary);
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ne-bg);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ne-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ne-primary);
  text-decoration: none;
  transition: all var(--ne-transition-base);
}

a:hover {
  color: var(--ne-primary-dark);
}

/* Container width standard */
.ne-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 767.98px) {
  .ne-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.ne-container-fluid {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
