html, body {
  overflow-x: hidden;
}

/* --------------------------------------------------
   GLOBAL TYPOGRAPHY (dark green palette)
-------------------------------------------------- */
body, h1, h2, h3, h4, h5, h6, p, a {
  color: #0b3d0b;
}

.btn-primary,
.btn-outline,
.btn {
  border-color: #0b3d0b;
  color: #0b3d0b;
}

.btn-primary:hover,
.btn-outline:hover,
.btn:hover {
  background-color: #0b3d0b;
  color: #fff;
}

/* --------------------------------------------------
   NAVBAR BASE
-------------------------------------------------- */
#navbar {
  position: fixed;
  width: 100%;
  transition: background 0.3s;
  background: transparent;
  z-index: 9999;
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
}

a.navbar-brand {
  color: #0b3d0b;
}

/* --------------------------------------------------
   MOBILE BEHAVIOR
-------------------------------------------------- */
@media (max-width: 991px) {
  #navbar {
    background: rgba(0, 0, 0, 0.85) !important;
  }

  #navbar.scrolled {
    background: rgba(0, 0, 0, 0.85) !important;
  }

  .nav-link {
    font-size: 1rem !important;
    color: #aacecc !important;
  }

  a.navbar-brand {
    font-size: 0.85rem;
    color: #aacecc;
  }
}

.nav-link {
  font-size: 1.2rem;
  color: #0b3d0b;
}

#navbar.scrolled>div.container-fluid>div#navMenu>ul>li>a.nav-link {
  color: #aacecc !important;
}

#navbar.scrolled>div.container-fluid>a.navbar-brand {
  color: #aacecc !important;
}

/* --------------------------------------------------
   ALWAYS-VISIBLE HAMBURGER ICON (dark green)
-------------------------------------------------- */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(11,61,11)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler {
  border-color: #0b3d0b;
}


/* --------------------------------------------------
   HERO OVERLAY (must stay below navbar)
-------------------------------------------------- */

.hero .container {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
  height: 100vh;
  background: url("hero.png") center/cover no-repeat;
  position: relative;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1; /* stays below navbar */
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */
section {
  min-height: calc(100vh - 80px);
  scroll-snap-align: start;
  font-size: 1rem;
  background-color: #f8f9f9;
}

.op-section {
  padding: 80px 0;
}

.op-section-light {
  background: #f8f9fa;
}

.op-section-dark {
  background: #111;
  color: #fff;
}

.op-section-alt {
  background: #ffffff;
}

/* --------------------------------------------------
   GRID CARDS
-------------------------------------------------- */
.op-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.op-team-card .op-avatar-placeholder {
  font-size: 60px;
}

/* --------------------------------------------------
   SCROLL-TO-TOP BUTTON
-------------------------------------------------- */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
  width: 45px;
  height: 45px;
  font-size: 22px;
  border-radius: 50%;
  background: #0b3d0b;
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
  background: #095a09;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
footer>p {
  color: #9fc0be !important;
}

/*section overview*/
.overview-l {
  min-height: 320px;
}
.overview-r {
  min-height: 320px;
}

/*section legal*/
.legal-card {
  min-height: 250px;
}

/*section investments focus*/
.investments-focus-ico {
  color: #0b3d0b;
}

.card-investments-focus {
  min-height: 290px;
}
