/*Home*/
.basket-header {
    display: none;
}

/* Hide on Mobile (up to 767px) */
.hide-on-mob {
    display: none !important;
}

.hide-on-mobf {
    display: none !important;
}

.hide-on-mobg {
    display: none !important;
}

@media (min-width: 768px) {
    .hide-on-mob {
        display: block !important;
    }

    .hide-on-mobf {
        display: flex !important;
    }

    .hide-on-mobg {
        display: grid !important;
    }



}

/* Hide on Desktop (768px and above) */
.hide-on-desktop {
    display: none !important;
}

.hide-on-desktopf {
    display: none !important;
}

.hide-on-desktopg {
    display: none !important;
}

@media (max-width: 767px) {
    .hide-on-desktop {
        display: block !important;
    }

    .hide-on-desktopf {
        display: block !important;
    }

    .hide-on-desktopg {
        display: grid !important;
    }

    .mtm-92 {
        margin-top: -92px !important;
    }


}



/* Default (mobile first, no extra padding) */
.pt-50d {
    padding-top: 0;
}

/* Apply only on desktop (from 1024px and up) */
@media (min-width: 1024px) {
    .pt-50d {
        padding-top: 50px;
    }
}

.active {
    background: none !important;
}

/*Home End*/
/*Price Box*/

.price-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: #fff;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discount {
    color: #00b894;
    font-weight: 600;
}

.vip-price {
    color: #0d6efd;
    font-weight: 700;
}

.info-box {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.save-box {
    background: #eafbe7;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.btn-outline-dark {
    border-radius: 12px;
    font-weight: 600;
}

.btn-danger {
    border-radius: 12px;
    font-weight: 600;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    margin: 10px 0;
}

.price-box .final-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.price-box .old-price {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
}

.price-box .discount {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    background: #e6f9ec;
    padding: 2px 6px;
    border-radius: 4px;
}

.test-info {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
}

.test-info .info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-item i {
    font-size: 20px;
    color: #0077b6;
    margin-top: 2px;
    min-width: 22px;
    text-align: center;
}

.info-item .label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .value {
    font-size: 15px;
    color: #222;
    display: block;
}

.price-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: #fff;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discount {
    color: #00b894;
    font-weight: 600;
}

.vip-price {
    color: #0d6efd;
    font-weight: 700;
}

.info-box {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.save-box {
    background: #eafbe7;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.btn-outline-dark {
    border-radius: 12px;
    font-weight: 600;
}

.btn-danger {
    border-radius: 12px;
    font-weight: 600;
}

/* Make the right card sticky */

.sticky-wrapper {
    position: relative;
    /* Parent container for sticky */
}

.sticky-card {
    position: sticky;
    top: 20px;
    /* Adjust distance from top */
    align-self: start;
}

/*New Design Code End*/
/*info Card / 6 card layout*/
.info-card {
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    min-height: 110px;
}

.info-icon {
    font-size: 32px;
    margin-right: 15px;
}

.bg-blue {
    background: #e6f7fb;
    color: #0d6efd;
}

.bg-orange {
    background: #fff3e6;
    color: #ff6600;
}

.bg-green {
    background: #eafbe7;
    color: #28a745;
}

.bg-purple {
    background: #f3e8ff;
    color: #6f42c1;
}

.bg-pink {
    background: #ffe6f0;
    color: #d63384;
}

.bg-yellow {
    background: #fffbe6;
    color: #ffc107;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .row {
        display: flex;
        flex-wrap: wrap;
    }

    .col-md-4 {
        flex: 0 0 50%;
        /* 2 per row */
        max-width: 50%;
        padding: 8px;
        /* spacing between cards */
        box-sizing: border-box;
    }

    .info-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 15px;
        border-radius: 12px;
        height: 100%;
    }

    .info-card .info-icon {
        font-size: 28px;
        margin-bottom: 10px;
        display: block;
    }

    .info-card strong {
        font-size: 15px;
        margin-bottom: 4px;
        display: block;
    }

    .info-card {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 50%;
        /* 2 per row */
        max-width: 50%;
        padding: 6px;
        /* reduce spacing between cards */
        box-sizing: border-box;
    }

    .info-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 8px 10px;
        /* reduce padding */
        border-radius: 10px;
        min-height: auto;
    }

    .info-icon {
        font-size: 22px;
        /* slightly smaller icon */
        margin-right: 8px;
        margin-top: 2px;
        /* align with text */
    }

    .info-card div {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
        /* tighter line height */
    }

    .info-card strong {
        font-size: 13px;
        margin-bottom: 1px;
    }

    .info-card {
        font-size: 12.5px;
        margin-bottom: 0px !important;
    }
}

/*Middle Tabs Start*/

/* Sticky bar */

