/* banner css start */
.banner-img-wrapper{
    position: relative;

}
.banner-img-wrapper img{
    border-radius: 30px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/* Clear gap under fixed header / blue category bar before hero cards */
.banner-section.section {
    padding-top: clamp(0.85rem, 1.6vw, 1.25rem);
}
.home-collection-info{
    position: absolute;
    background-color: #fff;
    padding: 1rem;
    width: 90%;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.home-collection-info .icon-wrapper{
    --size:50px;
    height: var(--size);
    width: var(--size);
    border-radius: 50%;
    background-color: #cff8e8;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-collection-info .icon-wrapper i{
    color: #16a454;
    font-size: 1.1rem;
    
}

.banner-content{
    height: 100%;
}
.certified{
    background-color: #e7f8fd;
    border-radius: 8px;
    padding: .375rem 1rem;
    font-weight: 500;
    font-size: .85rem;
    color: #13b6ec;
    margin-bottom: 1.2rem;
    display: inline-block;
}
.banner-title{
    font-size: clamp(24px, 4vw, 60px);
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}
.banner-title span{
    color: #13b6ec;
}
.custom-width{
 width: 90%;
 max-width: 100%;
 min-width: 0;
}
.banner-content p{
   
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
}
.search-container{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    background-color: #f1f5f9;
    border-radius: .75rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.search-container i{
    flex-shrink: 0;
}
.search-container input{
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: .5rem;
    background-color: transparent;
    border: none;
}
.search-container .btn,
.search-container .btn.btn-lg{
    flex-shrink: 0;
    white-space: nowrap;
}
.search-container input:focus{
    border: none;
    outline: none;
}
/* Home hero — search typeahead */
.home-hero-search {
    position: relative;
    z-index: 5;
}
.search-suggest-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    max-height: 340px;
    overflow-y: auto;
    text-align: left;
}
.search-suggest-dropdown.is-open {
    display: block;
}
.search-suggest-dropdown:not(.is-open) {
    display: none;
}
.search-suggest-group {
    padding: 0.35rem 0;
}
.search-suggest-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.35rem 1rem 0.25rem;
}
.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.95rem;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.12s ease;
}
.search-suggest-item:hover,
.search-suggest-item:focus-visible,
.search-suggest-item.active {
    background: #f1f5f9;
    outline: none;
}
.search-suggest-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #e7f8fd;
    color: #13b6ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.search-suggest-title {
    flex: 1;
    min-width: 0;
}
.short-link-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: .85rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.sort-link-card{
   flex:0 0 calc(50% - .45rem);
   max-width: calc(50% - .45rem);
   min-width: 0;
   transition: all .25s;
}
.sort-link-card:hover{
    transform: translateY(-3px);
}
.sort-link-card .card-body{
    display: flex;
    align-items: center;
    gap: .75rem;
    justify-content: space-between;

}
.sort-link-card img{
height: 35PX;
}
@media(max-width:1367px){
   .custom-width{
        width: 100%;
    }
    .sort-link-card .card-body span{
        font-size: .9rem;
    }
     .sort-link-card .card-body img{
        height: 30px;
     }
}
@media(max-width:991px){
    /* Tighten gap between fixed header and banner */
    .banner-section{
        padding-top: .75rem;
    }
    .banner-section .banner-img-wrapper{
        display: flex;
        flex-direction: column;
        gap: .75rem;
    }
    .home-collection-info{
        position: static;
        background-color: #001b3a;
        padding: .65rem 1rem;
        width: 100%;
        bottom: 0;
        left: 0;
        transform: unset;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 1rem;
        color: #fff;
        font-size: .85rem;
    }
    .banner-img-wrapper img{
        height: 300px;
        border-radius: 12px;
    }
    .home-collection-info .icon-wrapper{
        --size:40px;
    }
.home-collection-info .icon-wrapper i {
    
    font-size: 1rem;
}
}
@media(max-width:768px){
    .banner-section{
        background-color: #e6f3f7;
        padding-top: .85rem;
        padding-bottom: 1.5rem;
    }
    .banner-section .container {
        padding-top: 0;
    }
    .banner-section .banner-img-wrapper {
        gap: .7rem;
    }
    .banner-section .col-lg-6.mb-3 {
        margin-bottom: .85rem !important;
    }
    .home-collection-info {
        padding: .7rem .9rem;
        border-radius: 10px;
        gap: .75rem;
        min-height: 3.25rem;
    }
    .banner-content p{
        font-size: 1rem;
    }
}
@media(max-width:767px){
    .sort-link-card{
        min-height:75px;
        flex:0 0 100%;
        max-width: 100%;
    }
}
@media(max-width:576px){
     .banner-img-wrapper img{
        height: 250px;
    }
    .banner-content-wrapper,
    .banner-content,
    .home-hero-search {
        max-width: 100%;
        min-width: 0;
    }
    .search-container{
         gap: .4rem;
         padding: .5rem .55rem;
    }
    .search-container i{
        display: none;
    }
    .search-container .btn,
    .search-container .btn.btn-lg{
        padding: .45rem .75rem;
        font-size: .875rem;
        line-height: 1.2;
    }
    .custom-width{
        width: 100%;
    }
}
/* gallery css start */
.gallery img{
    width: 100%;
    border-radius: 16px;
    
}

