* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6; /* Added line spacing */
    color: #2d3748; /* gray-800 for better text contrast */
  }
  
  /* Style the header */
  .header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0; /* gray-200 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem; /* Added padding for spacing */
  }
  
  .header h1 {
    margin: 0;
    font-size: 2rem; /* Larger font for main heading */
    font-weight: bold;
    letter-spacing: 1px; /* Space between letters */
    color: #2b6cb0; /* blue-600 */
  }
  
  .header h2, .header h3 {
    margin: 0.5rem 0; /* Added margin between headings */
    font-size: 1.5rem; /* Adjusted sizes for subheadings */
    color: #4a5568; /* gray-700 */
  }

  /* Section Borders */
#dataForm {
    border-left: 4px solid #319795; /* teal-500 */
    padding-left: 1rem;
  }
  
  #scenarioForm {
    border-left: 4px solid #4299e1; /* blue-500 */
    padding-left: 1rem;
  }
  
  #customTemplateForm {
    border-left: 4px solid #48bb78; /* green-500 */
    padding-left: 1rem;
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: #f2f2f2; 
    padding: 1rem;
    text-align: center;
    margin-top: auto; /* Ensures footer sticks to the bottom */
    font-size: 0.9rem; /* Slightly smaller font */
    letter-spacing: 0.5px;
  }
  
  /* Style the top navigation bar */
  .topnav {
    overflow: hidden;
    background-color: #333;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  }
  
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }

  button {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transition for hover */
    display: inline-block;
    margin: 0.5rem; /* Ensures equal spacing between buttons */
  }
  
  button:hover {
    background-color: #319795; /* teal-600 */
    color: white;
    transform: translateY(-3px); /* Smooth hover effect */
  }
  
  /* Create three unequal columns that float next to each other */
  .column {
    float: left;
    padding: 15px; /* Increased padding for spacing */
    height: 100%; /* Ensure the height is set */
    max-height: 100vh; /* Limit the height to the viewport height */
    overflow-y: auto; /* Enable vertical scrolling */
    
  }
  
  /* Left and right column */
  .column.side {
    width: 25%;
    font-size: 0.9rem; /* Slightly smaller text */
    color: #4a5568; /* gray-700 */
    
  }
  
  /* Middle column */
  .column.middle {
    width: 50%;
    font-size: 1rem; /* Default text size */
    color: #2d3748; /* gray-800 */
  }
  
  /* Headings inside columns */
  .column h2 {
    font-size: 1.8rem; /* Distinguish from body text */
    margin-bottom: 1rem;
    font-weight: bold;
    color: #2b6cb0; /* blue-600 */
  }
  
  .column p {
    margin: 0.5rem 0; /* Space between paragraphs */
  }
  
  /* Clear floats after the columns */
  .row::after {
    content: "";
    display: table;
    clear: both;
  }

  form {
    margin-bottom: 2rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  select, input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e2e8f0; /* gray-200 */
    border-radius: 0.3rem; /* rounded-lg */
    font-size: 1rem;
  }
  
  select:focus, input[type="number"]:focus {
    border-color: #319795; /* teal-500 */
    outline: none;
  }
  
  /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column.middle, .column.side {
      width: 100%;
    }
  }

 /* Wrapper for the entire output to control scrolling */
.scrollable-output {
    display: flex;
    flex-direction: row; /* Items are arranged in a horizontal row */
    gap: 10px; /* Space between columns */
    overflow-x: auto; /* Enables horizontal scrolling */
    padding-bottom: 10px;
    margin-top: 20px;
    max-height: 400px;
  }

  .outputcolumn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: Arial, sans-serif;
    margin-top: 20px;
    max-height: 300px; /* You can adjust this height */
    overflow-y: auto;  /* Enables vertical scrolling if there is too much content */
    width: 100%;
    padding: 10px;
  }
  
  .customtable {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: Arial, sans-serif;
    margin-top: 20px;
    max-height: 300px; /* You can adjust this height */
    overflow-y: auto; /* Enables vertical scrolling if there is too much content */
    width: 100%;
    padding: 10px;
  }
  
  /* Each "column" or item inside the scrollable output */
  .output-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px; /* Set the width of each "column" */
    height: 40px; /* Set the height for each "row" */
    padding: 5px;
    border: 1px solid #ddd; /* Border to make it look like a table cell */
    background-color: #f9f9f9;
    text-align: center; /* Center text */
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  /* Style for a "header row" if needed (optional) */
  .output-header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    height: 40px;
    padding: 5px;
    border: 1px solid #ddd;
    background-color: #f1f1f1;
    font-weight: bold;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  /* Add a wrapper for the entire table-like structure */
  .table-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
  }
  
  /* Styling the generated data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  /* Table header styling */
  .data-table th {
    background-color: #f1f1f1;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
  }
  
  /* Table cell styling */
  .data-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    background-color: #fff;
  }
  
  /* Row styling for alternating colors */
  .data-table tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  /* Row styling for hover effect */
  .data-table tr:hover {
    background-color: #e0e0e0;
  }
  .custom-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjust columns to fit the available space */
    gap: 10px; /* Space between checkboxes */
    margin: 10px 0; /* Optional: Add margin to separate from other content */
  }
  
  .custom-checkbox-grid label {
    display: flex;
    align-items: center;
    font-size: 14px; /* Adjust font size to save space */
    line-height: 1.5; /* Improve readability */
  }
  
  .custom-checkbox-grid input[type="checkbox"] {
    margin-right: 8px; /* Space between the checkbox and label */
  }
  
  /* Adjustments for smaller screens */
  @media (max-width: 600px) {
    label {
      font-size: 14px; /* Adjust label font size */
    }
  
    select {
      font-size: 14px; /* Make dropdown text smaller on small screens */
      padding: 12px; /* Increase padding for touch-friendly interaction */
    }
  
    form {
      padding: 15px; /* Add more padding to ensure space around elements */
    }
  }


/* Hero Section */


#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Steps Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

/* User Types Section */
.user-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.user-type {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: calc(33.333% - 20px);
  min-width: 300px;
}

.user-type h3 {
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
/* Quick Links Section */


#quick-links p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
  
}

.links a {
  display: block;
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 15px; /* Adds space between links */
}


.links a:hover {
  color: #f9f9f9;
}

.tooltip {
  display: none;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 4px;
  font-size: 0.9em;
  z-index: 1000;
}

#2 a {
  text-decoration: underline;
  transition: color 0.3s, text-decoration-color 0.3s;
}

#2 a:hover {
  color: #007BFF; /* Change to desired hover color */
  text-decoration-color: #007BFF; /* Adjust underline color on hover */
}

  .table-container {
    overflow-x: auto; 
    white-space: nowrap; 
    max-width: 100%;
  }
  table {
    width: 100%; 
    border-collapse: collapse;
  }
  th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }