/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html, body {
  max-width: 100vw;
  /* overflow-x: hidden; */
   overflow-x: clip;
}
[id] {
  scroll-margin-top: 74px; /* 64px nav + 10px buffer */
}

.section-content {
  max-width: 1100px;   /* Or whatever width you want for ALL sections */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .section-content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 600px) {
  .main-section-container {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

/* .section {
  padding: 100px 20px 60px;
  min-height: 100vh;
} */
:root {
  --navbar-height: 64px;
}

.section, 
.hero-slider-viewport {
  scroll-margin-top: var(--navbar-height);
}

.hero-slider-viewport {
  padding-top: var(--navbar-height);
  box-sizing: border-box;
}

/* back to top button */
#backToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: #0a41aa;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(10,65,170,0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.33s, visibility 0.33s, transform 0.33s;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTopBtn:active {
  background: #082f78;
}

#backToTopBtn:hover {
  background: #2865c7;
  color: #fff;
  transform: scale(1.09);
}

@media (max-width: 600px) {
  #backToTopBtn {
    bottom: 18px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}


