@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
    body {
      background-color: #384654; /* #384654 */
	  font-family: 'Roboto', sans-serif, arial, monospace;
      margin: 0;
      padding: 0;
      background-repeat: repeat;
    }

    header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 1rem;
      background-color: #121212;
      border-bottom: 5px solid #222;
      gap: 1rem;
      width: 100%;                 /* Allow the header to take up full width */
      flex-wrap: wrap;             /* Allow wrapping if necessary */
    }

    header img {
      margin: 0;
      padding: 0;
      max-height: 100%;
      height: 12em;
      width: 12em;
    }

    header-text {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      text-align: center;
      min-width: 123px;            /* Ensure header-text has a min width */
      flex-shrink: 0;              /* Prevent shrinking below min-width */
    }

    header h1 {
      margin: 0;
      font-size: clamp(1rem, 1rem + 1vw, 4rem);
      color: #00ff88;
    }

    header p {
      margin: 0;
      font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem);
      color: #e0e0e0;
    }

    header nav {
      display: flex;               /* Flexbox for the links */
      align-items: center;         /* Vertically center the links */
      justify-content: center;   /* Align the links to the right */
	  flex-wrap: wrap;
	  margin-top: 1rem;
      gap: 0.2rem;                   /* Space between links */
	  flex-wrap: wrap;             /* Allow links to wrap to the next line if needed */
    }

    header a {
      font-size: clamp(0.5rem, 0.5rem + 1vw, 1.7rem);
      color: #bbffaa;
      text-decoration: none;       /* Remove underline from links */
    }

    header a:hover {
      text-decoration: underline;  /* Underline on hover */
    }

    nav a {
      color: white;
      text-decoration: none;
      padding: 8px 12px;
      font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem);
      background-color: #333;
      border-radius: 8px;
      transition: background-color 0.3s ease, color 0.3s ease;
  }

  nav a:hover, nav a:active {
      background-color: #B7B1BB;
      color: #5363dd;
  }



	main {
      position: relative;
	  padding-top: 0rem;
	  padding: 0rem;
      max-width: 90%;
      margin: auto;
	  background: #ffffff;
    }

.text-and-image {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: flex-start; /* start from top */
  justify-content: space-between;
  min-height: 200px; /* ensures space for image to align bottom */
}
.text-and-image > * {
  margin-top: -1.75rem;
}

.text-content {
  flex: 0 0 85%;
  width: 85%;
}

.image-container {
  flex: 0 0 15%;
  width: 15%;
  display: flex;
  align-items: flex-end; /* pushes image to the bottom */
  justify-content: center;
}

.image-container img {
  max-height: 100%;
  max-width: 100%;
  border-radius: 8px;
  margin-top: 16rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-double {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px; /* Add meaningful gap instead of 0 */
  align-items: flex-start;
  justify-content: space-between;
  min-height: 200px;
}
.text-double > * {
  margin-top: -1.75rem;
}

.text-double-left,
.text-double-right {
  flex: 0 0 49%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Pushes content to the bottom */
}



@media (min-width: 1400px) {
  header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align logo and text on the left */
    padding: 1rem;
    background-color: #121212;
    border-bottom: 5px solid #222;
    gap: 0.5rem; /* Tighten space between logo and header-text */
    width: 100%;
    flex-wrap: nowrap; /* Prevent wrapping */
    box-sizing: border-box; /* Make sure padding is included in width */
  }

  /* Ensure the logo and header-text are next to each other without extra space */
  header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    min-width: 123px; /* Ensure header-text has a min-width */
    flex-shrink: 0; /* Prevent shrinking below min-width */
    margin-left: 0; /* Remove extra margin */
  }

  /* Logo styles */
  header img {
    margin: 0;
    padding: 0;
    max-height: 100%;
    height: 12em;
    width: 12em;
  }

  /* Navigation layout for large screens */
  header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Right-align the nav items */
    gap: 1rem; /* Space between nav items */
    flex-wrap: nowrap; /* Prevent wrapping */
    margin-left: auto; /* Push nav to the right */
    padding-right: 1rem; /* Add padding to the right to avoid overflow */
    box-sizing: border-box; /* Ensure padding is included in width */
  }

  /* Navigation links */
  header a {
    font-size: clamp(0.8rem, 0.8rem + 1vw, 1.7rem);
    color: #bbffaa;
    text-decoration: none;
  }

  header a:hover {
    text-decoration: underline;
  }

  nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    font-size: clamp(0.8rem, 0.8rem + 1vw, 1.5rem);
    background-color: #333;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  nav a:hover, nav a:active {
    background-color: #B7B1BB;
    color: #5363dd;
  }
}



