/* section:1 :heroCarousel start */
        @media (max-width: 576px) { /* For small devices like phones */
            .custom-paddings {
                padding-top: 135px;
            }
        }

        @media (max-width: 576px) {
            .i_would_like_quote_for_all_sec {
                top: -63px;        /* Reset top or set a different value */
                position: relative;
            }
        }

        .carousel-control-prev.custom-carousel-btn {
            left: 15px;
        }

        .carousel-control-next.custom-carousel-btn {
            right: 15px;
        }

        .custom-arrowR {
            font-size: 30px;
            color: #e4572e; 
            line-height: 1;
            left: 142px;
            position: relative;
        }

        @media (max-width: 767.98px) {
            .custom-arrowR {
            display: none !important;
            }
        }
        .custom-arrowL {
            font-size: 30px;
            color: #e4572e; 
            line-height: 1;
            left: -142px;
            position: relative;
        }

        @media (max-width: 767.98px) {
        .hero-mobile .carousel-indicators {
            display: none !important;
        }
        }




        /* second csss */


        /* ───── wrapper ───── */
        .hero-mobile{
            margin: 140px auto 0;            /* push below your mobile header */
            width: 92%;                      /* leave a tiny side margin */
            border: 1px solid #dedede;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,.08);
            overflow: hidden;                /* clip rounded corners */
        }

        /* image fit */
        .object-fit-cover{ object-fit: cover; }

        /* indicators */
        .hero-mobile .carousel-indicators{
            bottom: 10px;
        }
        .hero-mobile .carousel-indicators [data-bs-target]{
            width: 8px; height: 8px;
            background: #e4572e;
            opacity: .35;
            border-radius: 50%;
        }
        .hero-mobile .carousel-indicators .active{ opacity: 1; }

        /* optional arrow styling if you later show them */
        .hero-arrow{
            font-size: 26px;
            line-height: 1;
            color: #e4572e;
        }


        /* ——— MOBILE ONLY ——— */
        @media (max-width: 767.98px) {
            .hero-mobile{
            margin-top: 65px;      /* header (≈55‑60 px) + a tiny 5 px gap */
            }
        }

        /* If you switched the header to `position:fixed`,
            you can even set it to 0 and let body padding handle the gap: */
        body.mobile-header-active {      /* add this class in HTML or JS */
            padding-top: 60px;             /* header height */
        }
        .hero-mobile{ margin-top:0 !important; }
/* section:1 :heroCarousel End */

