/* Quanser-style Base CSS */

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  min-height: 100vh;
}

header {
  height: 64px; /* Mobile */
  display: flex;
  align-items: center;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (min-width: 768px) {
  header {
    height: 80px; /* Desktop */
  }
}

/* Critical Layout Stability */
.hero-section {
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

img[width][height] {
  height: auto; /* Allow aspect-ratio from attributes to work */
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

a {
  text-decoration: inherit;
}

button,
.btn {
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #0072ce;
  outline-offset: 2px;
}

footer [class*="fill-white"] {
  fill: rgba(255, 255, 255, 0.8);
}

footer a:hover [class*="fill-white"] {
  fill: white;
}
