@import url("https://cdn.jsdelivr.net/npm/remixicon@4.2.0/fonts/remixicon.css");

:root {
  color-scheme: light;
}
/* Dành cho Chrome, Safari và Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Dành cho IE, Edge và Firefox */
html {
  -ms-overflow-style: none;  /* IE và Edge */
  scrollbar-width: none;  /* Firefox */
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.feature-icon {
  font-family: 'remixicon' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-family, Inter, sans-serif);
  background: radial-gradient(circle at 10% -10%, color-mix(in srgb, var(--color-accent, #f59e0b) 14%, transparent), transparent 32rem), var(--color-background, #f8fafc);
  color: var(--color-text, #0f172a);
}

app-root,
brand-switcher,
hero-section,
footer-ui,
nav-ui,
spinner-ui,
page-ui,
error-ui,
map-ui,
card-ui,
video-ui,
image-ui,
features-ui,
panorama-ui,
team-ui,
reviews-ui,
faq-ui,
layout-ui,
builder-ui,
contact-ui {
  display: block;
  width: 100%;
}


.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.visible {
  animation: section-enter .75s cubic-bezier(.22, 1, .36, 1) both;
}

/* ── Layout primitives ─────────────────────────────────── */
container-ui,
flex-ui,
grid-ui {
  box-sizing: border-box;
  max-width: 100%;
}

container-ui { display: block; width: 100%; }
flex-ui { display: flex; }
grid-ui { display: grid; width: 100%; }

/* con của grid/flex được phép co nhỏ, không đẩy vỡ cột */
grid-ui > *,
flex-ui > *,
container-ui > * {
  min-width: 0;
  box-sizing: border-box;
}

/* ảnh/video trong lưới không tràn ô */
grid-ui img,
grid-ui video {
  max-width: 100%;
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll,
  .animate-on-scroll.visible {
    opacity: 1;
    animation: none;
    transform: none;
  }
}