.tabs-wrap {
    position: sticky;
    top: 0;
    /* change if you have a fixed header (e.g., top: 64px) */
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* Shadow when stuck (optional â€“ toggled by JS below) */

.tabs-wrap.is-stuck {
    /*box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);*/
}

/* Tabs layout */

.tabs {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 12px 24px;
    font-family: Inter, Segoe UI, sans-serif;
    font-size: 16px;
    font-weight: 500;
    overflow-x: auto;
    /* nice on mobile */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tabs a {
    color: #6b7280;
    /* gray-500 */
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tabs a:hover {
    color: #111827;
    /* gray-900 */
}

/* Active tab */

.tabs a.active {
    color: #111827;
    border-bottom-color: #03a9ec;
    /* highlight color */
    font-weight: 700;
}

/* Give a little top padding to sections so content isn't hidden under the sticky bar */

.spy-section {
    scroll-margin-top: 72px;
    /* = sticky height + spacing; adjust to your top offset */
}

/*Middle Tabs End*/




/*Related and Popular Tests Start*/

.tag {
    display: inline-block;
    background: #e6f2ff;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 15px;
}









.related-tests {
    margin: 40px 0;
    text-align: center;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.test-card {
    width: 280px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    color: #111;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blue-bg {
    background: linear-gradient(#daeaff);
}

.pink-bg {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
}

.test-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.parameters {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 22px 0 7px 0px;
    font-size: 14px;
}

.features li {
    margin-bottom: 6px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.price-box .old {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

.price-box .new {
    font-size: 18px;
    font-weight: 700;
    color: #149acf;
}

.price-box .discount {
    background: #f87171;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
}

.btn-group {
    display: flex;
    justify-content: space-between;
}

.details-btn {
    background: #fff;
    border: 1px solid #03a9ec;
    color: #03a9ec;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background: #03a9ec;
    color: #03a9ec;
}

.cart-btn {
    background: #0d6efd;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.cart-btn:hover {
    background: #0d6efd;
}

.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    /* ensures all cards stretch equally */
}

.test-card {
    flex: 1 1 280px;
    /* allows flexible resizing but keeps min width */
    display: flex;
    flex-direction: column;
    /* ensures children stack properly */
}

/*Related and Popular Tests End*/


/*Right Column Start*/

.price-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: #fff;
    max-width: 420px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discount {
    color: #00b894;
    font-weight: 600;
}

.vip-price {
    color: #0d6efd;
    font-weight: 700;
}

.info-box {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.save-box {
    background: #eafbe7;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.btn-outline-dark,
.btn-danger {
    border-radius: 12px;
    font-weight: 600;
}

.logo {
    max-height: 40px;
}

/*Right Column End*/

                    .price-card {
                        border-radius: 12px;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                        padding: 20px;
                        background: #fff;
                        max-width: 420px;
                    }
                    
                    .old-price {
                        text-decoration: line-through;
                        color: #999;
                        font-size: 14px;
                    }
                    
                    .discount {
                        color: #00b894;
                        font-weight: 600;
                    }
                    
                    .vip-price {
                        color: #0d6efd;
                        font-weight: 700;
                    }
                    
                    .info-box {
                        background: #f0f8ff;
                        border-radius: 8px;
                        padding: 10px;
                        font-size: 14px;
                        margin-top: 10px;
                    }
                    
                    .save-box {
                        background: #eafbe7;
                        border-radius: 8px;
                        padding: 10px;
                        font-size: 14px;
                        margin-top: 10px;
                        font-weight: 500;
                    }
                    
                    .btn-outline-dark,
                    .btn-danger {
                        border-radius: 12px;
                        font-weight: 600;
                    }
                    
                    .logo {
                        max-height: 40px;
                    }
              /*Price Card End*/
              
       /*Mobile Sticky Booking Bar Start */
       
       
     
        /* Mobile sticky booking bar */
        
        @media (max-width: 768px) {
            .mobile-sticky-bar {
                position: fixed;
                bottom: 0;
                left: 0;
                width: 100%;
                background: #fff;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
                padding: 10px;
                display: flex;
                flex-direction: column;
                gap: 8px;
                z-index: 9999;
                border-top: 1px solid #eee;
            }
            .mobile-sticky-bar .top-info {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            .mobile-sticky-bar .lab-info {
                display: flex;
                align-items: center;
                gap: 6px;
                font-size: 13px;
                font-weight: 500;
            }
            .mobile-sticky-bar .lab-info img {
                height: 40px;
            }
            .mobile-sticky-bar .price-info {
                text-align: right;
                font-size: 14px;
            }
            .mobile-sticky-bar .price-info .old-price {
                text-decoration: line-through;
                color: #888;
                font-size: 12px;
                margin-right: 4px;
            }
            .mobile-sticky-bar .price-info .final-price {
                color: #d9534f;
                font-weight: 700;
            }
            .mobile-sticky-bar .buttons {
                display: flex;
                gap: 10px;
            }
            .mobile-sticky-bar .buttons button {
                flex: 1;
                border-radius: 8px;
                font-weight: 600;
                padding: 10px;
            }
            /* Hide the original buttons on mobile */
            .sticky-wrapper .d-flex.justify-content-between {
                display: none;
            }
        }
        /* Hide sticky bar when not needed */
        
        .mobile-sticky-bar.hidden {
            display: none !important;
        }
        /* Mobile horizontal scroll for tab menu */
        /* Mobile horizontal scroll for tab menu */
        
        @media (max-width: 768px) {
            .nav-tabs {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                /* smooth touch scrolling */
                scrollbar-width: none;
                /* hide scrollbar (Firefox) */
            }
            .nav-tabs::-webkit-scrollbar {
                display: none;
                /* hide scrollbar (Chrome, Safari) */
            }
            .nav-tabs .nav-item {
                flex: 0 0 auto;
                /* prevent items from shrinking */
            }
        }
    
        /*Mobile Sticky Booking Bar Start */
        
        /*Global Section Styling*/

    /* Global section styling */
    .info-section {
        padding: 4px 20px;
    }

    .info-section:nth-child(even) {
        /*background: #f9fafb; */
    }

    .info-section h4 {
        font-size: 1.5rem; /* 24px desktop */
        font-weight: 600;
        color: #1a202c;
        margin-bottom: 15px;
    }

    .info-section p {
        font-size: 1rem; /* 16px desktop */
        line-height: 1.6;
        color: #374151;
    }

    @media (max-width: 768px) {
        .info-section {
            padding: 30px 15px;
        }
        .info-section h4 {
            font-size: 1.25rem; /* 20px mobile */
        }
        .info-section p {
            font-size: 0.95rem; /* 15px mobile */
        }
    }


/*Global Section Styling End*/



/*Diag Section*/

.diag-section {
  position: relative;
  background: url('') no-repeat center center/cover;
  min-height: 350px;
  display: flex;
  align-items: center;
  color: #fff;
  font-family: Arial, sans-serif;
}

.diag-overlay {
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}

.diag-heading {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.diag-logos {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.diag-logo-item {
  text-align: center;
  max-width: 150px;
}

.diag-logo-item img {
  max-width: 80px;
  display: block;
  margin: 0 auto 10px;
}

.diag-logo-item p {
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
}

.diag-logo-item span {
  font-size: 12px;
}

.diag-info {
  font-size: 14px;
  line-height: 1.6;
}


/*Diag Section End*/

/*Servicable Pincodes*/


.divider {
  position: relative;
  height: 2px;
  background: #ccc; /* grey line */
  margin: 20px auto;
  width:13%; /* adjust width as needed */
}

.divider::after {
  content: "";
    position: absolute;
    top: -0.09px;
    left: 50%;
    transform: translateX(-50%);
    height: 2.7px;
    width: 53px;
    background: #1977cc;
}


/*Pincodes End*/


/*Locality*/

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.section {
  margin: 20px 0;
}

.section h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.scroll-box {
  max-height: 10.5em;
    overflow-y: auto;
    line-height: 2.2em;
    padding-right: 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 26px;
    background: #fafafa;
}

/* Custom Scrollbar (Webkit browsers: Chrome, Edge, Safari) */
.scroll-box::-webkit-scrollbar {
  width: 6px;
}

.scroll-box::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* For Firefox */
.scroll-box {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/*Locality End*/




/*Similar Test Start*/

/* Section Base */
.similar-tests {
  width: 100%;
  padding: 25px 5%;
  margin: 0;
}
.similar-tests h5 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 15px !important;
}
.similar-tests .test-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  line-height: 1.8;
  padding: 0px 57px;
}
.similar-tests .test-list a {
  font-size: 15px;
  font-weight: 400;
  color: #374151;
  text-decoration: none;
  transition: 0.2s;
  position: relative;
  padding-left: 18px;
}
.similar-tests .test-list a::before {
  content: "\2022"; /* bullet character */
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  top: 13%;
}
.similar-tests .test-list a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .similar-tests .test-list {
    display: block;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fafafa;
  }
  .similar-tests .test-list a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .similar-tests .test-list a::before {
    color: #2563eb;
  }
  /* Scrollbar styling */
  .similar-tests .test-list::-webkit-scrollbar {
    width: 6px;
  }
  .similar-tests .test-list::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
  }
  .similar-tests .test-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
  }
  .similar-tests .test-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
  }
}


/*Similar Test End*/



/*FAQ Accordion Start*/

.accordion {
  max-width: 800px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.accordion button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: #1f2937;
  background: #f9fafb;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease;
}

.accordion button:hover {
  background: #eef2ff;
}

.accordion .icon::before {
  content: "+";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion button[aria-expanded="true"] .icon::before {
  content: "-";
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fff;
  padding: 0 20px;
}

.accordion-content p {
  padding: 15px 0;
  color: #4b5563;
  line-height: 1.6;
}

/*FAQ Accordion End*/


  /* Hide scrollbar */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Mobile buttons smaller */
  @media (max-width: 640px) {
    #prevBtn,
    #nextBtn {
      width: 32px;
      height: 32px;
      font-size: 14px;
    }
  }
