@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
    body {
      background-color: #384654;
	  font-family: 'Roboto', sans-serif, arial, monospace;
      margin: 0;
      padding: 0;
      background-repeat: repeat;
    }
    header {
	  margin-bottom: 0;
      padding: 1rem;
      text-align: center;
      background-color: #121212;
      border-bottom: 5px solid #222;
    }
    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 a {
	  margin: 0.6rem;
      font-size: clamp(0.5rem, 0.5rem + 1vw, 1.7rem);
	  color: #bbffaa; 
    }
	header img {
	  margin: 0;
	  padding: 0;
	  max-height:100%;
	  height:12em;
	  width:12em
    }
	main {
      position: relative;
	  padding: 0rem;
      max-width: 80%;
      margin: auto;
    }

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

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

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

.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 {
  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-left,
.text-double-right {
  flex: 0 0 49%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Pushes content to the bottom */
}


/* phones*/
@media (max-width: 600px) {
  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 {
      content: '';
      position: absolute;
      inset: 0; /* cover entire main */
      background: #ffffff;
      opacity: 0.99;
      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;
}