/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  background-color: #fff;
  padding-top: 350px;
}

section {
  border-top: 2px solid #31ce12;
  padding-top: 2rem;
}

#security ul {
  list-style: none;   /* removes default bullets */
  padding-left: 0;    /* removes extra indent */
}

#security li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem; /* space for the checkmark */
}

#security li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #31ce12;
  font-weight: bold;
}

/* Header with logo background */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #31ce12;
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.shrink {
  padding: 0.5rem;       /* less padding */
}

.header-logo {
  width: 200px;
  transition: width 0.3s ease;
}

.header-center {
  flex: 1;
  text-align: center;  /* centers title + tagline + nav */
}

header.shrink .header-logo {
  width: 50px;           /* smaller logo */
}

.main-title {
  font-size: clamp(2rem, 6vw, 5rem);
  transition: font-size 0.3s ease;
}

header.shrink .main-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: #000000;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

nav a:hover {
  color: #dad72f;
}

/* Sections */
section {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  scroll-margin-top: 250px;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #111;
}

p, li {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2rem;
}

/* Pricing box */
.pricing {
  background: #31ce12;
  border: 2px solid #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#tips details {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#tips summary {
  font-weight: bold;
  font-size: 1.1rem;
  color: #31ce12;
  cursor: pointer;
  outline: none;
}

#tips ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.contact-form label {
  font-weight: bold;
  color: #31ce12;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;            /* always take full width */
  box-sizing: border-box; /* prevent overflow */
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #31ce12;
  outline: none;
  box-shadow: 0 0 4px rgba(9,75,29,0.3);
}

.contact-form button {
  background: #31ce12;
  color: #fff;
  border: none;
  padding: 1rem;         /* larger tap area */
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.2s ease;
  width: 100%;           /* full width on mobile */
}

.contact-form button:hover {
  background: #dad72f;
}

/* Status message */
#formStatus {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
  color: #31ce12;
}

.error {
  color: red;
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

#map {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}
#map h2 {
  margin-bottom: 1rem;
}

.location-note {
  font-style: italic;
  color: #31ce12;
  margin-bottom: 1rem;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffcc00;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.4s ease, background 0.2s ease; /* fade in/out */
  opacity: 0; /* hidden by default */
  pointer-events: none; /* prevent clicks when hidden */
  z-index: 1000;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  background: #000000;
}

/* Footer */
footer {
  background: #31ce12;
  color: #000000;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-contact {
  text-align: left;
  margin-bottom: 1rem;
}

.footer-contact p {
  margin: 0.3rem 0;
}

.footer-contact a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #ffcc00;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile overrides */
@media (max-width: 700px) {
  header {
    flex-direction: column;   /* stack logo, title, nav */
    padding: 1rem;
  }

  .header-logo {
    width: 60px; /* smaller but consistent */
  }

  .header-center {
    margin: 0.5rem 0;
  }

  body {
    padding-top: 290px; /* taller stacked header */
  }

  .main-title {
    font-size: 1.5rem; /* readable size */
  }

  nav {
    margin-top: 0.5rem;
  }

  /* Disable shrink effect on mobile */
  header.shrink {
    padding: 1rem;
  }

  header.shrink .header-logo {
    width: 60px;
  }

  header.shrink .main-title {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
    gap: 0.75rem;
  }

  .contact-form label {
    font-size: 0.95rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
  }

  .contact-form button {
    font-size: 1rem;
    padding: 0.9rem;
  }
}