/* phones*/
@media (max-width: 800px) {
  header {
    flex-direction: column;    /* Stack the items vertically */
    align-items: center;       /* Center everything horizontally */
    text-align: center;        /* Center the text */
  }

  header img {
    height: 8em;               /* Reduce the logo size on small screens */
    width: 8em;
    margin-bottom: 1rem;       /* Space between the logo and text */
  }

  header-text {
    align-items: center;       /* Center the text horizontally */
    text-align: center;        /* Ensure text is centered */
	min-width: 231px;           /* Maintain min-width even on mobile */
  }

  header nav {
    justify-content: center;   /* Center nav items */
    margin-top: 1rem;           /* Add space between text and navigation links */
  }

  header a {
    font-size: clamp(0.8rem, 0.8rem + 1vw, 1.5rem); /* Slightly smaller font on mobile */
	margin-top: 1rem;           /* Add space between text and navigation links */
  }
  
  nav a {
    padding: 8px 12px;          /* Slightly smaller padding for mobile */
    margin-left: 0;             /* Remove left margin to avoid spacing issues */
    margin-right: 10px;         /* Space between links on mobile */
    font-size: clamp(0.8rem, 0.8rem + 1vw, 1.5rem);  /* Adjust font size for better readability */
    background-color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  nav a:last-child {
    margin-right: 0;            /* Remove the margin on the last link */
  }
  
  main {
    max-width: none;          /* remove the 92 % cap */
    margin: 0;                /* remove auto centreing */
  }
  section {
    margin-left: 0.75rem;       /* tiny inset so text isn’t glued to the bezel */
    margin-right: 0.75rem;
  }
}



	main section:first-child h2 {
	  margin-top: 28px;
	  padding-top: 5rem;
	}
	main::before {
      position: absolute;
      inset: 0; /* cover entire main */
      opacity: 1;
      z-index: -1;
    }
    section {
	  z-index: 1;
	  opacity: 1;
      margin-top: 0rem;
      margin-right: 2.5vw;
      margin-left: 2.5vw;
      margin-bottom: 0rem;
	  padding-bottom: 5vw;
    }

    section h1 {
      color: #2b8271;
	  font-size: clamp(0.9rem, 0.9rem + 1vw, 3rem);
    }
    section h2 {
	  margin: 1rem;
      color: #2b8271;
	  font-size: clamp(0.8rem, 0.8rem + 1vw, 3rem);
	  border-bottom: 1px solid #ccc;     /* full-width line */
	  padding-bottom: .25rem;            /* space between text and line */
	  margin-bottom: 1rem;               /* optional extra space below line */
    }
	section h3 {
	  margin: 1.1rem;
      color: #2b8271;
	  font-size: clamp(0.70rem, 0.70rem + 1vw, 2rem);
    }
	section h4 {
	  margin: 1.1rem;
      color: #2b8271;
	  font-size: clamp(0.6rem, 0.6rem + 1vw, 1.5rem);
    }
	section p {
	  margin: 1.1rem;
      color: #000000;
	  font-size: clamp(0.6rem, 0.6rem + 1vw, 1.5rem);
    }
	section li {
	  margin: 0.2rem;
	  list-style: square;
      color: #000000;
	  font-size: clamp(0.6rem, 0.6rem + 1vw, 1.5rem);
    }
    a {
      color: #33462e; /*bbffaa, ffffaa*/
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }
    footer {
      z-index: 1;
	  text-align: center;
	  margin: 1rem;
    }
	footer p {
	  color: #efefef;
	}
	sub p {
	  margin: 1.1rem;
      color: #000000;
	  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.25rem);
    }



.form-container {
  background: #ffffff;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
  border-radius: 6px;
  width: 80%;
  max-width: 1000px;
  margin: 2rem auto;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem);
  
}
form {
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
.row1 {
  width: 100%;
  margin-bottom: 1rem;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
.row1 input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #00ff88;
  border-radius: 4px;
  color: #000000;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
.row2 {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
.row2 input {
 flex: 1 1 0;          /* share space equally, allow shrink */
  box-sizing: border-box; /* include padding/border in width */
  min-width: 0;         /* stop flex item from overflowing */
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #00ff88;
  border-radius: 4px;
  color: #000000;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
textarea {
  width: 100%;
  min-height: calc(1.2em * 20);
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #00ff88;
  border-radius: 4px;
  color: #000000;
  resize: vertical;
  margin-bottom: 1rem;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
.submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.4rem, 0.4rem + 1vw, 1.3rem)
}
.preferred-contact {
  margin: 0;
  border: none;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.35rem, 0.35rem + 1vw, 1.25rem)
  
}
.preferred-contact legend {
  font-weight: bold;
  padding: 0 0.5rem;
  color: #00ff88;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.35rem, 0.35rem + 1vw, 1.25rem)
}
button {
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  border: none;
  background-color: #00ff88;
  color: #000000;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-family: 'Roboto', sans-serif, arial, monospace;
  font-size: clamp(0.5rem, 0.5rem + 1vw, 1.5rem)
}
button:hover {
  background-color: #00cc6a;
}
input::placeholder,
textarea::placeholder {
  color: #555;
}
.tooltip {
  color: #bbffaa !important;
  text-decoration: none !important;
  position: relative;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

.tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -150px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
}



.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}