/* Sidecar CSS for responsive menu control and hamburger toggle */

/* Hide mobile menu by default, show on small screens */
.show-mobile {
  display: none !important;
}

/* Hide main menu on small screens */
.hide-mobile {
  display: block !important;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .show-mobile {
    display: none !important; /* Keep hidden by default, only show when active */
  }
  .show-mobile.active {
    display: block !important;
  }
}

/* Hamburger styles */
.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 1001;
  float: right;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #000033;
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
    background: #ffffff !important;
    border: 2px solid #000033 !important;
    border-radius: 4px !important;
    top: 12px !important;
    right: 16px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    width: 32px !important;
    height: 32px !important;
  }
  
  /* Ensure the header container has relative positioning */
  .headerfloatL {
    position: relative !important;
  }
  
  /* Position the logo container properly */
  .headerfloatL > div {
    position: relative !important;
    padding-right: 50px !important; /* Make room for hamburger */
  }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}
.mobile-menu-overlay.active {
  display: block;
}

.show-mobile .bulletslist {
  background: #fff;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  max-width: 320px;
  margin: 2rem auto;
}
.show-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.show-mobile li {
  margin-bottom: 1.2rem;
}
.show-mobile a {
  color: #000033;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile menu active state styling */
.show-mobile li.active a {
  color: #0079C1;
  text-decoration: underline;
  font-weight: 700;
}

/* Force remove borders and box-shadows from main menu items and links */
#nav li, #nav li a, #nav ul li, #nav ul li a {
  border: none !important;
  box-shadow: none !important;
  background: none !important;
} 

/* EXTRA FEATURE: Active state styling - orange bar for current page */
/* This adds an orange bar above the active menu item without touching original CSS */
#nav li.active {
  position: relative !important;
}
#nav li.active::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: calc(100% - 15px) !important;
  height: 3px !important;
  background-color: #FFA500 !important;
}
#nav li.active a {
  color: #FFF !important;
}

/* Inner content/document look for platform and similar pages */
.inner-content-doc {
  max-width: 900px;
  margin: 2.5rem auto 2.5rem auto;
  padding: 2rem 2.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  font-size: 1.1rem;
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .inner-content-doc {
    max-width: 98vw;
    padding: 1.2rem 0.5rem;
  }
} 

.home-story-section {
  max-width: 900px;
  margin: 2.5rem auto 2.5rem auto;
  padding: 2rem 2.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  font-size: 1.1rem;
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .home-story-section {
    max-width: 98vw;
    padding: 1.2rem 0.5rem;
  }
} 