html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  background: #ffffff;
  color: #3b3b3b;
  font-family: "Gautami", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  min-height: 500px;
  min-width: 300px;
  position: relative;
  min-height: 100vh;
  padding-bottom: 0; /* Remove padding-bottom */
  display: flex;
  flex-direction: column;
}

.page {
  background: #828282;
}

header,
nav,
section,
article,
aside,
div,
main {
  display: block;
  box-sizing: border-box;
}

a {
  color: #687a90;
  text-decoration: none;
  border: 0px;
  outline: none;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: linear;
}

a:hover {
  text-decoration: none;
  color: #004800;
}

.main_nav {
  padding: 0px;
  margin: 6px auto 0px auto;
  list-style: none;
  display: block;
  font-size: 0px;
  text-align: right;
  height: 37px;
  width: 100%;
  position: absolute;
  top: 78px;
  right: 0px;
}

.main_nav > li {
  padding: 0px;
  margin: 0px 27px 0px 0px;
  list-style: none;
  display: inline-block;
}

.main_nav > li > a {
  display: block;
  text-transform: uppercase;
  color: #e7e4db;
  padding: 17px 0px 0px 0px;
  line-height: 14px;
  font-size: 14px;
  position: relative;
}

.main_nav > li > a.active,
.main_nav > li > a:hover {
  color: #ffffff;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 0 auto; /* Allow wrapper to grow but not shrink */
  margin-bottom: 150px; /* Add margin to account for footer */
}

.container {
  width: 100%;
  max-width: 1026px;
  margin: 0px auto;
  box-sizing: border-box;
  padding: 23px 20px 40px 20px;
  color: #b9b7af;
}

.logo {
  padding: 20px;
  padding-left: 50px;
  height: 75px;
  display: inline-block;
}

.logo img {
  display: block;
  margin-top: 17px;
}

.about_contact_container {
  background-color: #004800;
  border: 5px solid #01a54b;
  box-sizing: border-box;
  color: #ffffff;
  margin: 0 auto;
  width: 100%;
  max-width: 935px;
  padding: 40px 35px;
  text-align: left;
  margin-top: 100px;
  margin-bottom: 80px; /* Increase bottom margin to prevent overlap with footer */
  max-height: calc(100vh - 350px); /* Adjust for header + footer + margins */
  overflow-y: auto;
}

.about_contact_container a {
  color: #ffffff;
  text-decoration: underline;
}

.about_contact_container a:hover {
  color: #01a54b;
}

.about_contact_container ol {
  counter-reset: letter;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.about_contact_container ol > li {
  display: table;
  margin-bottom: 0.6em;
  margin-left: 2em;
}

.about_contact_container ol > li:before {
  content: counter(letter, lower-alpha) ") ";
  counter-increment: letter;
  display: table-cell;
  padding-right: 0.6em;
}

.about_contact_container ol > li > span {
  display: table-cell;
  padding-left: 20px;
  text-align: left; /* Add this line */
}

.access_box {
  min-height: auto !important;
}

footer {
  position: fixed; /* Change from absolute to fixed */
  text-align: center;
  bottom: 0;
  width: 100%;
  height: 200px; /* Use fixed height instead of min-height */
  padding: 20px 5%;
  box-sizing: border-box;
  background-color: transparent;
  z-index: 1; /* Ensure footer stays above content */
}

.font-family-class {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-align: center;
}

.hero-image {
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: calc(100vh); /* Subtract footer height */
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1; /* Place the image behind the content */
}

/* Privacy Notice Specific Styles */
.privacy-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
  background: #005704;
  border: 1px solid #bcbec0;
}

.privacy-table th {
  background: #005704;
  border: 1px solid #bcbec0;
  color: white;
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  padding: 8px;
}
.privacy-table td {
  padding: 8px;
  border: 1px solid #bcbec0;
  vertical-align: top;
  background: #004800;
}

.header-bg {
  background: #005704;
  /*color: white;*/
}

.subheader-bg {
  background: #005704;
}

.cta {
  color: rgb(255, 59, 59);
  font-weight: bold;
}

.privacy-table h1,
.privacy-table h2,
.privacy-table h3 {
  margin: 0.5em 0;
}

.privacy-table ul {
  list-style: disc;
  padding-left: 2em;
}

/* Additional styles for better consistency */
.about_contact_container .privacy-table {
  background: white;
  margin: 1em 0;
}

.about_contact_container .privacy-table td {
  line-height: 1.5;
}

.footer-nav {
  position: absolute;
  left: 50px;
  bottom: 20px;
}

.footer-link {
  text-transform: uppercase;
  color: #e7e4db;
  font-size: 14px;
  transition: color 0.3s linear;
  
}

.footer-link:hover {
  color: #ffffff;
}
