/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
  padding-bottom: 2rem;
}

p {
    margin-bottom: 0.5em; /* Adjust this value as needed */
}

a {
  color: #00704a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header and Hero */
header {
  background: linear-gradient(to right, #2a6041, #00704a);
  color: #fff;
  padding: 1rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e6b800;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  gap: 1rem;
}

nav a {
  color: #fff;
  font-weight: bold;
}

/* Main Sections */
main {
  padding: 2rem 1rem;
}

section {
  margin-bottom: 2rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

section h2 {
  color: #00704a;
  margin-bottom: 1rem;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.map-button {
  display: inline-block;
  background-color: #00704a;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.map-button:hover {
  background-color: #005d3a;
}

/* Footer */
footer {
  background-color: #2a6041;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  position: relative;
}

nav ul {
  background-color: #003d29;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav li {
  padding: 0.5rem;
}

nav a:hover {
  background-color: #004d34;
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}

.hero {
  background: url('/img/banner1.jpg') right center/cover no-repeat;
  padding: 2rem 1rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  border-radius: 8px;
}

.cta-button {
  transition: transform 0.2s ease-in-out;
}

.cta-button:hover {
  transform: scale(1.05);
}

section:nth-child(even) {
  background-color: #e8f5e9;
}

section {
  border-left: 6px solid #00704a;
  border-radius: 5px;
}

.section-image {
  width: 50%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.float-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
  max-width: 300px;
}

.float-right {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 300px;
}

/* Clear floats after sections to prevent layout breaking */
section::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2rem 1rem;
    background-position: right center;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  main {
    padding: 1rem;
  }

  section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-button,
  .map-button {
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    margin-top: 0.5rem;
  }

  ul {
    padding-left: 1rem;
  }
}

table { 
    margin-left: auto;
    margin-right: auto;
}
td {
    padding: 10px;
}
#contactTable tr:nth-child(odd) {
	background-color:#ffcc00;
	color:#000000;
}
#contactTable tr:nth-child(even) {
	background-color:#F2F2F2;
	color:#000000;
}