/* section:2  :Get lowest primium start */

            
            .insurance-section {
        background-color: #fff5e5;
        }

        /* Only on large screens */
        @media (min-width: 992px) {
        .insurance-section {
            margin-top: -106px !important;
        }
        }

            .left_container {
            max-width: 1300px;
            margin: 0 auto;
            
            padding-left: 0px;

            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
            }


        @media (min-width: 768px) {
        .left_container {
            padding-left: 0px;
            padding-right: 0px;
        }
        }


        .left-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 8px;
        width: 100%;
        }

        @media (min-width: 992px) {
        .left-cards {
            grid-template-columns: repeat(6, 1fr); 
        }
        }


            .card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            height: 150px;
            padding: 7px;
            position: relative;
            transition: transform 0.3s ease;
            } 
            .icon {
            width: 45px;
            height: 45px;
            background-color: #ffe6df;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: #b8490a;
            margin-bottom: 10px;
            }

            .title {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
            position: relative;
            top: -11px;
            }

            .subtext {
            font-size: 12px;
            color: #648b9e;
            top: -22px;
            position: relative;
            }


            @keyframes arrowColorCycle {
        0%   { color: #cce7ff; text-shadow: 0 0 5px #cce7ff; }
        25%  { color: #99ccff; text-shadow: 0 0 6px #99ccff; }
        50%  { color: #3399ff; text-shadow: 0 0 7px #3399ff; }
        75%  { color: #0066cc; text-shadow: 0 0 8px #0066cc; }
        100% { color: #cce7ff; text-shadow: 0 0 5px #cce7ff; }
        }

        .arrow {
        position: absolute;
        right: 12px;
        bottom: 102px;
        font-size: 22px;             /* Increased size */
        font-weight: bold;
        animation: arrowColorCycle 2.8s infinite ease-in-out;
        transition: transform 0.3s ease;
        }

        .card-custom:hover .arrow {
        transform: translateX(6px);
        }
        .beshak-widget{
        background:#fff;border:2px solid #13135d;border-radius:12px;
        box-shadow:0 8px 22px rgba(0,0,0,.08);overflow:hidden;
        max-width:400px;width:100%;margin:auto;
        }
        .beshak-header{
        background:#05b154;color:#fff;display:flex;gap:14px;align-items:center;padding:5px 20px
        }
        .chat-icon{width:46px;height:46px;border-radius:50%;background:#fff;padding:6px;object-fit:contain}
        .header-text h4{margin:0;font-size:18px;font-weight:700}
        .header-text p{margin:2px 0 0;font-size:14px;opacity:.9;color: white !important;}
        .beshak-body{background:url("assets/wp_background.png") center/cover repeat;padding:12px 20px}
        .chat-bubble{background:#fff;border-radius:8px;padding:0px 7px;font-size:15px;color:#444;line-height:1.45;box-shadow:0 1px 3px rgba(0,0,0,.08)}
        .chat-bubble + .chat-bubble{margin-top:6px}
        .beshak-chat-button{
        display:block;width:90%;margin:2px auto;background:#0c9c49;
        color:#fff !important;font-size:14px;font-weight:600;padding:12px 0;border-radius:60px;
        text-align:center;text-decoration:none;transition:.25s
        }
        .beshak-chat-button i{margin-right:8px;font-size:20px;vertical-align:-2px}
        .beshak-chat-button:hover{background:#078b3f}

        /* --- make widget shrink nicely --- */
        @media(max-width:991.98px){
        .beshak-widget{max-width:500px}
        }

        .d-flex {
        align-items: stretch;
        }

        .beshak-widget {
        flex: 1 1 30%; /* Let it grow to fill right space */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Align content within */
        /* height: 100%; */
        }


        .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;
        }
        }



        /* Default: No padding on mobile */
        .custom-heading.headingss {
        padding-right: 0;
        }

        /* Apply padding only on large screens and above (≥992px) */
        @media (min-width: 992px) {
        .custom-heading.headingss{
            padding-right: 84px;
        }
        }

                    
            .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;
            background: rgba(0, 0, 0, 0.6);
            }

            /* ───────── 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);
            }

            /* 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;
            }


/* section:2 :Get lowest primium End */


/* section:3 :WHY TRUST BESHak SECTION  */


/* Only for large screens */
@media (min-width: 992px) {
  .why-trust {
    margin-top: 4px;
  }
}

@media (max-width:767.98px){   /* Bootstrap’s “sm” breakpoint */
  .why-trust{
    padding-top:21px; /* push it down on phones */
    top:0;            /* undo the negative offset */
  }
}


/* Whole strip */
.trust-row{
  background:#e7f7ec;          
  border-radius:8px;
  padding:20px 0;             
}

.trust-col{
  position:relative;          
  padding:0 30px;              
}

.trust-col:not(:first-child)::before{
  content:'';
  position:absolute;
  left:0;
  top:20%;                    
  height:60%;                  
  width:1px;
  background:#8ddfb1;          
}
.trust-icon{
  font-size:50px;
  color:#08b24d;
}
.trust-card{
  background:#e7f7ec;                 
}
.trust-icon{
  font-size:44px;
  color:#1abc5c;
}
.carousel-indicators{
  --bs-carousel-indicator-width:   10px;   
  --bs-carousel-indicator-height:  10px;
  --bs-carousel-indicator-active-width: 10px;
  --bs-carousel-indicator-spacer:  8px;   
  justify-content: center;
  position: static;
  margin-top: 18px;
}

.carousel-indicators [data-bs-target]{
  width: 13px !important;           
  height: 5px !important;
  border-radius: 15% !important;
  background: #d9d9d9 !important;    
  border: 0 !important;
  opacity: 1 !important;            
}

.carousel-indicators .active{
  background: #1abc5c !important; 
}
.carousel-indicators [data-bs-target]{
  min-width: 0 !important;
}


/* End */


/* Comparison Section Start */


  .vs-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #22c55e;
    z-index: 0;
  }
  .vs-badge {
    width: 48px;
    height: 48px;
    background-color: #22c55e;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    position: relative;
    left: 24px;
  }
  .vs-circle {
    width: 40px;
    height: 40px;
    background-color: #22c55e;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  
   
  }


  .vs-circle::after {
    content: "VS";
  }

  .vs-circles {
    width: 151px;
    height: 40px;
    background-color: #22c55e;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -24px;
  }
  .carousel-indicators [data-bs-target] {
    background-color: #22c55e;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 4px;
    opacity: 0.5;
  }
  .carousel-indicators .active {
    opacity: 1;
    background-color: #16a34a;
  }


  .compare-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.compare-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.compare-text {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .compare-card {
    padding: 16px 12px;
    font-size: 14px;
  }

  .compare-card h4 {
    font-size: 18px;
  }

  .compare-text {
    font-size: 14px;
  }
}


  .our_service_per_box {
    position: relative;
    z-index: 2;
  }

  .our_service_section a {
    display: block;
    position: relative;
    z-index: 3;
  }


/* End */


/* Start Testimonials Sections */

 .learn-btns {
  background: #3aa1f1;
  color: #fff !important;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block; 
  width: auto;          
  align-self: center;   
}

  .testimonial-card {
    width: 100%;
    min-height: 250px; 
    max-height: 380px;
    display: flex;
    flex-direction: column;
  
    overflow: hidden;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative;
    background-color: #fff;
        border: #c8e4fc 2px solid;
  }

  .testimonial-card p {
    overflow: auto;
    max-height: 180px; /* Limit height for description */
  }

  .quote-icon {
    position: absolute;
    top: -6px;
    left: 5px;
    font-size: 40px;
    color: #dc3545;
    background: #fff;
    padding: 0 8px;
    z-index: 2;
  }

  .testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-left: 70px;
  }

  .testimonial-card .client-info img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
  }

  .leftsidepad {
    left: -137px;
  }

  .rightsidepad {
    right: -137px;
  }

  .Mleftsidepad {
    left: -51px;
  }

  .Mrightsidepad {
    right: -51px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 60% 60%;
  }



/* ✅ Mobile view adjustments */
@media (max-width: 767.98px) {
  .testimonial-card {
    width: 300px;
    height: 360px;
    min-height: 215px;
    max-height: unset;
  }

  .testimonial-card p {
    max-height: 180px;
    overflow: auto;
  }
}


/* blog sections start */

  .blogdisplayednone{
    display: none;
  }
  /* Mobile‑only “lift” */
@media (max-width: 575.98px){       /* xs breakpoint in Bootstrap 5 */
  .mobile-top{
    position: relative;
    top: -6px;                     /* push upward */
  }
}


/* Reach to us  */


  /* ===== 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;
    }
  }
/* 
  <!-- Start - FinSukh Partner --> */

  
/* no horizontal padding by default (phones & small tablets) */
.partner-carousel-wrapper {
  padding-left: 0;
  padding-right: 0;
   
}

/* add 115 px left + right once the screen is ≥ 992 px (Bootstrap “lg”) */
@media (min-width: 992px) {
  .partner-carousel-wrapper {
    padding-left: 115px;
    padding-right: 115px;
    background:#f5f4ee; 
  }
}

.partner-carousel-wrapper .container{
  max-width:100%;                   /* full‑bleed */
}

/* ─────────  LOGO TILE  ───────── */
.partner-logo{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:6px;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
  padding:12px;
  height:100%;

  /* center logos nicely */
  display:flex;
  align-items:center;
  justify-content:center;
}

.partner-logo img{
  max-width:100%;
  max-height:65px;                  /* keep logos similar height */
  object-fit:contain;
}

/* ─────────  CAROUSEL OVERRIDES  ───────── */
.carousel-item{
  /* kill default 15px gap Bootstrap adds inside .container */
  padding-left:0; padding-right:0;
}
.carousel-item .row{
  margin-left:0; margin-right:0;
}

/* optional: hide arrow buttons on xs to save space */
@media (max-width:575.98px){
  #partnerSlider .carousel-control-prev,
  #partnerSlider .carousel-control-next{ display:none; }
}

/* ─────────  MOBILE (phones): show 6 + 6 in 2 rows ───────── */
@media (max-width: 575.98px) {
  .partner-carousel-wrapper .carousel-item .row {
     display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    margin-right: 0; 
  }

  .partner-carousel-wrapper .carousel-item .row .col-6 {
    flex: 0 0 33.3333%;      
    max-width: 32.3333%;
    padding: 0%;            
  }

  .partner-logo {
    padding: 8px;
  }

  /* Optional: hide carousel arrows on mobile */
  #partnerSlider .carousel-control-prev,
  #partnerSlider .carousel-control-next {
    display: none;
  }
}


/* FAQ Sections Starts here */

 .faq-sectionhheading h2 {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 30px;
      text-align: center;
      color: #1c1c1c;
    }
    .faq-item {
      background: #fff;
      margin-bottom: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .faq-question {
      padding: 15px 20px;
      cursor: pointer;
      font-weight: 600;
      background: #fff;
      color: #333;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #eee;
      font-size: 14px;
    }
    .faq-question::after {
      content: "\25BC";
      transition: transform 0.3s;
    }
    .faq-question.active::after {
      transform: rotate(180deg);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 20px;
      background: #fafafa;
      transition: max-height 0.5s ease;
    }
    .faq-answer.open {
      padding: 15px 20px;
      max-height: 400px;
    }
    @media (max-width: 768px) {
      .faq-question {
        font-size: 16px;
      }
      .faq-answer {
        font-size: 14px;
      }
    }

.faq-sections {
  padding-top: 210px;
}
@media (min-width: 992px) {
  .faq-sections {
    padding-top: 35px;
  }
}

/* ─── Hide extra FAQ items on phones ─── */
@media (min-width: 768px){
  #faq-toggle-btn{display:none;}
}

#faq-toggle-btn{display:none;}
@media (max-width: 767.98px){
  #faq-toggle-btn{display:block;}
}

#faq-toggle-btn{
  font-weight:600;
  letter-spacing:.3px;
  border-width:2px;
  padding:12px 0;             
  border-radius:8px;         
}



 .red_border
    {
      border:1px solid red !important; 
    }

    .error
    {
      color:red;
    }