 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: Arial, sans-serif;
 }

 p {
   margin: 0;
   padding: 0;
   font-size: 16px;
   line-height: 1.5;
 }


 .p1 {
   font-size: 16px;
   font-family: Arial, sans-serif;
   line-height: 1.5;
   color: #fff;
 }

 h2 {
   color: #fff;
   font-size: 24px;
   font-family: Arial, sans-serif;
   padding: 0;
   max-width: 100%;
   top: 100px;
   margin: auto;
 }

  h3 {
   color: #000000;
   font-size: 18px;
   font-family: Arial, sans-serif;
   padding: 0;
   max-width: 100%;
   top: 100px;
   margin: auto;
 }

 header {
   background-color: #45005a;
   font-family: Arial, sans-serif;
   color: #fff;
   padding: .5rem;
   text-align: center;
   position: fixed;
   width: 100%;
   left: 0;
   z-index: 1000;
   height: 65px;
   display: flex;
   align-items: center;
 }

 footer {
   background-color: #45005a;
   font-family: Arial, sans-serif;
   color: #fff;
   padding: .5rem;
   text-align: center;
   position: fixed;
   width: 100%;
   left: 0;
   z-index: 1000;
   height: 75px;
 }

 header {
   top: 0;
 }

 footer {
   bottom: 0;
 }

 .button {
   display: inline-block;
   background-color: #45005a;
   color: white;
   border: none;
   width: 200px;
   padding: 10px 20px;
   border-radius: 5px;
   cursor: pointer;
   font-size: 16px;
   margin-top: 10px;
   text-align: center;
   text-decoration: none;
   transition: background-color 0.3s ease;
 }

 .button:hover {
   background-color: #636363;
 }

 .button-sec {
   display: inline-block;
   background-color: #636363;
   color: white;
   border: none;
   width: 200px;
   padding: 10px 20px;
   border-radius: 5px;
   cursor: pointer;
   font-size: 16px;
   margin-top: 10px;
   text-align: center;
   text-decoration: none;
   transition: background-color 0.3s ease;
 }

 .button-sec:hover {
   background-color: #45005a;
 }


 body {
   background-color: #C8C8C8E8;
   /*display: flex;
   justify-content: center;
   align-items: center;*/
 }

 .container {
   margin-top: 75px;
   margin-bottom: 75px;
   width: 100%;
   padding: 15px;
   padding-bottom: 75px;
   box-sizing: border-box;
   /*text-align: left;*/
    
 }

 .form-container {
   display: flex;
   margin-top: 75px;
   padding: 15px;
   padding-bottom: 90px;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   width: 100%;
 }

 /* Container UL styling */
.lap-questions {
    list-style: none;       /* remove default bullets */
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
}

.lap-questions li {
    padding: 8px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Number before question */
.lap-questions .q-num {
    font-weight: bold;
    margin-right: 8px;
}

/* Question text */
.lap-questions .q-text {
    flex: 1;
    margin-right: 8px;
}

/* Default response styling */
.lap-questions .q-response {
    font-weight: bold;
    text-transform: capitalize;
}

/* Yes response in bold red */
.lap-questions .response-yes .q-response {
    color: red;
}

/* No response in muted gray */
.lap-questions .response-no .q-response {
    color: #777;
}



 @media (min-width: 768px) {
   body {
     max-width: 75%;
     margin: 0 auto;
   }

   .form-control.subject-select {
     width: 100%;
     /* Full width for mobile */
   }

   .button-container {
     align-items: stretch;
     /* Make buttons fill container width */
   }

   .form-inline {
     gap: 10px;
   }
 }

 table.info-table {
   width: 100%;
   border-collapse: collapse;
   background-color: #f2f2f2;
   padding: 90px;
   border-bottom: 50px;
 }

 table.info-table th,
 table.info-table td {
   padding: 10px;
   border: 1px solid black;
   text-align: left;
 }

 table.info-table th {
   width: 30%;
 }

 table.info-table td {
   width: 70%;
 }

/* wrapper enables horizontal scroll on small screens */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* proper table layout */
table.recd-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;          /* or fixed + explicit widths per column */
  background-color: rgba(228,228,228,0.911);
  margin: 0;
}

