* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
}

section{
    margin-bottom: 50px;
}
nav {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid yellow;
    font-weight: 00;
    background-color: rgb(55, 55, 55);
    height=100px;
}

nav:after {
    content: '';
    clear: both;
    display: table;
}

nav .logo {
    width: 35%;
    float: left;
    color: navy;
    font-weight: 600;
    /* line-height: 70px; */
    padding-left: 60px;
    padding-top: 15px;
}

.logo img {
    float: left;
    margin-bottom: 1%;
    /* width: 150px;
    height: 50px; */
}

.logo p {
    position: absolute;
    line-height: 132px;
    color: white;
    font-size: 0.8em;
}

nav ul {
    float: right;
    margin-right: 40px;
    list-style: none;
    position: relative;
}

nav ul li {
    float: left;
    display: inline-block;
    background-color: rgb(55, 55, 55);
    margin: 0 5px;
}

nav ul li a {
    color: yellow;
    line-height: 100px;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 15px;
}

nav ul li a:hover {
    background: white;
    color: navy;
    font-size: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px #1c23f2, 0 0 10px #113ded;
}

nav ul ul li a:hover {
    box-shadow: none;
    border-radius: 5px;
    box-shadow: 0 0 5px #1c23f2, 0 0 10px #113ded;
}

nav ul ul {
    position: absolute;
    top: 90px;
    border-top: 3px solid rgb(0, 38, 255);
    opacity: 0;
    visibility: hidden;
    transition: top .3s;
}

nav ul ul ul {
    border-top: none;
}

nav ul li:hover>ul {
    top: 70px;
    opacity: 1;
    visibility: visible;
}

nav ul ul li {
    position: relative;
    margin: 0px;
    width: auto;
    float: none;
    display: list-item;
    border-bottom: 1px solid rgba(4, 4, 4, 0.892);
    z-index: 2;
}

nav ul ul li a {
    line-height: 50px;
}

nav ul ul ul li {
    position: relative;
    top: -60px;
    left: 150px;
}

.show,
.icon,
input {
    display: none;
}

.fa-plus {
    font-size: 15px;
    margin-left: 40px;
}


/* background  */

.background {
    width: 100%;
    height: 550px;
}

.background::before {
    position: absolute;
    content: "";
    background: url(index\ Images/back.jpg) no-repeat;
    background-size: cover;
    height: 550px;
    width: 100%;
    z-index: -1;
    /* opacity: 0.8; */
}

.background div {
    width: 40%;
    float: right;
    margin-right: 5%;
}

.background div h2 {
    color: white;
    font-size: 2.5rem;
    margin-top: 45%;
    background-color: gray;
}

.background div ::before {
    content: "";
    border: 2px solid yellow;
    margin: 2%;
}

.background div h2:hover {
    color: yellow;
}


/* about us  */

.aboutContainer {
    display: flex;
}

.about {
    width: 50%;
    margin: auto;
}

.about h2 {
    /* font-size: 2.5em; */
    font-weight: 600;
}

.about h2::before {
    content: "";
    border: 2px solid yellow;
}

.about p {
    text-align: justify;
    /* font-size: 1.1em; */
}

.aboutContainer img {
    margin: auto;
    height: 350px;
    border-radius: 50%;
}


/* health container  */

.healthcontainer {
    display: flex;
    margin: auto;
}

.improvingHealth h2 {
    display: block;
    /* font-size: 2.5rem; */
    text-align: center;
    margin-bottom: 3%;
}

.improvingDiv {
    width: 30%;
    margin: auto;
    text-align: center;
}

.improvingDiv img {
    background-color: green;
    border-radius: 50%;
    display: block;
    margin: auto;
}

.improvingDiv h3 {
    margin-top: 1%;
}




/* contact line  */

.contact {
    background-color: rgba(45, 45, 158, 0.515);
    margin-top: 2%;
}

.contact p {
    font-size: 1.5rem;
    text-align: center;
    padding-top: 1%;
}

.contact div {
    display: flex;
    justify-content: center;
    padding: 1%;
}

.contact div p {
    font-size: 1.5rem;
    text-align: center;
}


/* special services  */

.rangeText h2 {
    margin-bottom: 3%;
    font-weight: 600;
    text-align: center;
}

.services {
    display: flex;
    margin-top: 2%;
    margin-bottom: 20px;
}

.services div {
    width: 30%;
    margin: auto;
    border: 3px solid grey;
    /* background: rgb(240, 227, 227); */
}

.services h2 {
    text-align: center;
    margin-top: 20%;
    /* text-shadow: -0.01px 0.1px 0 white, 0.1px 0.1px 0 white, 0.1px -0.1px 0 white, -0.1px -0.1px 0 white; */
    font-size: 1.5em;
    background-color: rgba(255, 255, 255, 0.514);
}

