.button-link {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    background-color: #d6faff;
    color: black;
    font-weight: bold;
    font-size: large;
    text-align: center;
    flex: 1; /* Makes buttons grow equally */
    max-width: 150px;
}

.button-link:hover {
    background-color: #62edff;
}

/* Global styles */

body {
  font-family: 'Nunito', 'Arial Rounded MT Bold', sans-serif;
  background: linear-gradient(135deg, #4a90e2, #8e44ad);
  margin: 0;
  padding: 0;
  color: #333;
  /* Removed flex display that was centering everything */
  min-height: 100vh;
}

/* Page wrapper to organize layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Banner/header styles */
.banner {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px 0; /* Reduced padding to make header smaller */
  position: relative; /* Not fixed anymore */
  width: 100%;
  z-index: 100;
}

.banner h1 {
  margin: 0; /* Remove default h1 margins */
  padding: 4px 0; /* Add small padding if needed for spacing */
}

.banner p,
.banner div {
  margin: 4px 0;
}

header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #ff7b00, #ff0080, #00e1ff);
}

/* Main content area */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  padding: 20px;
  /* margin-top: 20px; Add space below header */
  width: 100%; /* Ensure it takes full width */
}

/* Container stays mostly the same */
.container {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 40px;
  width: 60%;
  max-width: 800px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto; /* Ensures horizontal centering */
  margin-top: 5px; /* Increased spacing below header */
}

/* Rest of your CSS remains the same */
.container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to right, #ff7b00, #ff0080, #00e1ff);
}

h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #333;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ff7b00, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
  
  /* Add a cartoon-style outline to the heading */
h1:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 8px white;
}
  
#intro_text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #555;
}
  
  /* Style for buttons */
.btn {
    background-color: #ffcc00;
    color: #333;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: #ffd700;
}

.btn:active {
    transform: translateY(0);
}
  
  /* Add a cool shine effect to the button */
.btn:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}
  
.btn:hover:before {
    left: 120%;
    top: 120%;
}

form {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    width: 100%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    margin: auto;
    box-sizing: border-box;
}
  
  /* Colorful top border for form */

  
  h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ff7b00, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #555;
    text-align: center;
  }
  
  /* Form field containers */
  form div {
    margin-bottom: 12px;
  }
  
  /* Labels */
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
  }
  
  /* Form inputs */
  input[type="number"],
  select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border 0.3s ease;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
  }
  
  input[type="number"]:focus,
  select:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  }
  
  /* Radio buttons styling */
  fieldset {
    border: none;
    padding: 0;
    margin: 0 0 25px 0;
  }
  
  legend {
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
  }
  
  #id_language {
    display: flex;
    gap: 30px;
  }
  
  #id_language div {
    margin-bottom: 0;
  }
  
  #id_language label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
  }
  
  input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #4a90e2;
    width: 18px;
    height: 18px;
  }
  
  /* Submit button */
  #id_submit_button {
    background-color: #ffcc00;
    color: #333;
    border: none;
    padding: 14px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
  }
  
  #id_submit_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: #ffd700;
  }
  
  #id_submit_button:active {
    transform: translateY(0);
  }
  
  /* Shine effect on submit button */
  #id_submit_button:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
  }
  
  #id_submit_button:hover:before {
    left: 120%;
    top: 120%;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    form {
      width: 90%;
      padding: 30px;
    }
    
    h2 {
      font-size: 1.8rem;
    }
    
    #id_language {
      flex-direction: column;
      gap: 10px;
    }
  }

  ul {
    text-align: left; /* Aligns the text to the left */
    padding-left: 25px; /* Gives some space for the bullets */
    list-style-position: outside; /* Ensures bullets are outside the text block */
    width: 90%; /* Controls the width of the list */
    margin: 0 auto; /* Centers the list container itself */
    max-width: 600px; /* Maximum width for the list */
  }
  
  li {
    margin-bottom: 8px; /* Space between list items */
    line-height: 1.4; /* Comfortable line height */
  }