/* cells */
table.recd-table th,
table.recd-table td {
  padding: 10px;
  border: 1px solid black;
  text-align: left;
  white-space: nowrap;         /* keep phone/short labels on one line */
}

 input,
 select,
 textarea {
   color: black;
   background-color: #ffffff71;
   border: 1px solid darkgray;
   border-radius: 5px;
   align-items: center;
   display: flex;
   width: 100%;
   padding: 10px;
   margin: 5px 0;
   box-sizing: border-box;
   font-size: 18px;
   -webkit-text-size-adjust: 100%;

 }

 /* Button styles */
 .btn-primary {
   display: inline-block;
   align-items: center;
   font-family: inherit;
   cursor: pointer;
   font-weight: 500;
   font-size: 17px;
   width: 225px;
   padding: 0.8em 1.5em 0.8em 1.2em;
   color: white;
   background: #7a36c7;
   background: linear-gradient(0deg,
       #7a36c7 0%,
       #45005a 100%);
   border: none;
   box-shadow: 0 0.7em 1.5em -0.5em #231039;
   letter-spacing: 0.05em;
   border-radius: 20em;
 }

 .btn-primary svg {
   margin-right: 8px;
 }

 .btn-primary:hover {
   box-shadow: 0 0.5em 1.5em -0.5em #363ed0be;
 }

 .btn-primary:active {
   box-shadow: 0 0.3em 1em -0.5em #3640d0be;
 }

 .btn-secondary {
   display: inline-block;
   align-items: center;
   font-family: inherit;
   cursor: pointer;
   font-weight: 500;
   font-size: 17px;
   padding: 0.8em 1.5em 0.8em 1.2em;
   width: 225px;
   color: white;
   background: #8953ad;
   background: linear-gradient(0deg,
       #343434be 0%,
       #c2c2c2be 100%);
   border: none;
   box-shadow: 0 0.7em 1.5em -0.5em #7c7c7cbe;
   letter-spacing: 0.05em;
   border-radius: 20em;
 }

 .btn-secondary svg {
   margin-right: 8px;
 }

 .btn-secondary:hover {
   background: linear-gradient(0deg,
       #7a36c7 0%,
       #600ebd 100%);
   box-shadow: 0 0.5em 1.5em -0.5em #363ed0be;
 }

 .btn-secondary:active {
   box-shadow: 0 0.3em 1em -0.5em #3640d0be;
 }

 .btn-danger {
   display: inline-block;
   align-items: center;
   font-family: inherit;
   cursor: pointer;
   font-weight: 500;
   font-size: 17px;
   width: 225px;
   padding: 0.8em 1.5em 0.8em 1.2em;
   color: white;
   background: #ad5353;
   background: linear-gradient(0deg,
       rgb(245, 8, 8) 0%,
       rgb(171, 43, 43) 100%);
   border: none;
   box-shadow: 0 0.7em 1.5em -0.5em #d03636be;
   letter-spacing: 0.05em;
   border-radius: 20em;
 }

 .btn-danger svg {
   margin-right: 8px;
 }

 .btn-danger:hover {
   box-shadow: 0 0.5em 1.5em -0.5em #d03636be;
 }

 .btn-danger:active {
   box-shadow: 0 0.3em 1em -0.5em #d03636be;
 }

 .form-group {
   align-items: flex-start;
   flex-direction: column;
   margin-bottom: 15px;
 }

 .form-group label {
   display: block;
   margin-bottom: 8px;
 }

 .form-label {
   margin-right: 30px;
   margin-bottom: 10px;
 }

 .form-input {
   width: 100%;
 }

 /* Flex container for the form */
 .form-inline {
   display: flex;
   flex-wrap: wrap;
   /* Allow wrapping on smaller screens */
   gap: 10px;
   /* Add space between inputs */
   align-items: center;
   /* Aligns items vertically */
 }

 /* Style for individual columns */
 .form-inline .col {
   flex: 1;
   /* Make each input take an equal portion of the available space */
   min-width: 200px;
   /* Set a minimum width to avoid collapsing */
 }

 /* Optional: Form control styling for uniform appearance */
 .form-control {
   padding: 10px;
   /* Add padding inside the inputs */
   box-sizing: border-box;
   /* Include padding in width calculation */
 }

 /* Additional styles for customization */
 .form-control.subject-select {
   width: 50%;
   /* Make the dropdown narrower */
 }

 .form-control.message-textarea {
   width: 100%;
   /* Full width for textarea */
   height: 150px;
   /* Increase height for better message input */
   overflow: scroll;
 }

 .button-container {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   /* Space between buttons */
   justify-content: flex-start;
   /* Align buttons to the start */
   margin-top: 20px;
 }

 .button-container .btn {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   /* Space between buttons */
   justify-content: flex-start;
   /* Align buttons to the start */
   margin-top: 20px;
 }