.services p {
    text-align: justify;
    padding: 2%;
    margin-top: 12%;
}
.service_readmore{
    display: inline-block;
    text-decoration: none;
    background-color: rgb(55, 55, 55);
    border-radius: 20px;
    padding: 0.51% 2%;
    margin: 0.5%;
    color: yellow ;
    font-weight: bold;
}

.Hematology::before {
    content: "";
    position: absolute;
    background: url(services/Hematology\ 1.jpg) no-repeat;
    width: 29.7%;
    height: 150px;
    background-size: cover;
    opacity: 0.8;
    z-index: -1;
}

.Biochemistry::before {
    content: "";
    position: absolute;
    background: url(services/Biochemistry\ 1.jpg) no-repeat;
    width: 29.7%;
    height: 150px;
    background-size: cover;
    opacity: 0.8;
    z-index: -1;
}

.Endocrinology::before {
    content: "";
    position: absolute;
    background: url(services/Endocrinology.jpg) no-repeat;
    width: 29.7%;
    height: 150px;
    background-size: cover;
    opacity: 0.8;
    z-index: -1
}

.servicesKnowMore button {
    font-size: 1.1em;
    display: flex;
    margin: auto;
    margin-top: 2%;
    background-color: rgb(55, 55, 55);
    border-radius: 20px;
    padding: 0.51% 2%;
    border: none;
    font-weight: bold;
}

.servicesKnowMore button a {
    text-decoration: none;
    color: yellow ;
}




/* footer  */

footer {
    width: 100%;
    padding-top: 3%;
    display: flex;
    text-align: center;
    background: linear-gradient(0deg, rgb(35, 136, 213) 0%, rgba(255, 255, 255, 1) 90%);
}

