@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/samarkan?styles=6066,6065');

:root {
    --burgandy: #800020;
    --gray: #444444;
    --color: #800020;
    --border: .2rem solid #800020;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    transition: all .2s ease-out;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

section {
    padding: 2rem 9%;
}

section:nth-child(even) {
    background: white;
}

.heading {
    text-align: center;
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: .1rem;
}

.heading span {
    text-transform: uppercase;
    color: #800020;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem;
    padding-left: 1rem;
    border: var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: bold;
    background: #800020;
}

.btn span {
    padding: .7rem 1rem;
    border-radius: .5rem;
    background: #2f2f2f;
    color: #fff;
    margin-left: 5rem;
}

.btn:hover {
    background: #ffffff;
    color: #800020;
}

.btn:hover span {
    color: #ffffff;
    background: #800020;
    margin-left: 1rem;
}


/*header start*/

.slogan {
    display: block;
}

.slogan img {
    width: 100%;
    height: 45px;
    max-width: 30rem;
    float: right;
    margin: 5px;
    border-radius: 1rem;
}

.slogan a {
    width: 285px;
    font-size: 1.5rem;
    font-style: normal;
    border-radius: .5rem;
    background: #800020;
    color: #eee;
    padding: 1rem;
    float: left;
    margin: 6.5px;
}

/*marquee start*/

marquee {
    width: 100%;
    background-color: #ffffff;
    color: #800020;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}

/*marquee end*/

header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 7%;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background-color: #800020 !important;

}

.logo {
    width: 300px;
}

.logo img {
    width: 300px;
    height: 80px;
}

.navbar a {
    color: #ffffff;
    font-size: 2rem;
    margin: 1rem;
    position: relative;
    transition: 0.5s;
}

.navbar a:hover {
    color: #9c9393;
}

.navbar a::after {
    content: "";
    background-color: var(--maincolor);
    width: 0;
    position: absolute;
    height: 0.2rem;
    left: 0;
    margin-top: 0.5rem;
    top: 100%;
    transition: 0.5s;
}

.navbar a:hover::after {
    width: 100%;
}

#menu-bars {
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    margin-right: 1rem;
    display: none;
}

#menu-bars:hover {
    color: #9c9393;
}

/*header end*/

/*homehealthcare start*/

.homehealthcare .content h3{
    font-size: 3.5rem;
    color:#800020;
    line-height: 1.8;
    text-shadow: var(--text-shadow);
}

  .homehealthcare .image{
      flex:100%;
  }

  .homehealthcare .image img{
      width: 100%;
  }

/*homehealthcare end*/

/*homehealthcare footer start*/

.homehealthcare .box-container{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
      gap:2rem;
  }

  .homehealthcare .box-container .box h3{
      font-size: 2.5rem;
      color:#800020;
      padding: 1rem 0;
  }

  .homehealthcare .box-container .box a{
      display: block;
      font-size: 1.5rem;
      color:#800020;
      padding: 1rem 0;
  }
  .homehealthcare .box-container .box a:hover{
    color: #9c9393;
  }

  .homehealthcare .box-container .box a i{
      padding-right: .5rem;
      color:#800020;
  }

  .homehealthcare .box-container .box a:hover i{
      padding-right: 2rem;
      color:#9c9393;
  }

  /*homehealthcare footer end*/

/*emergencyandicu2 start*/

.homehealthcare2 .image{
    flex:100%;
}

.homehealthcare2 .image img{
    width: 100%;
    height: auto;
}

/*homehealthcare2 end*/

/*quick link start*/

.quicklink .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2rem;
}

.quicklink .box-container .box h3 {
    font-size: 2.5rem;
    color: #800020;
    padding: 1rem 0;
}

.quicklink .box-container .box a {
    display: block;
    font-size: 1.5rem;
    color: #800020;
    padding: 1rem 0;
}

.quicklink .box-container .box a:hover {
    color: #9c9393;
}

.quicklink .box-container .box a i {
    padding-right: .5rem;
    color: #800020;
}

.quicklink .box-container .box a:hover i {
    padding-right: 2rem;
    color: #9c9393;
}

.nabh img {
    width: 25vh;
    height: 20vh;
    max-width: 30rem;
}

.year img {
    width: 20vh;
    height: 20vh;
    max-width: 30rem;
}

/*quick link end*/

/*up button start*/

#myBtn {
    display: none;
    position: fixed;
    bottom: 75px;
    right: 5px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #800020;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: #9c9393;
}

/*up button end*/

/*footer start*/

.footer-bottom {
    background-color: #800020;
    height: 100px;
}

.footer-bottom p {
    padding-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
}

.footer-bottom h3 {
    padding-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #f8df01;
}

/*footer end*/


/* media queries start */

@media (max-width:991px) {


    html {
        font-size: 55%;
    }


    #menu-bars {

        display: initial;
        float: right;
    }

    header {
        padding: 2rem;
        background-color: #ffffff;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        height: 100vh;
        width: 100%;
        background-color: #800020;
    }

    .navbar.active {
        left: 0;
        color: #0091ff;
    }

    .navbar a {
        display: block;
        margin: 2rem;
        padding: 1rem;
        border: 1px solid var(--textcolor);
    }

    .logo img {
        width: 250px;

    }

    #myBtn {
        display: none;
        position: fixed;
        bottom: 75px;
        right: 5px;
        z-index: 99;
        border: none;
        outline: none;
        background-color: #800020;
        color: #fff;
        cursor: pointer;
        padding: 5px;
        border-radius: 4px;
    }

    #myBtn:hover {
        background-color: #9c9393;
    }



    .doc-poster img {
        width: 100%;
        height: 55vh;
        border: 0.7rem solid #800020;
    }
}



@media (max-width: 320px) {

    html {
        font-size: 50%;
    }

    #menu-btn {
        display: initial;
        float: right;
    }

    .slogan a {
        width: 250px;
    }

    .slogan img {
        width: 200px;
        height: 30px;
    }

    header {
        width: 100%;
        height: 50px;
    }

    .logo img {
        width: 200px;
        height: 50px;
    }

}

/* media queries end */
