/* Ensure the body takes full height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-image: url(/assets/nahargarh.jpg); /* Add your image path here */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* Main content area */
main {
  flex: 1; /* This makes the content area take the remaining space */
}

/* Form Section */
.form-section {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.308); /* Semi-transparent white */
  backdrop-filter: blur(0.2px); /* Apply the blur effect */
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow */
}

/* Footer styles */
footer {
  background: rgba(189, 181, 181, 0.514); /* Semi-transparent white */
  backdrop-filter: blur(0.2px); /* Apply the blur effect */
  color: white;
  padding: 1rem 0;
  text-align: center;
  width: 100%;
  position: relative;
  bottom: 0;
}

/* Form Group Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: bold;
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: #0033cc;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #0026a0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .form-section {
    margin-top: 200px; /* Adjust this value as needed */
  }
  .form-section {
    padding: 1.5rem;
    margin: 1rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .form-group label {
    font-size: 1.1rem;
  }

  .btn-submit {
    padding: 1.2rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .form-section {
    margin-top: 200px; /* Adjust this value as needed */
  }
  .form-section {
    padding: 1rem;
    margin: 0.5rem;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1.2rem;
    font-size: 1.2rem;
  }

  .form-group label {
    font-size: 1.2rem;
  }

  .btn-submit {
    padding: 1.5rem;
    font-size: 1.2rem;
  }
}
