.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.bg-guillochie{
  background-image: url("../images/guillochie.png");
}
.ssobtn {
  border: 1px #dadce0 solid;
  border-radius: 4px;
  font-family: Arial;
  font-size: 14px;
  --bs-btn-hover-box-shadow: none;
}
@media (min-width: 2240px) {
  .xxxlpad {
    padding: 120px !important;
  }
}

/* ---------- Brand pages: homepage (body.home) and login/register (body.auth) ----------
   App pages in live/ use live/styles/iqlive.css instead */
:root {
  --iq-font: Aptos, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-font-sans-serif: var(--iq-font);
  --bs-body-font-family: var(--iq-font);
  --iq-ease: cubic-bezier(.2, .7, .2, 1);
}
.iq-brand {
  font-weight: 700;
}
.home,
.auth {
  overflow-x: hidden;
}
.home {
  background: var(--bs-dark);
}
.home h1,
.home h2,
.home h3,
.auth h1,
.auth h3,
.auth .modal-title {
  font-family: var(--iq-font);
}

/* Navbar */
.home #navbar,
.auth #navbar {
  transition: box-shadow .3s ease, background-color .3s ease;
}
.home #navbar.is-scrolled,
.auth #navbar.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  background-color: rgba(var(--bs-success-rgb), .96) !important;
  backdrop-filter: blur(6px);
}

/* Hero */
.hero {
  min-height: clamp(560px, calc(100vh - 86px), 900px);
  display: flex;
  align-items: center;
}
.hero,
.auth-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(var(--bs-secondary-rgb), .45), transparent 60%),
    linear-gradient(115deg, rgba(42, 51, 48, .94) 0%, rgba(42, 51, 48, .8) 45%, rgba(61, 107, 96, .7) 100%),
    url("../images/guillochie.png") center / cover;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-title {
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-brand {
  display: block;
  font-weight: 700;
  font-size: clamp(3.5rem, 11vw, 8rem);
  letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--bs-light) 30%, var(--bs-primary) 50%, var(--bs-light) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iq-sheen 7s ease-in-out 1.2s infinite;
}
.hero-dash {
  /* The hyphen stays in the markup for screen readers; shown as a short rule */
  display: block;
  width: 4rem;
  height: 3px;
  margin: 1.25rem 0;
  background: var(--bs-primary);
  font-size: 0;
  color: transparent;
}
.hero-tagline {
  display: block;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  max-width: 18ch;
}
.hero-sub {
  font-family: var(--bs-font-sans-serif) !important;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 38rem;
  color: rgba(var(--bs-light-rgb), .8);
}
.hero-seal {
  position: absolute;
  top: 50%;
  right: -12rem;
  width: min(62rem, 120vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  color: var(--bs-primary);
  opacity: .55;
  pointer-events: none;
}
.hero-seal img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20%;
  transform: translate(-50%, -50%);
  opacity: .9;
  filter: drop-shadow(0 0 20px rgba(163, 202, 191, .35));
}
@media (max-width: 991.98px) {
  .hero-seal {
    right: -45%;
    opacity: .25;
  }
}

/* Guilloché SVG */
[data-guilloche] svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
[data-guilloche] .g-line {
  fill: none;
  stroke: currentColor;
  stroke-width: .6;
  vector-effect: non-scaling-stroke;
  stroke-opacity: .55;
}
.hero-seal .g-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: iq-draw 3.2s var(--iq-ease) forwards;
}
.hero-seal .g-ring {
  transform-origin: 0 0;
  animation: iq-spin 240s linear infinite;
}
.hero-seal .g-ring-1,
.hero-seal .g-ring-3 {
  animation-direction: reverse;
  animation-duration: 180s;
}

/* Woven band between sections */
.g-band {
  height: 60px;
  margin: -30px 0;
  position: relative;
  z-index: 2;
  color: var(--bs-light);
  pointer-events: none;
}
.g-band .g-line {
  stroke-opacity: .35;
}

/* Audience sections */
.iq-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.iq-section .container {
  position: relative;
  z-index: 1;
}
.section-title {
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 2.5rem;
}
.section-eyebrow {
  display: block;
  font-family: var(--bs-font-sans-serif);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: .75rem;
}
.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 2px;
  margin-left: 1rem;
  vertical-align: middle;
  background: currentColor;
}
.iq-section .lead strong {
  font-family: var(--iq-font);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
}
.iq-section p {
  line-height: 1.75;
}

