/* General body styling */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: url('../images/background.png') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Make all text white by default */
}

/* Styling for the welcome text */
.outside-text p {
  color: white;
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 20px;
}

/* Styling for the form container */
.form-container {
  background: rgba(255, 255, 255, 0.85); /* Increased translucency */
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 30px 20px;
  width: 90%; /* Adjusted width for better responsiveness */
  max-width: 550px; /* Maximum width for larger screens */
  box-sizing: border-box;
  text-align: center;
  color: #333; /* Slightly darker text */
  margin: 20px auto; /* Center the container on the page */
}

/* FAQ container styling */
.faq-container {
  background: rgba(255, 255, 255, 0.85); /* Increased translucency */
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 20px;
  width: 90%; /* Adjusted width for better responsiveness */
  max-width: 550px; /* Maximum width for larger screens */
  box-sizing: border-box;
  margin: 20px auto; /* Center the container on the page */
  text-align: left; /* Left-align the FAQ content */
  color: #333; /* Slightly darker text */
}

/* Responsive design for smaller screens */
@media (max-width: 480px) {
  .form-container,
  .faq-container {
    padding: 20px; /* Reduce padding for smaller screens */
    width: 95%; /* Increase width slightly for better fit */
  }

  h2 {
    font-size: 1.2rem; /* Adjust heading size for smaller screens */
  }

  button {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/* Center the FAQ heading */
.faq-container h3 {
  text-align: center; /* Center-align the "Frequently Asked Questions" heading */
  font-weight: bold;
}

/* Center the bolded questions */
.faq-container p strong {
  display: block; /* Make the bolded question a block element */
  text-align: center; /* Center-align the bolded question */
  margin-bottom: 10px; /* Add spacing below the question */
}

/* Input fields styling */
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 15px;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: #aaa;
}

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 1rem;
  margin-top: 10px;
}

/* Button styling */
button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #43a047;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #388e3c;
}

/* Form message styling */
#form-message {
  margin-top: 20px;
  font-weight: bold;
  color: #2c3e50;
}

/* Responsive design for smaller screens */
@media (max-width: 480px) {
  .form-container,
  .faq-container {
    padding: 20px;
  }

  h2 {
    font-size: 1rem;
  }

  button {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/* Navigation Pane Styling */
.nav-pane {
  background-color: #333; /* Dark background */
  padding: 10px 0;
  text-align: center;
  width: 100%; /* Ensure it spans the full width */
  position: fixed; /* Fix it to the top of the page */
  top: 0;
  z-index: 1000; /* Ensure it stays above other elements */
}

.nav-pane ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /* Use flexbox for horizontal alignment */
  justify-content: center; /* Center the links */
}

.nav-pane li {
  margin: 0 15px;
}

.nav-pane a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-pane a:hover {
  color: #43a047; /* Green hover effect */
}

/* Add padding to the content to avoid overlap with the fixed navbar */
.content-container {
  margin-top: 60px; /* Adjust this value to match the height of the navbar */
}