/* Move the Standards H1 50px to the right */
.page-header h1,
h1 {
  position: relative;
  left: 50px;
}
/* Reset default margins and set full height */
html, body {
  height: 100%;
  margin: 10;
  font-family: Arial, sans-serif;
  background-color: #eeece4;
}

/* Navigation bar */
.navbar {
  width: 100%;
  padding: 20px 0px;
  display: flex;
  justify-content: flex-end; /* right-align links */
  background-color: transparent; /* keep white background */
  position: fixed; /* stays at top */
  top: 0;
  left: -10px;
  z-index: 100;
}

.nav-links {
  list-style: none; 
  margin: 0;
  padding: 5px;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #7c7c7c;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #000000;
}

/* Dropdown menu styling */
.dropdown {
  position: relative;
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  margin: 0;
  min-width: 150px;
  display: none;
  z-index: 101;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #7c7c7c;
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
  color: #000000;
}

/* ===== Popup styling ===== */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* hide by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup.show {
  display: flex;
}

.popup-content {
  background: white;
  padding: 24px 28px;
  border-radius: 10px;
  text-align: center;
  max-width: 900px;
  width: 90%;
  max-height: 81vh; /* reduce height so it doesn't take full screen */
  height: auto;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 48vh; /* smaller carousel to fit reduced popup height */
  max-height: 520px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border: 1px solid #ddd;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.slide.active { display: flex; }

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* handle different image sizes gracefully */
}

/* ===== Buttons ===== */
button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  background-color: #4a90c8;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #005fa3;
}

/* ===== Help button styling ===== */
.help-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #555;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  font-size: 14px;
}

.help-btn:hover {
  background-color: #333;
}






/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
}

.arrow:hover {
  background-color: rgba(0,0,0,0.8);
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* Dots */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}

/* Iframe section */
iframe {
  display: block;
  width: 100%;
  height: 800px;
  border: none;
  padding: 60px;
  box-sizing: border-box;
}






