/* Add this at the top of your CSS file */
:root {
  color-scheme: light !important;
}

body, .quiz-container, .quiz-step {
  color-scheme: light !important;
  background-color: #ffffff !important;
  color: #000000 !important;
}

.zip-icon {
  background: none
}
 
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}


.hero__content{
    background-color: none !important;
}


  *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Main Container Styles */
.quiz-step {
    background-color: white;
    border-radius: 8px;
    text-align: center;
    height: max-content;

    
}
.hero__content .hero-content-margin {
  margin-bottom: 8rem;
  border-radius: 20px !important;

}

.quiz-container {
    max-width: 450px !important;
    width: 100% !important;
    padding: 0 !important;
    height: auto;
    margin: 0 auto;
    /* padding: 20px; */
    font-family: Arial, sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px !important;
    background-color: #ffffff;

  }

.step-header h1 , .step-header p   {
    font-size: 24px;
    color: white;

  }

.step-header {
  padding: 1rem 1.5rem !important;
  border-radius: 0 !important;
  text-align: center;
  margin-bottom: 20px;
  background-color: rgb(59, 76, 107) !important;
}

  
  /* Header Styles */
  .zip-header {
    width: 100% !important;
    text-align: center;
    padding-left: 0.5rem !important;
    padding-right:  0.5rem !important;
    padding-bottom: 2.5rem !important;
    padding-top: 2rem !important;
    margin-bottom: 20px;
    border-bottom-left-radius: 50% !important;
    border-bottom-right-radius: 50% !important;
    background-color: rgb(59, 76, 107) !important;
  }
  
  .zip-header h1 {

    color: white;
    font-size: 24px;
  }
  
  .quiz-container .header p {
    margin: 10px 0 0;
    color: white;
    font-size: 16px;
  }
  
  /* Step Content Styles */
  .step-contents, .zip-content {
    padding: 20px;
  }
  
  .step-title {
    margin-bottom: 20px;
  }
  
  .step-title h3 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0;
  }
  
  /* Progress Bar Styles */
  .progress-bar-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 0 20px;
  }
  
  .progress-bar-text {
    width: 80px;
  }
  
  .progress-bar-text h3 {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #555;
  }

  .progress-text{
    text-align: center;
  }
  
  .progress-bar-line {
    width: 100%;
    flex-grow: 1;
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    margin: 0 15px;
    overflow: hidden;
  }
  
  .progress-bar {
    height: 100%;
    width: 0;
    background-color: rgb(59, 76, 107) !important;
    transition: width 0.5s ease-in-out !important;
  }
  
  .progress-bar-value {
    width: 50px;
    text-align: right;
  }
  
  .progress-bar-value h3 {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
  }
  
  /* Option Buttons Styles */
  .options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
  }

  .option-btn {
    padding: 15px 25px;
    border: 2px solid #ddd;
    background-color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
  }
  
  .option-btn:hover {
    border-color: rgb(59, 76, 107) !important;
    color: rgb(59, 76, 107) !important;
  }
  
  .option-btn.selected {
    background-color: rgb(59, 76, 107) !important;
    color: white !important;
    border-color: rgb(59, 76, 107) !important;
  }
  
  /* Next Button Styles */
  .next-btn, .go-button {
    width: 100%;
    padding: 1rem;
    background-color: #cccccc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
  }

 .prev-btn {
    width: 100%;
    padding: 1rem;
     background-color: transparent;
  color: rgb(59, 76, 107);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
  }

  .go-button {
    margin-bottom: 25px;
  }


  
  .next-btn:not([disabled]):hover, .go-button:not([disabled]):hover {
    background-color: rgb(59, 76, 107) !important;
  }
  
  .next-btn[disabled], .go-button[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
  }
  
  /* Form Group Styles */
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .form-group input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  
  .form-group input:focus {
    border-color: rgb(59, 76, 107) !important;
    outline: none;
  }
  
  /* Zip Code Specific Styles */
  .zip-input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    /* gap: 1.5rem; */
    padding: 20px;
    max-width: 400px;
  }
  
  .zip-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 100% !important;
  
  }
  
  .zip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
  }
  
  .zip-input {
    flex-grow: 1;
  }
  
  .zip-input input {
    width: 100%;
    padding: 1rem;
    border: none;
    font-size: 16px;
  }
  
  .zip-input input:focus {
    outline: none;
  }
  
  .error-text {
    color: red;
    margin: 5px 0;
    font-size: 14px;
    visibility: hidden;
  }
  
  /* Animation Classes */
  .fade-in {
    animation: fadeIn 0.5s;
  }
  
  .fade-out {
    animation: fadeOut 0.5s;
  }

  .option-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .option-btn img{
    width: 60px;
    height: 60px;
  }

  .option-item{
    max-width: 100%;
  }

  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  /* Responsive Styles */
  @media (max-width: 576px) {
    .options {
      grid-template-columns: 1fr;
      justify-content: center;
    }
     #i7cns {
      grid-template-columns: 1fr 1fr;
      justify-content: center;
      align-items: center
    }

.step-header h1 , .step-header p   {
    font-size: 20px;
    color: white;

  }

.step-header {
  padding: 0.6rem 1rem !important;
}

    }



    .option-item{
      width: 100%;
    }
    
    .option-btn {
      width: 100%;
    }
    
    /* Remove the flex-direction change for progress bar container */
    .progress-bar-text, .progress-bar-value {
      
      width: auto; /* Change from 100% to auto */
      min-width: 80px; /* Add minimum width to ensure text fits */
    }
    
    .progress-bar-line {
      flex-grow: 1;
      margin: 0 10px; /* Adjust margins for better mobile spacing */
    }
  }

  .progress-bar-text{ text-align: center;}

  
.zip-content-header {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}
.step-title{
  font-weight: 600;
}



.zip-header, .step-header {
  border-top-right-radius: 20px !important;
  border-top-left-radius: 20px !important;
}

.quiz-step {
border-radius: 20px !important;
}

#nextBtn4, #nextBtn5, #prevBtn4, #prevBtn5 {
  margin-top: 20px !important;
}

@media(max-width: 1200px) {
  .quiz-container {
    margin-bottom: 50px;
  }
}

@media(max-width: 576px){
  .zip-header{
  padding-left: 0.6rem !important;
    padding-right:  0.6rem !important;
    padding-bottom: 2rem !important;
    padding-top: 1rem !important;
margin-bottom: 10px !important
}
}


.error-message{
  color: red !important;
  font-size: 14px;
  visibility: hidden;
  margin-bottom: 15px
}

  /* Button Group Styles */
.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}


.prev-btn img {
  width: 100%;
}