.Company {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.Company ul {
    list-style: none;
    margin-top: 5%;
}

.Company ul a {
    text-decoration: none;
    color: black;
}

.contactFooter {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.contactFooter p {
    margin-top: 5%;
}

.addressFooter {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.addressFooter p {
    margin-top: 5%;
    
}

.copyRight {
    background-color: rgb(55, 55, 55);
    text-align: center;
    color: yellow;
}

@media all and (max-width: 968px) {
    nav ul {
        margin-right: 0px;
        float: left;
    }
    nav .logo {
        padding-left: 30px;
        width: 100%;
    }
    nav ul li,
    nav ul ul li {
        display: block;
        width: 100%;
    }
    nav ul ul {
        top: 70px;
        position: static;
        border-top: none;
        float: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    nav ul ul li {
        border-bottom: 0px;
    }
    nav ul ul ul {
        position: static;
    }
    nav ul ul a {
        padding-left: 40px;
    }
    .show {
        display: block;
        color: yellow;
        font-size: 18px;
        padding: 0px 15px;
        line-height: 80px;
        cursor: pointer;
    }
    .show :hover {
        color: navy;
    }
    .icon {
        display: block;
        color: yellow;
        position: absolute;
        right: 40px;
        font-size: 25px;
        line-height: 70px;
        cursor: pointer;
    }
    nav ul a :hover {
        box-shadow: none;
    }
    .show+a,
    ul {
        display: none;
    }
    [id^=btn]:checked+ul {
        display: block;
    }
    #quicklinks {
        display: block;
    }
    .textFAQ ul {
        display: block;
    }
    /* background  */
    .background {
        height: 350px;
    }
    .background::before {
        height: 350px;
    }
    .background div {
        width: 45%;
    }
    .aboutContainer {
        display: flex;
    }
    /* about us section  */
    
    .about p {
        font-size: 1em;
    }
    .aboutContainer img {
        height: 200px;
    }
    /* health container  */
   
    .improvingDiv {
        margin-top: 3%;
    }
    /* contact line  */
    .contact p {
        font-size: 1.5rem;
    }
    .contact div p {
        font-size: 1.5rem;
    }
    /* special services  */
   
    .services {
        margin-top: 3%;
    }
    .Hematology::before {
        height: 150px;
    }
    .Biochemistry::before {
        height: 150px;
    }
    .Endocrinology::before {
        height: 150px;
    }
   
    .servicesKnowMore button {
        /* font-size: 1.1em; */
        display: flex;
        margin: auto;
        margin-top: 2%;
        border-radius: 10px;
        padding: 0.6%;
    }
    /* footer  */
    .Company ul {
        display: block;
    }
}


/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (max-width: 968px) and (min-width: 768px) {
    /* background  */
    .background div h2 {
        font-size: 25px;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (max-width: 768px)and (min-width: 600px) {
    .logo p {
        font-size: 1.5em;
    }
    /* background  */
    .background {
        height: 350px;
    }
    .background::before {
        height: 350px;
    }
    .background div {
        width: 50%;
        float: right;
        margin-right: 1%;
    }
    .background div h2 {
        font-size: 20px;
        margin-top: 70%;
    }
    /* about us  */
    .aboutContainer {
        display: flex;
        flex-direction: column;
        
    }
    .about {
        width: 90%;
    }
    
    
    .aboutContainer img {
        height: 150px;
    }
    /* health container  */
    .healthcontainer {
        display: flex;
        margin: auto;
    }
    .improvingHealth h2 {
        display: block;
        text-align: center;
        margin-top: 2%;
    }
   
    /* contact line  */
    
    .services {
        display: block;
    }
    .services div {
        width: 90%;
        margin-bottom: 2%;
        /* background: rgb(240, 227, 227); */
    }
    .services h2 {
        text-align: center;
        margin-top: 10%;
    }
    .Hematology::before {
        content: "";
        position: absolute;
        width: 89.5%;
        height: 130px;
        background-size: cover;
        opacity: 0.8;
        z-index: -1;
    }
    .Biochemistry::before {
        content: "";
        position: absolute;
        width: 89.5%;
        height: 130px;
        background-size: cover;
        opacity: 0.8;
        z-index: -1;
    }
    .Endocrinology::before {
        content: "";
        position: absolute;
        
        width: 89.5%;
        height: 130px;
        background-size: cover;
        opacity: 0.8;
        z-index: -1
    }
    .servicesKnowMore button {
        display: flex;
        margin: auto;
        margin-top: 2%;
        border-radius: 10px;
        padding: 0.6%;
    }
}


/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    .logo {
        padding-left: 30px;
        padding-top: 15px;
    }
    .logo p {
        font-size: 0.8em;
    }
    /* background  */
    .background {
        height: 300px;
    }
    .background::before {
        height: 300px;
    }
    .background div {
        width: 60%;
        margin-right: 0;
    }
    .background div h2 {
        font-size: 1rem;
        margin-top: 70%;
    }
    /* about us  */
    .aboutContainer {
        display: block;
        width: 80%;
        margin-left:auto;
        margin-right: auto;
    }
    .about {
        width: 100%;
    }
    .about h2{
        margin: 3% 0;
    }

    .aboutContainer img {
        display: block;
        margin: auto;
        height: 150px;
        border-radius: 50%;
    }
    /* health container  */
    .healthcontainer {
        display: block;
        margin: auto;
    }
    .improvingHealth h2 {
        display: block;
        text-align: center;
        margin-top: 2%;
    }
    .improvingDiv {
        width: 90%;
        margin-top: 3%;
    }
    .improvingDiv h3 {
        margin-top: 2%;
    }
    .improvingDiv p {
        font-size: 1rem;
    }
    /* contact line  */
    .contact p {
        font-size: 1.5rem;
        text-align: center;
        padding-top: 1%;
    }
    .contact div {
        display: flex;
        justify-content: center;
        padding: 1%;
    }
    .contact div p {
        font-size: 1.5rem;
        text-align: center;
    }
    /* special services  */
    .rangeText h3 {
        font-size: 2em;
    }
    .services {
        display: block;
        margin-top: 2%;
    }
    .services div {
        width: 90%;
        margin-bottom: 3%;
        
    }
    .services p {
        margin-top: 20%;
    }
    .services h2 {
        text-align: center;
        margin-top: 10%;
    }
    .Hematology::before {
        content: "";
        position: absolute;
        background: url(services/Hematology\ 1.jpg) no-repeat;
        width: 89.5%;
        height: 120px;
        background-size: cover;
        opacity: 0.8;
        z-index: -1;
    }
    .Biochemistry::before {
        content: "";
        position: absolute;
        background: url(services/Biochemistry\ 1.jpg) no-repeat;
        width: 89.5%;
        height: 120px;
        background-size: cover;
        opacity: 0.8;
        z-index: -1;
    }
    .Endocrinology::before {
        content: "";
        position: absolute;
        background: url(services/Endocrinology.jpg) no-repeat;
        width: 89.5%;
        height: 120px;
        background-size: cover;
        opacity: 0.8;
        z-index: -1
    }
    .servicesKnowMore button {
        font-size: 1.1em;
        display: flex;
        margin: auto;
        margin-top: 2%;
        border-radius: 10px;
        padding: 0.6%;
    }
    /* footer  */
    footer {
        width: 100%;
        display: block;
        text-align: center;
        background: linear-gradient(0deg, rgb(35, 136, 213) 0%, rgba(255, 255, 255, 1) 90%);
        padding-bottom: 10px;
    }
    footer div{
        margin-top: 10%;
    }
    .Company {
        margin-top: 5%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .Company ul {
        list-style: none;
        margin-top: 5%;
    }
    .Company ul a {
        text-decoration: none;
        color: black;
    }
    .contactFooter {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .contactFooter p {
        margin-top: 5%;
    }
    .addressFooter {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .addressFooter p {
        margin-top: 5%;
    }


}