.diagnosticBannerImg {
    position: absolute;
    right: 10px;
    bottom: 0px;
    width: 130px;
}
.diagSection {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px !important;

}

.second-banner {
    position: relative;
    background-color: var(--secondary-color);
    width: 100%;
    margin-bottom: 20px !important;
}
.second-banner h4 {
    color: #D4F2EA;
    font-size: 25px;
    padding-left: 60px;
    position: relative;
    top: 12px;
}
.second-banner .col-sm-3 a {
    position: relative;
    top: 35px;
    font-size: 20px;
    
}
.docImg {
    position: absolute;
    bottom: -3px; 
    right: 0;
    max-width: 100%;
    height: 180px;
}

.titleText {
    text-align: center;
    background-color: var(--tercery-color);
}

.bannerBtn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px;
    margin-left:-20px;
}
.cardButton{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}
.Dial {
    position: relative;
    right: 14px; 
    vertical-align: middle; 
    margin-right: -25px;
    height: 60px;
}
.numB {
    position: relative;
    right: 50px;
}
.book-now-btn:hover {
    border: none;
    color: var(--primary-color);
}
.book-nowbtn {
   
    margin-top: 15px;
    font-size: 12px;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 5px;
    width: 100px;
    border: 1px solid var(--primary-color);
    
    
}
.book-nowbtn:hover {
    background-color: var(--tercery-color);
    border: none;
    color: var(--primary-color);
}

/*RESPONSIVENESS SECOND BANNER*/
@media (max-width:1900px) {
    .second-banner .col-sm-3 a {
        position: relative;
        right: 90px;
        font-size: 25px;
    }
} 

@media (max-width:1110px) {
    .second-banner .col-sm-6 h4 {
        font-size: 20px;
    }
    .second-banner .col-sm-3 a {
        font-size: 20px;
    }
    .Dial {
        height: 50px;
        
    }
}

@media (max-width:990px) {
    .docImg {
        height: 135px;
    }
    .col-sm-3 a {
        position: relative;

    }
}
@media (max-width:880px) {
    .second-banner .col-sm-6 h4 {
        font-size: 18px;
        position: relative;
        right: 60px;
    }
    .col-sm-6 h4:first-of-type {
        margin-bottom: 5px; 
    }
    .second-banner .col-sm-3 a {
        padding: 5px;
        position: relative;
        right: 100px;
    }
    .bannerBtn {
        font-size: 16px;
        font-weight: 700;
    }
    .Dial {
        height: 40px;
        margin-left: 5px;
    }
}

@media (max-width:767px) {
    .col-sm-3 a {
        display: none;
    }
    .col-sm-6 {
        width:90%;
    } 
    .bannerBtn { 
        padding: 6px;
        margin-left:2px;
    }
    .col-sm-6 h4 {
         position: relative;
         top: 8px;
         margin-top: -10px;
         line-height: 1.5;
    }     
    .Dial {
        margin-left: 5px;
    }
    
}
@media (max-width:520px) {
    .second-banner .col-sm-6 h4 {
        font-size: 14px;
        
    }
}
@media (max-width:450px) {
    .second-banner .col-sm-6 h4 {
        font-size: 10px;
        margin-top: -20px;
        padding-top: 5px;
        font-weight:900;
        font-size: 14px;
    }
    .Dial {
        height: 35px;
        margin-left: 5px;
    }
    .docImg {
        height: 100px;
    }
    .col-sm-6 h4:first-of-type {
        margin-bottom: 15px; 
    }
    .col-sm-6 h4:nth-of-type(2) {
        font-weight: 600;
    }
    .second-banner .col-sm-6 a {
        font-size: 10px;
    }
}
.diag-card-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: 70px;
    margin-right: 70px;
    margin-top: 40px;
}
.d-card {
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    border: 1px solid var(--primary-color);
    margin-left: 20px;
    margin-right: 20px; 
    margin-bottom: 40px;   
}
.dcard-header {
    display: flex;
    align-items: center;
    font-size: 15px;
    border-radius: 0px !important;
    background-color: var(--primary-color);
    font-weight: bold;
    color: var(--tercery-color);
}
/* .dcard-header p {
    height: 65px;
} */
.dcard-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.dcard-body p:nth-child(1) {
    padding-top: 10px;
}
.dcard-body p:nth-child(2) {
    padding-top: 5px;
    font-size: 20px;
    font-weight: bold;

}
.middlecutText
{
    margin-top: 0px;
    font-size: 14px;
    text-decoration:line-through;
    color: gray;
}
.midbreaket
{
    color: gray;
}
.rateNursings
{
    color: gray;
}
.nursingParsent
{
    font-size: 13px;
    color: gray;
}

.dBook-btn {
    
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    background-color: var(--tercery-color);
    padding: 2px;
    width: 100px;
    border: 1px solid gray; 
}
@media (min-width: 1600px) {
    .col-lg-20 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 20%;
    }
}
@media (max-width:1403px) {
    .dcard-body p:nth-child(1) {
        font-size: 12px;
    }
    .dcard-body p:nth-child(2) {
        font-size: 18px;
    }
    .dcard-header {
        font-size: 14px;
    }
}
@media (max-width:1100px) and (min-width:991px) {
    .diag-card-container {
        margin-left: 50px;
        margin-right: 50px;
    }
}
@media (max-width:840px) and (min-width:769px) {
    .diag-card-container {
        margin-left: 25px;
        margin-right: 25px;
    }
}
@media (max-width:768px) {
    .diag-card-container {
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media (max-width:499px) {
    .dcard-header {
        font-size: 14px;
    }
    .dcard-body p:nth-child(1) {
        font-size: 11px;
    }
    .dcard-body p:nth-child(2) {
        font-size: 15px;
    }
    .diag-card-container {
        margin-left: 10px;
        margin-right: 10px;
    }
    .d-card {
        margin-left: 10px;
        margin-right: 10px;
    }
    .dcard-body {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .dcard-body p:nth-child(1) {
        padding-top: 0px;
    }
}
@media (max-width:450px) {
    .diag-card-container {
        margin-left: 0px;
        margin-right: 0px;
    }
    .dcard-body {
        justify-content: flex-start; /* Modify horizontal alignment */

    }
}
@media (max-width:384px) {
    .dcard-header {
        font-size: 12px;
    }
    .dcard-body p:nth-child(1) {
        padding-top: 5px;
        font-size: 9px;
    }
    .dcard-body p:nth-child(2) {
        font-size: 13px;
    }
}
/* RESPONSIVE FOR FIRST BANNER */
@media (max-width:699px) {
    .diagnosticBannerImg {
        display: none;
    }
    .diagSection {
        padding: 40px !important;
    }
}

