  @import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

  /* Base Styles */
  body {
      /* font-family: 'Arial', sans-serif; */
      font-family: "Roboto Condensed", sans-serif;
            background-color: #112349;

  }
   .calculator-section{
            /* background-color: #112349; */
            color: #fff;
             margin: 0;
      padding: 20px;
      line-height: 1.6;
        }

  /* start  */
  .form-step {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      position: relative;
      text-align: center;
  }

  .form-content-wrapper {
      /* max-width: 400px; */
      width: 100%;
  }

  .form-image {
      width: 80px;
      height:80px;
      /* object-fit: cover; */
      /* border-radius: 50%; */
      margin: 0 auto 20px;
      display: block;
      /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  }

  .watercraft-image {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 50%;
      margin: 0 auto 7px;
      display: block;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .form-question {
      font-size: 1.5rem;
      font-weight: 300;
      margin-bottom: 20px;
  }

  .form-group input {
      width: 40%;
      padding: 10px;
      font-size: 1rem;
      text-align: center;
      border: 1px solid #2c3e50;
      border-radius: 20px;
      font-size: 16px;
  }


  .location-info {
      display: block;
      margin-top: 10px;
      font-size: 0.9rem;
      color: #666;
  }

  .button-group {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 20px;
  }

  /* "Next" button positioned bottom right */

  /* DRIVERS  */
  .fixed-navigation {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
  }

  .form-group {
      text-align: center;
  }

  /* ends  */
  /* Add these styles to your existing CSS */
  .location-info {
      display: block;
      margin-top: 8px;
      font-size: 14px;
      min-height: 20px;
  }

  .button-group {
      display: flex;
      gap: 10px;
      margin-top: 20px;
  }

  .search-btn {
      background: #F27E3A;
      padding: 12px 25px;
  }

  .search-btn:hover {
      background: #EDF7FE;
      color: black;
  }

  .next-btn[disabled] {
      background: #cccccc;
      cursor: not-allowed;
  }

  .calculator-container {
      max-width: 800px;
      margin: 0 auto;
      /* background: white; */
      padding: 30px;
      border-radius: 10px;
      /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
  }

  /* PROGRESS BAR  */
  .progress-bar {
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
      position: relative;
      overflow-x: auto;
      padding: 10px;
      gap: 10px;
      scrollbar-width: none;

  }

  .progress-bar::-webkit-scrollbar {
      display: none;
  }

  .progress-step {
      flex: 0 0 auto;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #e0e0e0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      position: relative;
  }

  .progress-step {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 2;
      color: #666;
      font-weight: bold;
      font-size: 14px;
  }

  .progress-bar::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 15px;
      right: 15px;
      height: 2px;
      background: #e0e0e0;
      z-index: 1;
      transform: translateY(-50%);
  }

  .progress-step.active {
      background-color: #F27E3A;
      color: #fff;
  }

  /* Form Steps */
  .form-step {
      display: none;
  }

  .form-step.active {
      display: block;
  }

  #drivers-container p{
    margin-bottom: 0px;
    margin-top: 0px;
  }

  h2,
  h3 {
      color: #fff;
      margin-bottom: 20px;
  }

  /* Form Groups */
  .form-group {
      margin-bottom: 5px;
  }

  .form-group label {
      display: block;
      margin-bottom: 8px;
      font-size: 1.5rem;
      font-weight: 300;
  }

  .question-heading {
      font-size: 1.5rem;
      font-weight: 300;
  }

  /* .form-group input[type="text"],
  .form-group input[type="number"],
  .form-group select {
      width: 50%;
      padding: 12px;
      border: 1px solid #2c3e50;
      border-radius: 20px;
      font-size: 16px;
  } */

  /* Radio Groups */
  .radio-group {
      margin-bottom: 30px;
  }

  .radio-group h3 {
      margin-bottom: 10px;
  }

  .radio-group p {
      margin-bottom: 15px;
      color: #fff;
  }

  .radio-group label {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      cursor: pointer;
      font-weight: normal;
  }

  .radio-group input[type="radio"] {
      margin-right: 10px;
  }

  /* Toggle Buttons */
  .toggle-buttons {
      display: flex;
      margin-top: 10px;
      justify-content: center;
  }

  .toggle-btn {
      padding: 10px 20px;
      background: #757575;
      border: none;
      cursor: pointer;
      margin-right: 5px;
      border-radius: 20px;
  }

  .toggle-btn.active {
      background: #F27E3A;
      color: white;
  }

  /* Watercraft Section */
  .watercraft-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
  }

  .watercraft-item {
      border: 1px solid #ddd;
      padding: 15px;
      border-radius: 5px;
  }

  .watercraft-item h3 {
      margin-top: 0;
      margin-bottom: 5px;
      font-size: 16px;
  }

  .watercraft-item p {
      margin: -5px 0;
      color: #A0A0A0;
  }

  /* Buttons */
  button {
      padding: 12px 25px;
      background: #4CAF50;
      color: white;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      font-size: 16px;
      margin-right: 10px;
      transition: background 0.3s;
  }

  button:hover {
      background: #EDF7FE;
      color: black;
  }

  .prev-btn {
      background: #757575;

  }

  .prev-btn:hover {
      background: #EDF7FE;
      color: black;
  }



  /* Driver History Section */
  .driver-history {
      margin-bottom: 20px;
      padding: 15px;
      border: 1px solid #eee;
      border-radius: 5px;
  }

  .driver-history h3 {
      margin-top: 0;
      font-size: 16px;
  }

  /* Responsive */
  @media (max-width: 768px) {
      .watercraft-container {
          grid-template-columns: 1fr;
      }

      .calculator-container {
          padding: 20px;
      }
  }

  /* INPUT BOX AND PLUS MINUS DESIGN  */
  .number-input {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 10px;
  }

  .number-input button {
      padding: 8px 15px;
      font-size: 1rem;
      border: none;
      border-radius: 6px;
      background-color: #4CAF50;
      color: white;
      cursor: pointer;
  }

  /* .number-input button:hover {
      background: #347e38;
  } */

  .number-input input {
      flex: 1;
      text-align: center;
      margin: 0 5px;
      height: 40px;
  }

  .number-input input[type="number"] {
      width: 60px;
      height: 10px;
      text-align: center;
      font-size: 1rem;
      border: 1px solid #cccccc00;
      border-radius: 6px;
  }

  /* dynamic fields  */
  #drivers-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 20px;
      justify-content: center;
  }

  @media (max-width: 768px) {
      #drivers-container {
          grid-template-columns: 1fr;
          /* 1 column on smaller screens */
      }
      .form-group input {
      width: 100%;
      
  }
  }

  .bottom-buttons {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
      z-index: 10;
  }

  @media (max-width: 768px) {
      .bottom-buttons {
          position: static;
          /* remove fixed positioning */
          margin-top: 30px;
          justify-content: center;
          flex-wrap: wrap;
          padding: 10px;
      }

      .prev-btn,
      .next-btn,
      .submit-btn {
          flex: 1 1 100%;
          max-width: 100%;
          font-size: 16px;
      }
  }

  .fixed-next {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background-color: #00796b;
      color: #fff;
      padding: 10px 20px;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      z-index: 999;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .prev-btn,
  .next-btn {
      padding: 10px 20px;
      font-size: 1rem;
      border: none;
      background-color: #F27E3A;
      color: #fff;
      border-radius: 20px;
      cursor: pointer;
  }

  .prev-btn:disabled,
  .next-btn:disabled {
      background-color: #aaa;
      cursor: not-allowed;
  }

  .radio-container {
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
      text-align: left;
  }

  .radio-group {
      flex: 1 1 300px;
      max-width: 400px;
      padding: 30px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background-color: #05112B;
  }

  .radio-group h3 {
      font-size: 1.1rem;
      margin-bottom: 8px;
  }

  .radio-group {
      margin-bottom: 1.5rem;
  }

  .radio-group label {
      display: flex;
      align-items: center;
      gap: 8px;
      /* small space between radio and text */
      margin-bottom: 0.5rem;
      font-size: 1rem;
      cursor: pointer;
      justify-content: flex-start;
      /* ensures items stay on the left */
  }

  .radio-group input[type="radio"] {
      margin: 0;
      /* removes default spacing */
  }

  .nonprofit-group {
      flex: 1 1 300px;
      padding: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      background-color: #f9f9f9;
  }

  .nonprofit-group label {
      display: flex;
      align-items: center;
      margin-bottom: 0.5rem;
      font-size: 1rem;
      cursor: pointer;
      justify-content: flex-start;
  }

   .container-radios{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        gap: 25px;
    }

  .number-input {
      align-items: center;
      justify-content: space-between;
      background-color: #476CFF;
      border-radius: 999px;
      padding: 0.2rem 1rem;
      /* padding: 0.5rem 1rem; */
      width: 200px;
      color: #fff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .number-input button {
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
      width: 40px;
      height: 30px;
      line-height: 20px;
      text-align: center;
  }

  .number-input input {
      background: none;
      border: none;
      color: #fff;
      font-size: 1.25rem;
      text-align: center;
      width: 50px;
      pointer-events: none;
  }

  .card-header {
      margin: 30px 0 10px;
      font-size: 1.3rem;
  }

  .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 20px;
      margin-top: 20px;
  }

  .info-card {
      background: #05112B;
      border-radius: 16px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      padding: 16px;
      text-align: center;
      transition: transform 0.3s;
  }

  .info-card:hover {
      transform: translateY(-4px);
      background: #476CFF;
  }

  .card-image img {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
  }

  .card-content h5 {
      margin: 0;
      font-size: 1rem;
      font-weight: 600;
  }

  .card-content p {
      margin: 4px 0 0;
      font-size: 0.85rem;
      color: #ccc;
  }

  .coverage-price {
      font-size: 35px;
      font-weight: 800;
      margin-top: -10px;
      margin-bottom: -10px;
  }

  i.fa.fa-info {
      font-size: 22px;
      border: 1px solid #fff;
      padding: 10px 16px;
      border-radius: 50%;
      color: #fff;
  }

  .info-btn {
      position: fixed;
      bottom: 15px;
      left: 0px;
      padding: 10px 20px;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      z-index: 999;
  }

  .info-popup {
      position: fixed;
      bottom: 65px;
      left: 25px;
      max-width: 250px;
      background: #05112B;
      color: white;
      border-radius: 20px 20px 20px 63px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
      padding: 20px;
      z-index: 1000;
      display: none;
  }

  .info-popup-content {
      position: relative;
      font-family: 'Arial', sans-serif;
  }

  .info-popup h3 {
      margin-top: 0;
      font-size: 18px;
      font-weight: bold;
      color: white;
      margin-top: 15px;
  }

  .info-popup p {
      font-size: 14px;
      line-height: 1.4;
  }

  .close-popup {
      position: absolute;
      top: -31px;
      right: 10px;
      background: transparent;
      color: white;
      border: none;
      font-size: 20px;
      cursor: pointer;

  }

  .close-popup:hover {
      background: none !important;
  }

  .info-popup {
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(20px);
  }

  .info-popup.show {
      display: block;
      opacity: 1;
      transform: translateY(0);
  }

  /* Home information  */

  .two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.form-box {
    border: 1px solid #fff;
    border-radius: 5px;
    background: #05112B;
    padding: 20px;
    transition: all 0.3s ease;
}

.form-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-box .form-group {
    margin-bottom: 0;
}

.form-box .question-heading {
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.form-box .toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-box {
        padding: 15px;
    }
    
    .form-box .toggle-btn {
        padding: 8px 16px;
        min-width: 70px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .form-box {
        padding: 12px;
    }
    
    .form-box .toggle-btn {
        padding: 6px 12px;
        min-width: 60px;
        font-size: 14px;
    }
    
    .form-box .question-heading {
        font-size: 14px;
        margin-bottom: 10px;
    }
}