


html {
  scroll-behavior: smooth;
}


#QuestionsDock {
  display: grid;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}

div.questionModal {
  background-color: lightgrey;
  min-width: 500px;
  max-width: auto;
  border: 4px solid green;
  padding: 20px;
  margin-left: 20px;
  font-size: 20px;
  color: navy;
  display: none;
}

div.questionModal.visible {
  display: block;
  animation: fade-slide-in 0.3s ease-out forwards;
}

div.Qform {
  border: 10px solid green;
  padding: 20px;
  margin-top: 40px;
  margin-left: 20px;
  font-size: 20px;
  background-color: lightgrey;
  min-width: 500px;
  max-width: auto;
  font-size: 20px;
  color: navy;
}

table.tbl {
  width: 100%;
  border: 2px solid #fff;
  margin: 20px 0;
}
table.tbl td {
  padding: 5px 10px;
  text-align: center;
}
table.tbl tr:nth-child(2n + 1) {
  background: #fff;
  height: 30px;
}
table.tbl tr:nth-child(2n) {
  background: #f1f1f1;
  height: 30px;
}

#chapterTitle {
  margin-right: 20px;
  padding-right: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: navy;
  border-radius: 25px;
  text-align: left;
  color: white;
}
div.container #QuestionsDock {
  margin-top: 40px;
  background-color: navy;
  border-radius: 25px;
  display: grid;
}

d
p.question {
  margin-top: 40px;
  margin-left: 40px;
}
ul.question {
  border-radius: 25px;
  margin-left: 40px;
}

#btn-Question1,
#btn-Question2,
#btn-Question3,
#btn-Question4,
#btn-Question5,
#btn-Question6,
#btn-Question7,
#btn-Question8,
#btn-Question9,
#btn-Question10,
#btn-Question11,
#btn-Question12 {
  color: white;
  background-color: navy;
  border-radius: 10px;
  padding-top: 10px;
  margin: 40px 20px;
  font-size: 30px;
  text-align: left;
  display: grid;
  border: 6px solid #3ef42d;
}

.myButton {
  background-color: #f67722;
  border-radius: 3px;
  border: 1px solid white;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: arial;
  font-size: 26px;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #822215;
}

a.my-class {
  color: white; /* Change text color */
  background-color: navy;
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make text bold */
  border-radius: 5px; /* Round the corners */
  font-family: sans-serif;
  font-size: 30px;
  animation: slideIn 0.5s forwards;
}

 /* Dark blurred background */
 .modal-backdrop.show {
   backdrop-filter: blur(6px); background-color: rgba(0, 0, 0, 0.75);
   } 
   /* Default state before show: slightly smaller */ 
   .modal.fade .modal-dialog { 
    transform: scale(0.8); transition: transform 0.25s ease; } 
    /* When shown: full size */ 
    .modal.show .modal-dialog { transform: scale(1); }
     /* When hiding (Bootstrap removes .show but keeps .fade briefly) */
      .modal.fade:not(.show) .modal-dialog { transform: scale(0.85); } 
 
 
      /* Fade-in for main image */
#imageDisplay {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#imageDisplay.fade-in {
  opacity: 1;
}

/* Zoom animation for modal image */
#img01 {
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#imageModal.show #img01 {
  transform: scale(1);
  opacity: 1;
}


/********************/

body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
  position: relative;
  background-color: #fff; /* Explicit baseline */
}


