




.doePage  {
    width:100%;
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    scroll-behavior: smooth;
    background: #fdfdfd;
    color: #222;
    position: relative;
    z-index: 1;
    text-align: left;
    /* padding-top: 80px; adjust if your nav heights differ */


  }


/* Base menu styling */
.doeHeader {
  padding-top: 25px; /* offset for sticky navbar */
  display: flex;
  align-items: center;
  justify-content: space-between; /* keeps logo and hamburger on same line */
}


  /* .doePage .doePageDiv {
    position: fixed;
    z-index: 500;
  
    display: flex;
    justify-content: center;
    align-items: center;
  
    top: 0; /* Adjust as needed */
    /*
    left: 50%;
    transform: translateX(-50%);
  
    width: 80%; /* or a fixed width like 900px */
    /*
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    margin: 0; /* `auto` has no effect with position: fixed */
    /*
  } 
  */


  .doePageDiv {
    /* margin-top: 6rem; */
    position: fixed;
    z-index: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    left:50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: auto;
    margin:auto;
    margin-left: 10px;
    font-size: 2rem;
    width:100vw;
  
}




.doePage nav .sticky {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.doePage  .sticky a {
  margin:0 15px 0 0 ;
  text-decoration: none;
  color: #C41508; !important;
  font-weight: 600;
  padding: 0px 10px 3px 5px;
  font-size: 1.5rem;
}

.doePage  .sticky a:hover {
  color: #C41508; !important;
}



.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: #f0eeee !important;
    border: 10px solid white;
    border-radius: 8px;
    scroll-margin-top:120px; /* adjust to match your nav height */
  }

  

  .doePage p {
  max-width: 800px;
  font-size: 1.8rem;
  margin: 0.5rem ;
  padding-left: 5px;
  text-align: left !important;
  width: 100%;
  display: block;
  }

  .doePage li {
    max-width: 800px;
    font-size: 1.8rem;
    margin: 0.5rem ;
    padding-left: 5px;
    text-align: left !important;
    width: 100%;
    display: block;
    }
  
  .doePage h4 {
    color:#C41508;
    font-size: 2rem;
  }

  .doePage h2  {
    font-weight: 600;
    color: #C41508;
    margin-bottom: 1rem;
    font-size: 2rem;
  }

  .doePage h1  {
    font-weight: 600;
    color: #C41508;
    margin-bottom: 1rem;
    font-size: 3rem;
  }

  .doePage ul {
    list-style: none;
    padding: 0;
    padding-left: 10px;
  }





  .doePage .section-img {
    max-width: 100%;
    width: 60%;
    object-fit: cover;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }



  .doePage .scroll-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
  }

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

  .doePage .scroll-dots a:hover,
  .doePage .scroll-dots a.active {
    background: #C41508;
  }

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

  .doePage .nav-arrows button {
    background: #C41508;
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    bottom: 3rem;
  }

  .doePage .back-to-top {
  position: fixed;
  bottom: 4rem;
  right: 2rem;
  background: #C41508;
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 3rem;
  display: none;
  z-index: 999;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

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


  .doePage  .video-container {
height:500px;
width: 45vw;
background: #000;
overflow: hidden;
margin: 0 auto; /* Center the container horizontally */
border-radius: 10px;
position: relative;
padding: 10px 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: 5px;
  margin-top: 5px;
}

.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: 5px 5px;
  white-space: nowrap;
  text-decoration: none;
  color:#C41508;
  font-size: 1.1em;
  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 #C41508;
  outline: none;
      color: #fff !important;
    background: #C41508;
    border-radius: 5px;
    
}



/* ------------------------
   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: #fff;
    padding: 5px;
    position: absolute;
    top: 100%;  /* just below header */
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
    font-size: 0.9em;
  }

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

  .doePage .doeMenuToggle {
    display: block;         /* show hamburger only <768px */
    font-size: 20px;
    background: var(--pinkD);
    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: #fff;
    padding: 5px;
    position: absolute;
    top: 100%;  
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
    font-size: 0.8em;       /* slightly smaller text */
  }

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





  .doePage  .doeMenuToggle {
    display: block;         /* show hamburger */
    font-size: 15px;        /* make it bigger */
    background: var(--pinkD);
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1000;          /* ensure above menu */
    margin: 2px 5px 10px 5px;
  }
}
