.nearby-labs-hero{
    background: linear-gradient(180deg,#f7fbff 0%,#eef8ff 100%);
    min-height: 87vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-container{
     width:100%;
    display:grid;
    grid-template-columns:42% 58%;
    align-items:center;
    min-height:87vh;
}

.hero-content{
 
     padding: 0 60px 0 7%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.hero-content h1{
    font-size:1.8rem;
    line-height:1.15;
    color:#1f2b6c;
    margin:20px 0;
}

.hero-content p{
    color:#64748b;
    line-height:1.8;
    font-size:1rem;
    max-width:560px;
    margin-bottom:35px;
      display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero-buttons{
    display:flex;
    gap:18px;
}

.hero-buttons a{
    text-decoration: none;
}

.hero-image{
      position:relative;
    width:100%;
    height:87vh;
    min-height:auto;      
    overflow:hidden;
}

.hero-image img{
  width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-radius:90px 0 0 90px;
    display:block;
}

.hero-image::before{

    content:"";

    position:absolute;

    left:-120px;
    top:0;

    width:220px;
    height:100%;

    background:#eef8ff;

    border-radius:0 100% 100% 0;

    z-index:2;
}

/*=====================================
        HERO SECTION - RESPONSIVE
=====================================*/

@media (max-width: 992px){

    .nearby-labs-hero{
        min-height:auto;
        padding:70px 0 50px;
    }

    .hero-container{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .hero-content{
        padding:0 25px;
        text-align:center;
        align-items:center;
    }

    .hero-content h1{
        font-size:2.2rem;
        margin:16px 0;
    }

    .hero-content p{
        max-width:100%;
        font-size:1rem;
        line-height:1.7;
        margin-bottom:30px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
        gap:15px;
    }

    .hero-image{
        height:400px;
        margin-top:40px;
    }

    .hero-image::before{
        display:none;
    }

    .hero-image img{
        border-radius:30px;
    }

}


@media (max-width:768px){

    .nearby-labs-hero{
        padding:60px 0 40px;
    }

    .hero-content{
        padding:0 20px;
    }

    .hero-content h1{
        font-size:1.9rem;
        line-height:1.3;
    }

    .hero-content p{
        font-size:0.95rem;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
        gap:12px;
    }

    .hero-buttons a{
        width:100%;
        max-width:280px;
        text-align:center;
    }

    .hero-image{
        height:280px;
        margin-top:30px;
    }

    .hero-image img{
        border-radius:20px;
    }

}

@media (max-width:480px){

    .hero-content h1{
        font-size:1.6rem;
    }

    .hero-content p{
        font-size:0.9rem;
    }

    .hero-image{
        height:220px;
    }

}




/*=====================================
    LABORATORY SERVICES
=====================================*/

.lab-services{
        padding:70px 8% 60px;

    background:#ffffff;
}

.section-heading{
    max-width:700px;
    margin:0 auto 40px;
    text-align:center;
}

.section-heading .section-tag{
    display:inline-block;
    color:#1d4ed8;
    font-weight:600;
     margin-bottom:10px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.section-heading h2{
    color:#1f2b6c;
    font-size:2.6rem;
    margin-bottom:15px;
}

.section-heading p{
    color:#64748b;
    font-size:1.05rem;
     line-height:1.6;
    margin:0;
}

.services-grid{
     display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.service-card{
    background:#fff;
    border-radius:20px;
    padding:28px 24px;
    text-align:center;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
    transition:.3s ease;
    border:1px solid #edf2f7;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(15,23,42,.12);
}

.service-icon{
    border-radius:50%;
    background:#eef6ff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    width:64px;
    height:64px;
    margin:0 auto 16px;
}

.service-card h3{
    color:#1f2b6c;
    font-size:1.3rem;
    margin-bottom:10px;
}

.service-card p{
    color:#64748b;
    line-height:1.6;
    font-size:0.97rem;
}

@media (max-width:992px){

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .lab-services{
        padding:50px 20px;
    }

      .section-heading{
        margin-bottom:30px;
    }

    .section-heading h2{
        font-size:2rem;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

}







/*=====================================
        HOW DCONNECT HELPS
=====================================*/

.labs-process{
     padding:60px 8% 45px;
    background:#f8fbff;
}

.process-timeline{
    max-width:900px;
    margin:25px auto 0;
    position:relative;
}

.labs-process .section-heading{
    max-width:700px;
    margin:0 auto 30px;
}

.process-timeline::before{
    content:"";
    position:absolute;
    left:30px;
    top:0;
    width:3px;
    height:100%;
    background:#d6e8ff;
}

.timeline-item{
    position:relative;
     display:flex;
    gap:20px;
    margin-bottom:20px;
}

.timeline-item:last-child{
    margin-bottom:0;
}

.timeline-number{
    border-radius:50%;
    background:#1d4ed8;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
    flex-shrink:0;
    z-index:2;
    width:52px;
    height:52px;
    font-size:20px;
}

.timeline-content{
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    width:100%;
    padding:18px 22px;
}

.timeline-content h3{
    color:#1f2b6c;
      margin-bottom:6px;
    font-size:1.3rem;
}

.timeline-content p{
    color:#64748b;
    line-height:1.7;
}

@media(max-width:768px){

    .labs-process{
        padding:70px 20px;
    }

    .process-timeline::before{
        left:24px;
    }

    .timeline-item{
        gap:20px;
    }

    .timeline-number{
        width:48px;
        height:48px;
        font-size:18px;
    }

    .timeline-content{
        padding:20px;
    }

}







/*=====================================
        FEATURES COMING SOON
=====================================*/

.coming-features{
    padding:60px 8% 50px;
    background:#ffffff;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.coming-features .section-heading{
    max-width:700px;
    margin:0 auto 30px;
    text-align:center;
}


.feature-box{
    background:#fff;
    border:1px solid #e5eef8;
    border-radius:20px;
    padding:25px;
    height:190px;

    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:18px;

    transition:.4s ease;
    overflow:hidden;
    position:relative;

    box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.feature-box:hover{
    flex-direction:column;
    justify-content:center;
    text-align:center;
}


.feature-icon{
    margin-bottom:14px;
    font-size:24px;
    width:60px;
    height:60px;
    flex-shrink:0;
    border-radius:50%;
    background:#eef6ff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.4s ease;
}

.feature-box:hover .feature-icon{
    background:#2563eb;
    color:#fff;
    transform:scale(1.08);

     margin-bottom:10px;
}

.feature-box h3{
    margin:0;
    color:#1f2b6c;
    transition:.4s ease;
    margin-bottom:8px;
    font-size:1.2rem;
}


.feature-box p{
    position:absolute;
    left:30px;
    right:30px;
    bottom:30px;
    opacity:0;
    transform:translateY(20px);
    transition:.4s ease;
    color:#64748b;
     margin-top:10px;
    margin-bottom:0;
    line-height:1.6;
    font-size:0.95rem;
}


.feature-box:hover p{
    visibility:visible;
      position:static;
    opacity:1;
    transform:translateY(0);
}


.coming-badge{
    display:inline-block;
    padding:8px 18px;
    background:#e8f1ff;
    color:#2563eb;
    border-radius:30px;
    font-size:.9rem;
    font-weight:600;
}


@media(max-width:992px){

    .features-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .coming-features{
        padding:45px 20px;
    }

       .coming-features .section-heading{
        margin-bottom:25px;
    }

    .features-grid{
        grid-template-columns:1fr;
    }

}






/*=====================================
    COMMITTED TO RELIABLE DIAGNOSTIC SERVICES
=====================================*/

.diagnostic-trust{
    background:#f8fbff;
    padding:60px 8% 50px;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.trust-card{
     background:#fff;
    padding:30px 22px;
    border-radius:18px;
    text-align:center;
    border:1px solid #e6edf7;
    box-shadow:0 10px 25px rgba(15,23,42,.06);
    transition:.3s ease;
}

.trust-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(15,23,42,.12);
}

.trust-icon{
    width:60px;
    height:60px;
    margin:0 auto 18px;
    border-radius:16px;
    background:#eef6ff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
}

.trust-card h3{
    font-size:1.1rem;
    color:#1f2b6c;
    margin-bottom:12px;
    line-height:1.4;
}

.trust-card p{
    color:#64748b;
    font-size:.95rem;
    line-height:1.6;
}

@media (max-width:1200px){

    .trust-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:768px){

    .diagnostic-trust{
        padding:45px 20px;
    }

    .trust-grid{
        grid-template-columns:1fr;
    }

}


/*=====================================
        FAQs
=====================================*/

.labs-faq{
    padding:60px 8% 50px;
    background:#ffffff;
}

.faq-container{
       max-width:900px;
    margin:30px auto 0;
}

.labs-faq .section-heading{
    max-width:700px;
    margin:0 auto 30px;
    text-align:center;
}

.faq-item{
    background:#fff;
    border:1px solid #e6edf7;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(15,23,42,.05);
     margin-bottom:14px;
}

.faq-question{
    width:100%;
    background:none;
    border:none;
     padding:18px 24px;
    font-size:1.05rem;
    font-weight:600;
    color:#1f2b6c;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    text-align:left;
}

.faq-question span{
    font-size:1.5rem;
    color:#2563eb;
}

.faq-answer{
    display:none;
    padding:0 24px 18px;
}

.faq-answer p{
    color:#64748b;
    line-height:1.8;
}

.faq-item.active .faq-answer{
    display:block;
}


@media(max-width:768px){

    .labs-faq{
        padding:45px 20px;
    }

    .labs-faq .section-heading{
        margin-bottom:25px;
    }

    .faq-container{
        margin-top:25px;
    }

}