/* Screenshot with a seal behind it */
.shot {
  position: relative;
  padding-block: 2rem;
}
.shot img {
  position: relative;
  z-index: 1;
  animation: iq-float 7s ease-in-out infinite;
}
/* Screenshots (images/shot-*.png, made from design/*.html) carry their own device frame and shadow */
.shot-phone {
  width: min(340px, 85%);
}
.shot-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(34rem, 110%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .3;
}
.shot-seal .g-ring {
  transform-origin: 0 0;
  animation: iq-spin 300s linear infinite;
}
#ownercontainer .shot-seal { color: var(--bs-success); }
#eventcontainer .shot-seal,
#vetcontainer .shot-seal { color: var(--bs-light); }

/* Buttons */
.home .btn-lg {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: .85rem 2.25rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .25s var(--iq-ease), box-shadow .25s var(--iq-ease);
}
.home .btn-lg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--iq-ease);
}
.home .btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.home .btn-lg:hover::after {
  transform: translateX(100%);
}

/* Footer */
.home footer {
  position: relative;
  border-top: 1px solid rgba(var(--bs-primary-rgb), .25);
}

/* Scroll reveal (only hidden when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--iq-ease), transform .9s var(--iq-ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .reveal-delay { transition-delay: .15s; }

.hero .reveal { transition-duration: 1.2s; }

@keyframes iq-draw { to { stroke-dashoffset: 0; } }
@keyframes iq-spin { to { transform: rotate(360deg); } }
@keyframes iq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes iq-sheen {
  0%, 60% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ---------- Login / register (body.auth) ---------- */
.auth {
  padding-top: 86px;
  background: var(--bs-light);
}
.auth-banner {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.auth-banner .container {
  position: relative;
  z-index: 1;
}
.auth-banner h1 {
  font-weight: 600;
  letter-spacing: -.02em;
}
.auth-banner p {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(var(--bs-light-rgb), .85) !important;
}
.auth-seal {
  position: absolute;
  top: 50%;
  right: -6rem;
  width: 30rem;
  aspect-ratio: 1;
  transform: translateY(-50%);
  color: var(--bs-primary);
  opacity: .4;
  pointer-events: none;
}
.auth-seal .g-ring {
  transform-origin: 0 0;
  animation: iq-spin 240s linear infinite;
}
.auth-seal .g-ring-1,
.auth-seal .g-ring-3 {
  animation-direction: reverse;
}
.auth .g-band {
  color: var(--bs-primary);
}
.auth .card {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(42, 51, 48, .12);
}
.auth .card-header {
  position: relative;
  border-bottom: 0;
}
.auth .card .lead {
  font-family: var(--iq-font);
  font-size: 1.4rem;
}
.card-seal {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  aspect-ratio: 1;
  z-index: 1;
  color: var(--bs-success);
  opacity: .18;
  pointer-events: none;
}
.card.bg-success .card-seal {
  color: var(--bs-light);
}
.auth .card > :not(.card-seal) {
  position: relative;
}
.auth .form-control:focus {
  border-color: var(--bs-secondary);
  box-shadow: 0 0 0 .2rem rgba(var(--bs-secondary-rgb), .25);
}
.auth .card input[type=submit],
.auth .card .btn-outline-light {
  border-radius: 999px;
  padding-inline: 1.75rem;
  font-weight: 600;
  transition: transform .25s var(--iq-ease), box-shadow .25s var(--iq-ease);
}
.auth .card input[type=submit]:hover,
.auth .card .btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}
.auth .modal-content {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
}

/* Loading screen: a small turning rosette */
.spinner[data-guilloche] {
  width: 140px;
  aspect-ratio: 1;
  color: var(--bs-success);
  animation: iq-spin 6s linear infinite;
}
.spinner[data-guilloche] .g-line {
  stroke-opacity: .3;
}


@media (prefers-reduced-motion: reduce) {
  .auth *,
  .auth *::before,
  .auth *::after,
  .home *,
  .home *::before,
  .home *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-seal .g-line { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