/* ---------------------------------------
   HEADER BASE
---------------------------------------- */
.header {
  width: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 20;
  /*background: #fff;  */
 background: black;  
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
border-radius: 10px;
min-height: 60px; 
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------------------------------------
   LOGO
---------------------------------------- */
.header__logo   {
  margin: 10px ;
  font-size: 1.75rem;
  font-weight: 100;
  line-height: 1;
}
.header__logo strong {
  font-weight: 400;
color:yellow;
text-decoration: none;
text-decoration: underline;
text-decoration-color: rgb(5, 206, 237);
}

.header__logo a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------------------------
   HEADER CONTROLS (search + menu icons)
---------------------------------------- */
.header__controls {
  display: flex;
  align-items: center;
  gap: 1rem;
color:black;

}

.header__icon {
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.25s ease;
  color: white;
}

.header__icon:hover {
  opacity: 0.7;
}

/* ---------------------------------------
   MENU WRAPPER
---------------------------------------- */
.header__menu {
  display: flex;
  align-items: center;
  gap: 2rem;

}

/* ---------------------------------------
   NAVIGATION
---------------------------------------- */
.nav__list {
  list-style:none;
  display:inline-flex;
  gap: 1.5rem;
  margin: 0 ;
  padding: 0 ;

}

.nav__link {
  text-decoration: none;
  
color: white;
  font-weight: 400;
  transition: color 0.25s ease;
}

.nav__link:hover {
  color: #007bff;
}

/* ---------------------------------------
   UTILITIES (Login / Sign Up)
---------------------------------------- */
.header__util {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Remove legacy float behavior */
.btn {
  float: none !important;
}

/* ---------------------------------------
   MOBILE SLIDE-OUT MENU
---------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;               /* hidden by default */
  width: 80%;
  max-width: 320px;
  height: 30vh;
  /*background: #fff;*/
/*background: transparent;*/
background: black;
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  transition: right 0.35s ease;
  z-index: 9999;
color:white;
}

.mobile-menu--open {
  right: 0;                   /* slide in */
}

.mobile-menu__inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Close button */
.mobile-menu__close {
  font-size: 1.5rem;
  cursor: pointer;
  align-self: flex-end;
  transition: opacity 0.25s ease;
color:white;
margin-top: 14px;
}

.mobile-menu__close:hover {
  opacity: 0.7;
}

/* Mobile nav list */
.nav__list--mobile {
  flex-direction: column;
  gap: 1rem;
}

/* Mobile utilities */
.header__util--mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hide desktop menu on mobile */
@media (max-width: 768px) {
  .header__menu {
    display: none;
  }
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}
*/
/* ---------------------------------------
   Page Banner Base
----------------------------------------*/ 
.page-banner {
  position: relative;
  width: 100%;
  min-height: 500px;                 /* adjust as needed */
  padding: 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;                     /* ensures vertical centering */
  align-items: center;
  justify-content: center;
/*background-color:rgba(0, 0, 0, 0.934);*/
background-color: white;


}

.page-banner__bg-image {
  opacity: 0.33;
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
min-height:500px;
}

/* Optional: dark overlay for readability */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: 1;
}

/* ---------------------------------------
   Banner Content
----------------------------------------*/ 
.page-banner__content {
  position: relative;
  z-index: 2;                        /* above overlay */
}

/* ---------------------------------------
   Banner Title
----------------------------------------*/ 
.page-banner__title {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 40px;;
color: navy;
margin-left: 10px;
}

@media (min-width: 768px) {
  .page-banner__title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .page-banner__title {
    font-size: 3rem;
  }
}

.page-links {
  position: relative;
  z-index: 1;
  background-color: #faf0ca;
  margin: 0 0 40px 0;
}
@media (min-width: 767px) {
  .page-links {
    margin: 0 0 40px 20px;
    width: 300px;
    float: right;
  }
}
.page-links__title {
  margin: 0;
  font-weight: normal;
  text-align: center;
  padding: 20px 0;
  background-color: #171717;
  color: #fff;
}
.page-links__title a {
  color: #fff;
  text-decoration: none;
  background-color:  #171717;
}
.page-links li {
  border-top: 1px solid #f4de89;
}
.page-links li:first-child {
  border-top: none;
}
.page-links__active,
.page-links .current_page_item {
  text-align: left;
  background-color: #f4e6b1;
  color: #0d3b66;
  font-weight: bold;
}
.page-links li a {
  display: block;
  text-align: center;
  padding: 17px 10px;
  text-decoration: none;
  color: #0d3b66;
  transition: all 0.3s;
}
.page-links li a:hover {
  color: #0a2b4b;
  background-color: #f2e3aa;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}
.container--narrow {
  max-width: 960px;
}

.min-list {
  padding: 0;
  margin: 0;
}
.min-list li {
  list-style: none;
}