/* Base styles */
body {
  font-family: Arial, sans-serif;
  background: white;
  color: #333;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

h2 {
    font-size: 1.8em;
}

.container {
  max-width: 1000px !important;
  margin: 10px auto;
  padding: 20px;
}

media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--pcolor);
    color: white;
    padding: 12px 25px;
    font-size: 1.25rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Question styling */
#questionForm {
    background: var(--pcolorneutral);
    padding: 20px;
    border-radius: 25px;
}

.question {
  margin-bottom: 25px;
}

.question label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.question label.title {
  font-size: 1.45rem;
}

/* Options as button-like elements */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.options input[type="radio"],
.options input[type="checkbox"] {
  display: none;
}

.options label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: calc(50% - 10px);
  box-sizing: border-box;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* For larger screens, make it 3 columns */
@media (min-width: 768px) {
  .options label {
    width: calc(33.333% - 10px);
    min-width: 180px;
  }
}

.options label {
  border: 3px solid var(--n2color);
  word-wrap: break-word;
  hyphens: auto;
}

.options label img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.options label:hover img {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 5px 15px var(--ncolor));
}

.options input[type="radio"]:checked + label,
.options input[type="checkbox"]:checked + label {
  background-color: var(--pcolor);
  border-color: var(--pcolor);
  color: white;
}

.options label:hover {
  border-color: var(--pcolordark);
}

input[type="text"],
textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Button styling */
button {
  background-image: linear-gradient(to right, var(--pcolor) 0%, var(--pcolor) 70%, var(--pcolordark) 100%);
  transition: all 0.3s ease;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 700;
}

button:hover {
   background-color: linear-gradient(to right, var(--pcolordark) 0%, var(--pcolordark) 100%);
   transform: translateY(-2px);
}

p {
  line-height: 1.6;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-buttons {
  margin-top: 30px;
  text-align: center;
}

.step-buttons button {
    width: 300px;
    max-width: 49%;
    font-size: 1rem;
}

.prevBtn {
    background: var(--n2color);
}

.prevBtn:hover {
    background-color: var(--n3color);
    background-image: none;
}

/* Progress bar styles */
.progress-container {
    width: 100%;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 10px;
    width: 0%;
    background-color: var(--pcolor);
    transition: width 0.3s ease;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.breadcrumb a {
    color: var(--pcolor);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* faq */
.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.faq-section h2 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--n2color);
}

.faq-question {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.faq-answer {
    line-height: 1.5;
}

/* cta */
.cta {
    background: var(--pcolordark);
    text-align: center;
    color: white;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.cta-btn {
    background-color: white;
    background-image: none;
    display: inline-block;
    color: var(--pcolordark);
    border-radius: 9999px;
    text-decoration: none;
    padding: .75rem 2rem;
    font-weight: 600;
}

.cta-btn:hover {
    background-color: white;
}

button.white-cta{
    background-color: white;
    color: var(--pcolordark);
    background-image: none;
}

button.white-btn:hover {
    background-image: none;
}

/* Comparison CTA Button */

.comparison-cta {
    margin-top: 20px;
    text-align: center;
    padding: 0 15px;
}

.comparison-cta-button {
    background-image: linear-gradient(to right, var(--pcolor) 0%, var(--pcolor) 70%, var(--pcolordark) 100%);
    transition: all 0.3s ease;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 280px;
}

.comparison-cta-button:hover {
    background-image: linear-gradient(to right, var(--pcolordark) 0%, var(--pcolordark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.comparison-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .comparison-cta-button {
        font-size: 0.95rem;
        padding: 10px 18px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .comparison-cta-button {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

/* testimonial */
.testimonials-section {
    max-width: 1000px;
    margin: 3rem auto;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; /* Fixed height to keep all cards same size */
    text-align: left;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.testimonial-footer {
    margin-top: auto;
    text-align: right;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-verified {
    font-size: 0.75rem;
    color: #666;
    filter: saturate(0);
    opacity: 0.5;
    text-transform: uppercase;
    font-weight: 500;
}

/* Tablet responsive - show 2 testimonials per row */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .testimonial-card {
        min-height: 140px;
        padding: 1.5rem;
    }
}

/* Mobile responsive - show 1 testimonial per row (all 4 stacked) */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .testimonial-card {
        min-height: 100px;
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }
}

/* Legal */
.contact-info {
    background: var(--pcolorneutral);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}