/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f7f6;
  color: #333;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
#hero-section {
  min-height: 35vh;
  background: linear-gradient(to right, #ff7e5f, #feb47b); /* Gradient for energy */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center; /* Center align header */
}

p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #3498db; /* Blue for trust */
  padding: 15px 30px;
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: #2980b9;
}

/* Section Styling */
section {
  padding: 60px 20px;
  text-align: center;
  background: white;
}

section p {
  max-width: 800px;
  margin: 20px auto;
}

.section-first {
  min-height: 65vh; /* Ensures the section has a minimum height */
  display: flex; /* Enables flexbox */
  flex-direction: column; /* Aligns children in a column layout */
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
  text-align: center; /* Optional: aligns text inside the paragraphs horizontally */
}


h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

ol, ul {
  font-size: 1.125rem;
  color: #555;
  list-style-position: inside;
  margin: 0 auto;
  max-width: 800px;
  padding-left: 0;
}

ol li, ul li {
  margin-bottom: 10px;
}

strong {
  font-weight: bold;
}

.bg-light {
  background: linear-gradient(to right, #ffe0e0, #fff2cc);
}

#how-it-works {
  background: linear-gradient(to right, #ffe0e0, #fff2cc);
}

/* Results Section */
#results-timing {
  background-color: #f9f9f9; /* Light gray for contrast */
}

#share {
  background-color: #fff; /* White for clarity */
  display: flex;
  flex-wrap: wrap; /* Allows the buttons to wrap to the next line */
  justify-content: center; /* Center buttons horizontally */
  gap: 10px; /* Adds tight space between buttons */
}

#share .heading {
  min-width: 100%;
  padding-bottom: 10px;
}

#share h2 {
  min-width: 100%;
}

#share .cta-button {
  margin-right: 10px;
}

footer {
  padding: 100px 20px;
  margin: 3px 0 20px 0;
  text-align: center;
  background: linear-gradient(to top, #ffe0e0,rgb(253, 248, 232));
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    width: 100%;
    margin: 0 auto;
    padding: 0px;
  }

  #hero-section {
    height: auto;
    padding: 40px 20px;
  }

  #hero-section h1 {
    font-size: 2.5rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }

  section {
    padding: 40px 20px;
  }

  ul, ol {
    font-size: 1rem;
  }
}

/* Why to Join */
#why-join {
  min-height: 65vh;
  padding: 40px 20px;
}

#why-join h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

#why-join h3 {
  font-size: 1.75rem;
  color: #ff7e5f; /* Accent color for subheadings */
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

#why-join p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#why-join ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr)); /* Responsive grid layout */
  gap: 20px;
  margin: 0;
  padding: 30px;
  list-style: none;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#why-join ul li {
  background-color: #fff;
  padding: 20px;
  margin: 5px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Card-style design */
  font-size: 1.1rem;
  color: #333;
  position: relative;
  transition: all 0.3s ease-in-out;
}

#why-join ul li:hover {
  background-color: #f3f3f3; /* Light hover effect */
  transform: translateY(-5px);
}

#why-join ul li strong {
  color: #ff7e5f; /* Accent color for key points */
}

#why-join ul li::before {
  content: "✔"; /* Add a check mark icon before each list item */
  color: #ff7e5f;
  font-size: 1.5rem;
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
}

#why-join p strong {
  font-weight: 700;
  color: #ff7e5f; /* Highlighting key sentences */
}

#why-join h3 + p {
  margin-top: 20px; /* Spacing for paragraphs after subheadings */
}

/* Responsive Adjustments for 1-column layout */
@media (max-width: 768px) {
  #why-join ul {
      grid-template-columns: 1fr; /* Switch to 1 column on smaller screens */
      gap: 10px;
      padding: 10px 0;
  }

  #why-join ul li {
    margin-left: 40px;
  }
}


/* Scoped Signup Page Styles */
/* Scoped Signup Page Styles */
.signup-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.signup-page header {
  height: 35vh; /* Set height of header */
  background: linear-gradient(to right, #ff7e5f, #feb47b); /* Gradient background */
  color: white; /* Text color inside header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.signup-page header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}


.signup-page section#form-section {
  min-height: 65vh;
}

.signup-page section {
  background-color: #fff;
  padding: 30px;
}

.signup-page section p {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 25px;
  color: #555;
}

/* Form Styling */
.signup-page .signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-page .form-group {
  display: flex;
  flex-direction: column;
}

.signup-page label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
}

.signup-page .input-field {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.signup-page .input-field:focus {
  border-color: #ff7e5f;
  outline: none;
}

/* Button */
.signup-page .cta-button {
  background-color: #3498db;
  padding: 15px 25px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.signup-page .cta-button:hover {
  background-color: #2980b9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

  .signup-page header h1 {
    font-size: 2.5rem;
  }

  .signup-page .cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .signup-page section {
    padding: 20px;
  }

  .signup-page .input-field {
    font-size: 1rem;
    padding: 10px;
  }
}



/* Scoped Quiz Page Styles */
#quiz-page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#quiz-page header {
  min-height: 35vh; /* Set height of header */
  padding: 40px 20px;
  background: linear-gradient(to right, #ff7e5f, #feb47b); /* Gradient background */
  color: white; /* Text color inside header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#quiz-page header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

#quiz-page header p {
  font-size: 1.2rem;
  margin: 0;
}

#quiz-page .cta-button {
  margin auto;
}


  /* General Styles */
#quiz-page form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center all form elements horizontally */
  background: white;
  padding: 20px;
  box-sizing: border-box;
}

/* Style for the quiz list */
#quiz-page li {
  font-size: 1.4rem;
  margin: 50px 10px;
  width: 100%; /* Ensure each item takes up full width */
}

/* Style for the radio group */
.radio-group {
  display: flex;
  justify-content: center; /* Center the radio buttons */
  gap: 15px; /* Space between the radio buttons */
  margin-top: 20px; /* Space between the label and radio buttons */
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.radio-group label {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  font-size: 1rem; /* Set a readable font size */
  text-align: center;
}

.radio-group input[type="radio"] {
  margin-top: 5px;
  margin-bottom: 10px; /* Space below the radio button */
}

/* Responsive Styles */
@media (max-width: 768px) {
  #quiz-page li {
    font-size: 1.2rem; /* Slightly smaller font size for mobile */
  }

  .radio-group {
    gap: 30px; /* Reduced gap between radio buttons */
    margin-top: 15px;
  }

  .radio-group label {
    font-size: 0.9rem; /* Reduce font size of labels */
    text-align: center;
  }
}


#quiz-page .cta-button {
  margin-top: 40px; /* Adds space between the last radio group and the button */
  margin-bottom: 180px;
}


#privacy-policy {
  min-height: 65vh; /* Ensure the section has a minimum height */
  display: flex; /* Enables flexbox */
  flex-direction: column; /* Aligns children in a column layout */
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
  text-align: center; /* Optional: aligns text inside the paragraphs horizontally */
}
