/* FIX anchor scroll offset for sticky navbar */
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 110px; /* match your navbar height */
}
:root {
  --accent: #e32962;
  --bg-dark: #181a22;
  --card-bg: #23263a;
  --turq: #67e2ae;
}
#contact {
  scroll-margin-top: 85px;
}
/* base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8f8f8;
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-y: auto;
}

/* global headings, links, etc. */
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--turq);
}

ul {
  padding-left: 1.2em;
}

/* section / utility */
.section-title {
  font-size: 2em;
  text-align: center;
  font-weight: 700;
  margin: 2em 0 1.1em 0;
  color: var(--accent);
}

footer {
  background: #181a22;
  color: #fff;
  padding: 2em 0 1em;
  text-align: center;
  font-size: 1.08em;
  letter-spacing: 1px;
  box-shadow: 0 -2px 24px #23263a88;
}

/* AOS fallback for browsers without the library */
[data-aos] {
  opacity: 1;
}

/* Content layer that scrolls over fixed hero if you use one */
#nav-section,
main,
footer {
  position: relative;
  z-index: 1;
}

#trainers-section,
#masonry-gallery,
#aboutus-section,
#faqs-section,
#contact {
  scroll-margin-top: 110px; /* adjust if navbar height changes */
}

/* generic container helper for sections */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
#gallery-section {
  scroll-margin-top: 110px;
}