#best{
  width: 100%;
  height: 300px;
  background-image: url(../images/stethoscope.jpg);
    background-size: cover;      /* fills the div */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    
}
#best h1{
 color: #fff;
  display: flex;
}
#best P{
    color: #fff;
} 

.outpatient-services{
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-item{
    display:flex;
    align-items:flex-start;
    gap:25px;
}

.service-item i{
    color: #5cb85c !important;
    font-size: 55px;
    min-width: 60px;
}

.service-item h3{
    color:#1f2430;
    font-size:22px;
    font-weight:600;
    margin-bottom:15px;
    line-height:1.3;
}

.service-item p{
    color:#666;
    font-size:16px;
    line-height:1.9;
    font-weight:300;
}
#blog{
    background-image: url(../images/heartrate.jpg);
    width: 100%;
    height: 300px;
    object-fit: fill;
    object-position: center;
    
}

#btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #004d40;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#btn:hover {
    background-color: #00695c;
    transform: translateY(-2px);
}

#btn:active {
    transform: translateY(0);
}

/* Tablet */
@media(max-width:992px){
    .outpatient-services{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Mobile */
@media(max-width:768px){
    .outpatient-services{
        grid-template-columns:1fr;
        padding:0 10px;
        
    }

    .service-item{
        gap:20px;
    }

    .service-item i{
        font-size:40px;
    }
}