/* === GLOBAL STYLES === */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
    margin: 0;
}

/* === PAGE CONTAINER === */
.container {
    margin-top: 30px;
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* === NAVIGATION BAR === */
nav {
    background: #333;
    padding: 10px;
}

/* Make Navbar Horizontal */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;  /* Forces horizontal layout */
    justify-content: center; /* Centers the nav items */
}

/* Ensure Each Nav Item is Inline */
nav ul li {
    margin: 0 15px;
    display: inline-block;
}

/* Ensure All Nav Links Are White and No Underline */
nav ul li a, nav ul li a:visited, nav ul li a:active, nav ul li a.active {
    color: white !important;
    text-decoration: none !important;
    font-size: 18px;
    padding: 10px 15px;
    display: inline-block;
}

/* Change Color on Hover */
nav ul li a:hover {
    color: yellow !important;
    text-decoration: none !important;
}

/* === HEADINGS === */
h1 {
    color: #2d572c;
    font-size: 28px;
    margin-bottom: 10px;
}

h2 {
    color: #2d572c;
    font-size: 22px;
    margin-top: 20px;
}

/* === PARAGRAPHS === */
p {
    font-size: 18px;
    color: #333;
    max-width: 800px;
    margin: auto;
}

/* === HIGHLIGHTED TEXT === */
.highlight {
    color: #d35400;
    font-weight: bold;
}

/* === BULLET POINTS (For Features Section) === */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 18px;
    padding: 5px;
}

/* === FOOTER === */
footer {
    background: #222;
    color: white;
    padding: 10px;
    margin-top: 20px;
}

/* === HERO IMAGE SECTION === */
.hero-image {
  background-image: url("/static/images/hero.jpg");
  height: 40vh;
  min-height: 200px;
  max-height: 300px;
  width: 100%;
  background-position: center 60%;
  background-repeat: no-repeat;
  background-size: 110%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop size adjustment */
@media (min-width: 768px) {
  .hero-image {
    height: 25vh;
    max-height: 300px;
  }
}

.hero-image .hero-text h1 {
    color: white;
    font-size: 64px !important;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* subtle shadow */
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);  /* soft dark overlay */
  z-index: 0;
}

.hero-text {
  position: relative; /* make sure it appears above the overlay */
  z-index: 1;
}

/* === Hero Text Animation === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 1.2s ease-out;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* === Subtitle under title === */
.hero-text .subtitle {
  font-size: 24px;
  margin-top: 10px;
  color: #f0f0f0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* === CTA Button === */
.cta-button {
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 18px;
  background-color: #2d572c;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #4e914e;
}

/* === Contact Page Hero Styling === */
.contact-hero {
  height: 40vh;
  min-height: 250px;
  max-height: 350px;
  background-position: center 60%; /* keep ladybird aligned */
}

/* Optional: match hero text if needed */
.contact-hero .hero-text h1 {
  color: white;
  font-size: 48px;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.contact-intro {
  margin-bottom: 30px;
  font-size: 18px;
}

/* === Contact Form Styling === */
form {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

button[type="submit"] {
  background-color: #2d572c;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #4e914e;
}

nav ul li a.active {
  font-weight: bold;
}
#answers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#answers button {
  width: auto !important;
  min-width: 220px;
  max-width: 300px;
  padding: 12px 20px;
  text-align: center;
}


