@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* html,
body {
  height: 99%;
} */

body {
  background-color: #ffffff;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  max-width: 1600px;
  /* min-height: 100vh; */
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.container {
  max-width: 1600px;
  padding-left: 20px;
  padding-right: 20px;
}

h2,
h3,
h5 {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 1.2em !important;
  color: #1a1a1a;
  font-weight: 500 !important;
}

h5 {
  font-size: 1em !important;
}

p {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 1em !important;
  color: #1a1a1a;
}

.main-nav {
  background: #fff;
  padding: 10px 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(0, 88, 88);
  font-weight: 500;
}

.nav-links li a:hover {
  text-decoration: none;
  color: rgb(1, 125, 133);
}

/* --- MOBILE MENU FIXED FULL WIDTH --- */
.mobile-menu {
  position: relative;
  z-index: 1000;
}

#menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  outline: none;
}

/* Menu container */
#mobile-nav {
  position: fixed;
  top: 70px; /* adjust to match header height */
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  z-index: 9999;
}

/* Open state */
#mobile-nav.active {
  max-height: 500px; /* adjust if you have many items */
  opacity: 1;
}

/* Menu items */
.mobile-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-items li {
  border-bottom: 1px solid #eee;
}

.mobile-menu-items a {
  display: block;
  padding: 14px;
  font-size: 1.1rem;
  color: #333;
  text-decoration: none;
}

/* Remove horizontal overflow issues */
html,
body {
  overflow-x: hidden;
}

/* Ensure the mobile menu is only visible on small screens */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
}

.hover-underline:hover {
  text-decoration: underline;
}

/* page divs */

.instruction,
.dataverse-info {
  background: #f8f9fb;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 24px;
  font-family: Montserrat, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  max-width: 800px;
}

h2 {
  margin-top: 0;
  font-size: 22px;
  color: #1a1a1a;
  font-weight: 700;
}

.gv_form {
  background: #f8f9fb;
  border: 1px solid #cccccc;
  border-radius: 8px;
  margin-top: 20px;
  padding: 24px;
  font-family: Montserrat, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  max-width: 800px;
}

/* Gravity Forms */

/* Style all Gravity Forms text inputs */
body .gform_wrapper input[type='text'],
body .gform_wrapper input[type='email'],
body .gform_wrapper input[type='url'],
body .gform_wrapper input[type='tel'],
body .gform_wrapper textarea {
  background: #f5f5f5;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Optional: highlight on focus */
body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus {
  border-color: #999999;
  background: #ffffff;
  outline: none;
}

body .gform_wrapper .gform_body .gfield_label,
body .gform_wrapper .gform_body .gform_fields .gfield .datepicker,
body .gform_wrapper .gform_body .gform_fields .gfield .gfield_checkbox {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1em;
  color: #1a1a1a;
  line-height: 1.6;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_consent_label {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1em;
  color: #1a1a1a;
  line-height: 1.6;
}

/* hide error message in GF */
/* .gform_validation_errors {
  display: none !important;
} */

/* Horizontal radio buttons for Field A */
#gform_wrapper_1 .gfield_radio li {
  display: inline-block;
  margin-right: 20px; /* space between options */
}

#gform_wrapper_1 .gfield_radio input[type='radio'] {
  vertical-align: middle;
}
