@media (max-width: 767px) {
  .policy_service_all_service_sec .row {
    margin-left: 0;
    margin-right: 0;
  }
  .policy_service_all_service_sec .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  @media (min-width: 768px) {
  .bule-back {
    margin-top: 100px !important;
    
  }
}  
  
  
  .i_would_like_quote_for_all_sec {
        background: #3ba2f224;
        padding: 50px 0;
      }
      .main_head_text h1 {
        font-size: 28px;
        font-weight: bold;
        color: #1c1c1c;
        text-align: center;
      }

      /* Grid for left column */
      .insurance-card-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 30px;
      }
      .i_would_like_quote_for_all_sec_per_sec {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        text-align: center;
        padding: 20px 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
      }
      .i_would_like_quote_for_all_sec_per_sec:hover {
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        transform: translateY(-4px);
      }
      .i_would_like_quote_for_all_sec_per_sec h2 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
      }
      .view-btn {
        background: #3aa1f1;
        color: #fff !important;
        padding: 6px 14px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        margin-top: auto;
      }

      @media (max-width: 768px) {
        .insurance-card-wrapper {
          grid-template-columns: 1fr 1fr;
        }
        .main_head_text h1, .main_head_text p, .chooseproductbthn {
          text-align: center;
          margin: 0 auto;
        }
        .beterwntextpcus {
          text-align: center;
        }
        .beterwntextpcus .cta-buttons {
          flex-direction: column;
          align-items: center;
        }
      }

      /* How Finsukh Works Section - Updated to 6 Steps */

      .howitsworkslastsectionpcus {
        background: #ffffff;
        padding: 60px 0;
        text-align: center;
      }
      .howitsworkslastsectionpcus h2 {
        font-size: 30px;
        font-weight: bold;
        color: #1c1c1c;
        margin-bottom: 40px;
      }
      .howitsworkstep {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        max-width: 1000px;
        margin: auto;
        position: relative;
      }
      .howstepbox {
        flex: 1 1 250px;
        max-width: 300px;
        text-align: center;
        position: relative;
      }
      .howstepbox .iconcircle {
        width: 50px;
        height: 50px;
        background: #e53935;
        color: white;
        font-weight: bold;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin: 0 auto 10px;
        position: relative;
        z-index: 1;
      }

      .howstepbox h4 {
        font-size: 16px;
        font-weight: 700;
        color: #1c1c1c;
        margin-bottom: 10px;
      }

      .howstepbox p {
        font-size: 14px;
        color: #555;
      }
     
      /* Connect 01 → 02, 02 → 03, and 03 → 04 */
      .howstepbox:nth-child(1)::after,
      .howstepbox:nth-child(2)::after,
      .howstepbox:nth-child(3)::after {
        content: '';
        position: absolute;
        top: 25px;
        left: 42%;
        width: 250px;
        height: 2px;
        border-top: 2px dotted #bbb;
        z-index: 0;
      }
      /* Responsive Layout */
      @media (min-width: 769px) {
        .howstepbox:nth-child(1),
        .howstepbox:nth-child(2),
        .howstepbox:nth-child(3) {
          order: 1;
        }
        .howstepbox:nth-child(4),
        .howstepbox:nth-child(5),
        .howstepbox:nth-child(6) {
          order: 2;
        }
      }
      @media (max-width: 768px) {
        .howitsworkstep {
          flex-direction: column;
          align-items: center;
        }
        .howstepbox::after {
          display: none !important; /* Hide lines on mobile */
        }
      }




      .custom-heading {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: none;
  position: relative;
  margin-top: 7px;
  text-align: center;
  margin-bottom: 1rem;
}

/* Mobile view (screen width less than or equal to 768px) */
@media (max-width: 768px) {
  .custom-heading {
    font-size: 25px;
  }
}









 /* ===== DESKTOP cards (unchanged from yours) ===== */
  .support-section {
    background: #f9f9f9;
  }
  .support-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  .support-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
  }
  .support-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }
  .support-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .support-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
  }
  .support-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #4e5bd1;
    color: rgb(169, 177, 246);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .support-btn:hover {
    background-color: rgb(131, 141, 233);
    color: #fff;
  }

  /* ===== MOBILE rows ===== */
  @media (max-width: 767.98px) {
    .support-section-mobile img {
      display: block;
    }
    .support-section-mobile small {
      font-size:1.75rem;
    }
    .support-section-mobile a.btn {
      white-space: nowrap;
    }
  }




       .all_pagefromcheckbox {
      display: flex;
      align-items: flex-start;
      gap: 8px; /* Adds spacing between checkbox and label */
    }

    .check_box_link_text {
      flex: 1;
      max-width: 100%;
      font-size: 13px;
      line-height: 1.5;
    }

    /* ───────── Overlay (unchanged) ───────── */
    #insuranceModal.modal {
      position: fixed;
      inset: 0;
      z-index: 1050;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;

    }

    /* ───────── Dialog box ───────── */
    #insuranceModal .modal-content {
      background: #f8f0f0;
      border-radius: 10px;
      padding: 24px 20px;
      width: 100%;
      max-width: 520px;   /* ★ desktop width */
      max-height: 90vh;   /* keeps header/footer visible */
      overflow-y: auto;   /* scroll inside if needed */
      position: relative;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    @media (min-width: 768px) {
      #insuranceModal.modal {
        left: 500px !important;
        justify-content: flex-start !important;
      }
    }

    /* phones get a bit more breathing room */
    @media (max-width: 575.98px) {
      #insuranceModal .modal-content {
        max-width: 100%;
        padding: 20px 0px;
      }
    }

    /* ───────── Close button ───────── */
    #insuranceModal .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
    }

    /* ───────── Title ───────── */
    #insuranceModal #formTitle {
      text-align: center;
      font-weight: 700;
      color: #d64a00;
      margin-bottom: 20px;
    }

    /* ───────── Inputs & Textarea ───────── */
    #insuranceModal input[type="text"],
    #insuranceModal input[type="email"],
    #insuranceModal textarea {
      width: 100%;
      padding: 10px 12px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 8px;
      background: #fff;
      font-size: 15px;
      transition: border-color 0.3s;
    }
    #insuranceModal input:focus,
    #insuranceModal textarea:focus {
      border-color: #2196f3;
      outline: none;
    }
    #insuranceModal textarea {
      resize: vertical;
      min-height: 80px;
    }

    /* ───────── Submit button ───────── */
    .modal_pcus_btton {
      background: #f35b04;
      color: #fff;
      border: none;
      padding: 10px;
      border-radius: 30px;
      width: 100%;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s;
    }
    .modal_pcus_btton:hover {
      background: #d64a00;
    }