/* Testimonial css start */
.testimonial-section {
  background: linear-gradient(180deg, #0b1b3b, #09142c);
  color: #fff;
}

.section-title {
  font-weight: 700;
  display: inline-block;
  border-bottom: 4px solid #0d6efd;
  padding-bottom: 5px;
}

.testimonial-card {
  background: #1c2a44;
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.05);
}
.testimonial-header{
    margin-bottom: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.stars {
  color: #ffc107;
  font-size: 20px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: #d1d5db;
  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: .25rem;
}
.testimonial-card .more-btn{
    border: 0;
    background: transparent;
    color: #96b8eb;
    padding: 0;
    
    font-size: .9rem;
    cursor: pointer;
}

.user-img {
 width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #17418e;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.3rem;
}

.user small {
  color: #9ca3af;
}
.testimonialSwiper{
    padding-bottom: 3rem;
}

/* lab partner css start */
.lab-partners {
  background: #f5f7fa;
}

.section-title {
  font-weight: 700;
  color: #0b1b3b;
}

.partner {
  font-size: 22px;
  font-weight: 600;
  color: #b0b0b0;
  letter-spacing: 1px;
  transition: 0.3s;
}

.partner:hover {
  color: #13b6ec;
}

.lab-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 120px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.8rem;
  border: 1px dashed #c5cdd8;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.3;
}

.lab-logo-placeholder--lg {
  min-height: 64px;
  min-width: 140px;
  margin-bottom: 0;
  font-size: 13px;
}

.lab-image .lab-logo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 72px;
  margin-bottom: 0;
}

/* Lab Locations / partner listing */
.ps-lab-locations {
  background: #f5f7fa;
}

.ps-lab-side-card,
.ps-lab-search-panel,
.ps-lab-card,
.ps-lab-bottom-cta {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ps-lab-side-card {
  padding: 1rem 1.1rem;
}

.ps-lab-side-title {
  font-weight: 700;
  color: #0b1b3b;
  margin-bottom: 0.75rem;
}

.ps-lab-side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  color: #334155;
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: 0.15s ease;
}

