:root {
  --primary-color: #50B848;
  --primary-color-darkened: #24881c;
  --primary-color-lighter: #7adc73;

  --secondary-color: #154734;
  --secondary-color-darkened: #012215;
  --secondary-color-lighter: #4ca382;

  --tertiary-color: #FC7753;
  --tertiary-color-darkened: #b13d1e;
  --tertiary-color-lighter: #f4a894;

  --black: #154734;
  --offwhite: #F2EFEA;
  --white: #FFFFFF;
  --gray: #C8C2B8;
  --light-gray: #F1F1F1;

  --header-font-family: "century-old-style-std", -apple-system, BlinkMacSystemFont,
  "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
  sans-serif;
  --body-font-family: "aktiv-grotesk", sans-serif, -apple-system,
  BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
  "Helvetica Neue", sans-serif;
  --accent-font-family: 'colosseum', -apple-system, BlinkMacSystemFont,
  "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
  sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  font-size: 16px;
  background-color: var(--offwhite);
}

p,
li {
  color: var(--black);
  font-family: var(--body-font-family);
  line-height: 1.45;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--black);
  font-family: var(--header-font-family);
  font-weight: 300;
}

.button,
.freeform-button-submit,
.freeform-button-back {
  display: inline-block;
  font-size: 18px;
  font-family: var(--body-font-family);
  font-weight: bold;
  padding: 10px 40px;
  text-align: center;
  border-radius: 5px;
  margin-top: 1rem;
  border: 1px solid var(--primary-color);
}

/* For phone only */
@media (max-width: 320px) {
  .button,
  .freeform-button-submit,
  .freeform-button-back {
    font-size: 16px;
  }
}

.button--primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.button--primary:hover {
  background-color: var(--primary-color-darkened);
  transition: background-color 0.3s ease-in-out;
}

.button--full,
.freeform-button-submit {
  background-color: var(--primary-color);
  color: var(--white);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.button--full:hover,
.freeform-button-submit:hover {
  background-color: var(--primary-color-darkened);
  color: var(--white);
}

.button--hollow,
.freeform-button-back {
  border: 1px solid var(--primary-color);
  background-color: inherit;
  background-image: inherit;
  color: var(--primary-color);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.button--hollow:hover {
  background-color: var(--primary-color);
  color: var(--offwhite);
}

.button--hollow-white {
  border: 1px solid var(--white);
  background-color: inherit;
  color: var(--white);
}

.button--hollow-white:hover {
  background-color: var(--white);
  color: var(--primary-color-darkened);
}

.button--white {
  border: 1px solid var(--white);
  background-color: var(--white);
  background-image: inherit;
  color: var(--black);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.button--white:hover {
  background-color: var(--black);
  color: var(--white);
}


.button--full-width {
  width: 100%;
  display: block;
}

.button[disabled] {
  opacity: 0.5;
}

/* fade image in after load */
.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 300ms;
}

.wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

input[type='email'],
input[type='number'],
input[type='password'],
input[type='date'],
input[type='text'],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1px solid var(--gray);
  box-shadow: none;
  box-sizing: inherit;
  padding: .5rem;
  height: 2.8rem;
  width: 100%;
  font-family: var(--body-font-family);
}

input[type='date'],
textarea,
select {
  text-transform: uppercase;
}

textarea {
  resize: none;
  height: 150px;
  text-transform: inherit !important;
}

select {
  position: relative !important;
}

select:after {
  width: 10px;
  content: '\25BC'; /* Unicode character for a downward-pointing triangle */
  position: relative;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* Allows clicking the select */
  font-size: 16px;
  color: #333;
}

/* Wrap select with custom styles */
select.freeform-input {
  appearance: none; /* Remove default dropdown arrow in most browsers */
  -webkit-appearance: none; /* Remove default arrow in Safari and Chrome */
  -moz-appearance: none; /* Remove default arrow in Firefox */
  position: relative;
  width: 100%; /* You can adjust width as needed */
  padding: 10px 40px 10px 12px; /* Padding, leave space for arrow */
  border-radius: 4px;
  background-color: white;
  background-position: right 10px center; /* Position for custom arrow */
  background-repeat: no-repeat;
  background-size: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2350B848'/%3E%3C/svg%3E"); /* Custom SVG arrow with green color */
}

/* Optional: Ensure consistent styling for mobile devices */
select.freeform-input:focus {
  outline: none; /* Remove default outline */
  border-color: #666; /* Change border color on focus */
}


/* Default styles for checkboxes */
input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox; /* For WebKit browsers */
  -moz-appearance: checkbox; /* For Mozilla browsers */
  width: 16px; /* Set the size */
  height: 16px;
  margin: 4px;
  cursor: pointer;
}

/* Default styles for radio buttons */
input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio; /* For WebKit browsers */
  -moz-appearance: radio; /* For Mozilla browsers */
  width: 16px; /* Set the size */
  height: 16px;
  margin: 4px;
  cursor: pointer;
}

/* Optional: Customize their colors */
input[type="checkbox"]:checked {
  background-color: #007BFF;
  border-color: #007BFF;
}

input[type="radio"]:checked {
  background-color: #007BFF;
  border-color: #007BFF;
}

/* For phone only */
@media (max-width: 599px) {
  .freeform-row {
    display: block !important;
  }
}

.freeform-label {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: normal !important;
  font-family: var(--body-font-family);
  margin-bottom: 0.5rem;
}

.freeform-fieldtype-checkbox .freeform-label {
  text-transform: inherit;
}

.freeform-input[type="text"],
.freeform-input[type="number"],
.freeform-input[type="email"],
.freeform-input[type="password"],
.freeform-input[name="nationality"],
select.freeform-input {
  text-transform: initial;
  border-radius: 5px;
  border: 0 !important;
  background-color: var(--light-gray) !important;
}

.freeform-input[type="file"] {
  padding: 1rem;
  background-color: var(--light-gray) !important;
  border-radius: 5px;
  font-family: var(--body-font-family) !important;
}

.freeform-column[data-field-type="radios"] {
  font-family: var(--body-font-family);
}

.freeform-column[data-field-type="checkboxes"] {
  font-family: var(--body-font-family);
}

.freeform-form-success {
  padding: 1rem;
  background-color: white;
  border: 1px solid var(--secondary-color);
}

.freeform-form-errors {
  margin-bottom: 1rem;
}

.swiper-pagination-bullet {
  background: var(--primary-color) !important;
}

/* General Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 16px;
  font-family: var(--body-font-family);
  text-align: left;
  border: 1px solid var(--gray);
}

table th, table td {
  padding: 12px 15px; /* Adds enough space for each cell */
  border: 1px solid #ddd; /* Adds border between cells */
}

/* Table Header Styling */
table th {
  background-color: #F1FFED; /* Light green background for headers */
  font-weight: bold;
  color: #333; /* Darker text color for contrast */
}

/* Optional: Zebra Stripe Rows for Better Readability */
table tr:nth-child(even) {
  background-color: #f9f9f9; /* Light gray for even rows */
}

/* Optional: Hover Effect */
table tr:hover {
  background-color: #f1f1f1; /* Light hover effect for rows */
}

.grecaptcha-badge {
  z-index: 1;
}

.hidden {
  display: none !important;
}
