

.doePage  {

    scroll-behavior: smooth;
    background: var(--gray50);
    color: var(--charcoal);
    position: relative;
    z-index: 1;
    text-align: left;
    /* padding-top: 80px; adjust if your nav heights differ */

  max-width: 75rem;
  margin:auto;
  
  }

/* Base menu styling */
.doeHeader {
    display: flex;
    align-items: center;
    justify-content: space-between; /* keeps logo and hamburger on same line */
}


  .doePageDiv {
    /* margin-top: 6rem; */
    position: fixed;
    z-index: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    left:50%;
    transform: translateX(-50%);
    background: var(--gray50);
    padding: auto;
    margin:auto;
    margin-left: 0.3rem;
    width:100vw;
  
}




.doePage nav .sticky {
  

  box-shadow: 0 2% 4% var(--shadow);
  position: fixed;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;

}



.doePage  .sticky a {
  margin:0 1rem 0 0 ;
  text-decoration: none;
  color:var(--p500);
  font-weight: 600;
  padding:0 0.5rem 0 0.35rem;

}

.doePage  .sticky a:hover {
  color: var(--p500);
}



.doePage section {
    min-height: 45vh;
    padding: 7rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width:100%;
    background-color: var(--gray50);
    border: 1rem solid var(--gray100);
    border-radius: 1rem;
    scroll-margin-top:4rem; /* adjust to match your nav height */
  }

  

  .doePage p {
  max-width: 800px;

  margin: 0.5rem ;
  padding-left: 0.325rem;
  text-align: left !important;
  width: 100%;
  display: block;
  }

  .doePage li {
    max-width: 800px;
  
    margin: 0.5rem ;
    padding-left: 0.325rem;
    text-align: left !important;
    width: 100%;
    display: block;
    }
  
  .doePage h4 {
    color:var(--p500);

  }

  .doePage h2  {
    font-weight: 600;
    color:var(--p500);
    margin-bottom: 1rem;
 
  }

  .doePage h1  {
    font-weight: 600;
    color: var(--p500);
    margin-bottom: 1rem;
 
  }

  .doePage ul {
    list-style: none;
    padding: 0;
    padding-left: 0.625rem;
  }





  .doePage .section-img {
    max-width: 100%;
    width: 60%;
    object-fit: cover;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 0.625rem;
    box-shadow: 0.1rem 0.1rem 0.4rem 0.1rem var(--shadow);
  }


  .doePage .scroll-dots {
    margin-top: 30%;
    position: fixed;
    right: 1rem;
    top: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
  }

  .doePage .scroll-dots a {
    width: 0.8rem;
    height: 0.8rem;
    background: #bbb;
    border-radius: 50%;
    display: block;
    transition: background 0.3s;
  }

  .doePage .scroll-dots a:hover,
  .doePage .scroll-dots a.active {
    background: var(--p500);
  }

  .doePage .nav-arrows {
    position: fixed;
    bottom: 3rem;
    left: 55%;
    transform: translateX(-45%);
    display: flex;
    gap: 8rem;
    z-index: 999;
    align-items: center;
  }

  .doePage .nav-arrows button {
    background: var(--p500);
    border: none;
    color: white;

    padding: 0.4rem 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    bottom: 3rem;
    box-shadow: 0 0.3rem 0.3rem  var(--shadow);
  }

  .doePage .back-to-top {
  position: fixed;
  bottom: 4rem;
  right: 2rem;
  background: var(--p500);
  color: white;
  border: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
   
  display: none;
  z-index: 999;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-270deg)!important;
  box-shadow: 0.3rem 0  0.3rem var(--shadow) !important;
  padding: 0 0 0 0.05rem;
}

.doePage .back-to-top.show {
    display: block;
  }


  .doePage  .video-container {
height:31.25rem;
width: 45vw;
background: #000;
overflow: hidden;
margin: 0 auto; /* Center the container horizontally */
border-radius: 10%;
position: relative;
padding: 0.3rem 0 0 0;

}

.doePage .video-container iframe {
position:relative;
width: 45vw;          /* Make the iframe fill the container width */
height: 100%;         /* Match the height of the container */
border: 0;
border-radius: 10px;


}





/* ------------------------
   Desktop Menu (default)
------------------------- */
/* DoE Menu Base */
.doePage .doeMenuDiv {
  display: flex;
  flex-wrap: wrap;
  gap:0.35rem;
  margin-top: 0.35rem;
}

.doePage .doeMenuToggle {
  display: none; /* hidden by default (desktop) */
}

.doePage  .doeMenuDiv::-webkit-scrollbar {
  display: none; /* hide scrollbar in WebKit */
}

.doePage  .doeMenuDiv a {
  flex: 0 0 auto;
  padding: 0.325rem;
  white-space: nowrap;
  text-decoration: none;
  color:var(--p500);

  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
  scroll-snap-align: start;
}



.doePage  .doeMenuDiv a:hover,
.doePage  .doeMenuDiv a:focus {
  border-bottom: 2px solid var(--p500);
  outline: none;
      color: #fff !important;
    background:var(--p500);
    border-radius: 0.3125rem;
    
}



/* ------------------------
   Mobile Menu (overrides)
------------------------- */
/* DoE Mobile Nav */
/* DoE menu: force hidden for widths >= 768px */
@media (min-width: 768px) {
  .doePage .doeMenuDiv,
  .doePage .doeMenuToggle {
    display: none !important;
  }
}



@media (max-width: 767px) {
  .doePage .doeMenuDiv {
    display: none;          /* hidden by default */
    flex-direction: column; /* stacked when visible */
    background: var(--gray50);
    padding: 0.35rem;
    position: absolute;
    top: 100%;  /* just below header */
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px var(--shadow);
    z-index: 999;
   
  }

  .doePage .doeMenuDiv.show {
    display: flex;          /* shown when toggled */
  }

  .doePage .doeMenuToggle {
    display: block;         /* show hamburger only <768px */

    background: var(--c900);
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
  }
}

/* Force DoE hamburger OFF at 768px+ */
@media (min-width: 768px) {
  .doePage .doeMenuDiv {
    display: flex !important; /* always show menu */
  }
  .doePage .doeMenuToggle {
    display: none !important; /* never show hamburger */
  }
}@media (max-width: 768px) {
 .doePage  .doeMenuDiv {
    display: none;          /* hidden by default */
    flex-direction: column; /* stacked vertically */
    background:var(--gray50);;
    padding: 0.35rem;
    position: absolute;
    top: 100%;  
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px var(--shadow);
    z-index: 999;
  }





  .doePage  .doeMenuDiv.show {
    display: flex;          /* only shown when toggled */
  }





  .doePage  .doeMenuToggle {
    display: block;         /* show hamburger */
    background: var(--c900);
    border: none;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1000;          /* ensure above menu */
    margin: 0.1rem 0.25rem 0.5rem 0.25rem;
  }
}

 .doePage .flipRight {
  /* transform: scaleX(-1); */
  transform: rotate(-180deg);
  box-shadow: 0 -0.3rem  0.3rem var(--shadow) !important;
}

 