.ps-lab-side-link i {
  color: var(--primary, #13b6ec);
}

.ps-lab-side-link:hover,
.ps-lab-side-link.is-active {
  background: rgba(19, 182, 236, 0.1);
  color: #0b1b3b;
}

.ps-lab-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-lab-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.ps-lab-side-list i {
  color: #16a34a;
  margin-top: 0.15rem;
}

.ps-lab-side-promo {
  background: linear-gradient(145deg, #13b6ec, #0d8fbc);
  color: #fff;
  border-radius: 16px;
  padding: 1.15rem;
}

.ps-lab-side-promo__title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ps-lab-side-promo p {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 0.85rem;
}

.ps-lab-search-panel {
  padding: 1rem;
  margin-bottom: 1rem;
}

.ps-lab-search-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.ps-lab-search-input {
  flex: 1;
  position: relative;
}

.ps-lab-search-input i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.ps-lab-search-input input {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 0.75rem 0.9rem 0.75rem 2.4rem;
  outline: none;
}

.ps-lab-search-input input:focus {
  border-color: var(--primary, #13b6ec);
  box-shadow: 0 0 0 3px rgba(19, 182, 236, 0.15);
}

.ps-lab-near-btn {
  white-space: nowrap;
  border: 1px solid var(--primary, #13b6ec);
  color: var(--primary, #13b6ec);
  background: #fff;
  border-radius: 12px;
  font-weight: 600;
  padding: 0.7rem 1rem;
}

.ps-lab-near-btn:hover {
  background: rgba(19, 182, 236, 0.08);
  color: #0d8fbc;
}

.ps-lab-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
}

.ps-lab-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ps-lab-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #475569;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.ps-lab-chip:hover {
  border-color: var(--primary, #13b6ec);
  color: var(--primary, #13b6ec);
}

.ps-lab-chip.is-active {
  background: var(--primary, #13b6ec);
  border-color: var(--primary, #13b6ec);
  color: #fff;
}

.ps-lab-sort {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.88rem;
}

.ps-lab-sort .form-select {
  min-width: 140px;
  border-radius: 10px;
}

.ps-lab-card {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ps-lab-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.ps-lab-card__logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-lab-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.ps-lab-card__logo .lab-logo-placeholder {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  padding: 0.35rem;
}

.ps-lab-card__type {
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.ps-lab-card__title {
  font-size: 1.05rem;
  margin: 0.15rem 0 0.35rem;
  line-height: 1.25;
}

.ps-lab-card__title a {
  color: #0b1b3b;
  text-decoration: none;
}

.ps-lab-card__title a:hover {
  color: var(--primary, #13b6ec);
}

.ps-lab-card__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.ps-lab-card__status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.ps-lab-card__status.is-open {
  color: #15803d;
}

.ps-lab-card__status.is-open .dot {
  background: #22c55e;
}

.ps-lab-card__status.is-closed {
  color: #b91c1c;
}

.ps-lab-card__status.is-closed .dot {
  background: #ef4444;
}

.ps-lab-card__status .hours {
  color: #64748b;
  font-weight: 500;
}

.ps-lab-card__address {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.ps-lab-card__address i {
  color: var(--primary, #13b6ec);
  margin-top: 0.15rem;
}

.ps-lab-card__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.ps-lab-cert {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.ps-lab-card__services {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.ps-lab-svc {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.ps-lab-svc__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.ps-lab-svc__main a {
  color: var(--primary, #13b6ec);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.84rem;
}

.ps-lab-svc__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.8rem;
}

.ps-lab-card__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.ps-lab-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.55rem 0.4rem;
}

.ps-lab-btn-call {
  background: var(--primary, #13b6ec);
  border-color: var(--primary, #13b6ec);
  color: #fff;
}

.ps-lab-btn-call:hover {
  background: #0d8fbc;
  border-color: #0d8fbc;
  color: #fff;
}

.ps-lab-btn-wa {
  background: #fff;
  border: 1px solid #22c55e;
  color: #15803d;
}

.ps-lab-btn-wa:hover {
  background: #f0fdf4;
  color: #166534;
}

.ps-lab-btn-dir {
  background: #fff;
  border: 1px solid #94a3b8;
  color: #334155;
}

.ps-lab-btn-dir:hover {
  background: #f8fafc;
  color: #0f172a;
}

.ps-lab-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f7;
  color: #64748b;
  font-size: 0.8rem;
}

.ps-lab-card__footer .is-verified {
  color: #0369a1;
  font-weight: 600;
}

.ps-lab-bottom-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
}

.ps-lab-bottom-cta p {
  color: #64748b;
  font-size: 0.9rem;
}

.ps-lab-bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 575.98px) {
  .ps-lab-search-row {
    flex-direction: column;
  }

  .ps-lab-card__actions {
    grid-template-columns: 1fr;
  }
}

/* health tips css start */
.health-tips {
  background: #f5f7fa;
}



.tip-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.tip-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex: 0 0 200px;
}

.tip-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.tip-category {
  font-size: 12px;
  color: #13b6ec;
  font-weight: 600;
  letter-spacing: 1px;
}

.tip-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0;
  color: #0b1b3b;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tip-content p {
  font-size: 14px;
  color: #6c757d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  margin-bottom: 0;
}

.tip-card-grid > [class*="col-"] {
  display: flex;
}

.tip-content .read-more {
  margin-top: auto;
  padding-top: 12px;
}

.popular-lab-test .swiper-slide,
.popular-radiology-test .swiper-slide,
.tipsSwiper .swiper-slide {
  display: flex;
  height: auto;
}

.popular-lab-test .lab-test-card,
.popular-radiology-test .lab-test-card,
.tipsSwiper .tip-card {
  width: 100%;
}

.read-more {
  color: #13b6ec;
  font-weight: 500;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* Pagination */
.swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.swiper-pagination-bullet {
  background: #adb5bd;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #0d6efd;
  width: 20px;
  border-radius: 10px;
}
.swiper-button-prev-custom,.swiper-button-next-custom{
   
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
        height: 35px;
    width: 35px;
    font-size: 1.2rem;
       background: #e9f9ff;
    border: 1px solid #c9e4ed;
    transition: .25s;
    color: #616161;}
.swiper-button-prev-custom:hover,.swiper-button-next-custom:hover{
    background-color:#13b6ec ;
        border: 1px solid #13b6ec ;
}
/* our presence */
.presence-card i{
    color: #13b6ec;
}

/* Header marquee (admin-managed) */  
.top-header-marquee marquee {
    color: #fff;
}

button.location-card {
    font: inherit;
    color: inherit;
    text-align: center;
    cursor: pointer;
}

.book-through{
    position: fixed;
    z-index: 999;
    bottom: 15vh;
   
    right: 0;
    transform: translateX(154px);
    padding-block: 4px;
    transition: ease-in-out .35s;

}
.book-through:hover{
    transform: translateX(0);
}
.book-through .container{
        display: flex;
    flex-direction: column;
    gap: .5rem;
}

.book-through a{
    background: #bd2358;
    padding: 6px 3px;
    border-radius: 4px;
    color: #fff;
    font-size: .9rem;
    display: inline-block;
    
}
@media(max-width:576px){
    .book-through{
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    background-color: #0f172a;
    right: 0;
    width: 100%;
    max-width: 100vw;
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
    transform: translateX(0);
    box-sizing: border-box;
}
.book-through .container{
      display: flex;
    gap: 0.4rem;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}
    
    .book-through a{
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        background: #bd2358;
        padding: 0.55rem 0.35rem;
        border-radius: 4px;
        color: #fff;
        font-size: clamp(0.68rem, 3.1vw, 0.8rem);
        line-height: 1.25;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }
    .book-through a:last-child{
        background: #1e3a5f;
    }
    .book-through a i{
        flex-shrink: 0;
        margin-right: 0 !important;
    }
    body{
        padding-bottom: calc(3.75rem + env(safe-area-inset-bottom));
    }
}