@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');


:root{
--green:#0f81b6;
--black:#242222;
--light-color:#746e6e;
--box-shadow:.5rem .5rem 0  #c2ccc4;
--text-shadow:.4rem .4rem 0 #c5dbeb;
--border:.2rem solid  #54a3c7 ;
}

*{
    font-family: "Oswald", sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-transform: capitalize;
    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:#e4f2fa;
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    text-shadow: var(--text-shadow);
    text-transform: uppercase;
    color: var(--black);
    font-size: 5rem;
    letter-spacing: 4rem;
}

.heading span{
    text-transform: uppercase;
    color: #025eaa;
    letter-spacing: 1rem;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem;
    padding-left: 1rem;
    border: var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    color:#aa6799;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn span{
    padding: 7rem 1rem;
    border-radius: .5rem;
    background:#fff;
    color: #fff;
    margin-left: .5rem;
}

.btn:hover span{
    color:#79e658;
    background: #fff;
    margin-left: 1rem;
}






.header{
    padding: 2rem 9%;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.header .logo{
    font-size: 2.5rem;
    color: var(--black);
}

.header .logo i{
    color:#3762ee;
}

.header .navbar a{
    font-size: 1.7rem;
    color: #5e5c5c;
    margin-left: 2rem;
    align-items: center;
}

.header .navbar a:hover{
    color:#3a75c2;
}

.header .dropdown {
    float: left;
    overflow: hidden;
    margin-left: 2rem;
    align-items: center;
  }
  
 .header .dropdown .dropbtn {
    font-size: 1.7rem;  
    border: none;
    outline: none;
    color: rgb(65, 63, 63);
    padding: 3.5px 16px;
    background-color: inherit;
    font-family: inherit;
    margin-left: 2rem;
    align-items: center;
  }
  
  .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #fff;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #f9f9f9;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }



.btn {
    background:#fff; /* Blue background */
    border-radius: .5rem; /* Remove borders */
    color: #7594eb; /* White text */
    padding: 1rem 1.5rem; /* Some padding */
    font-size: 2.5rem; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
    display: none; 
}
  
  /* Darker background on mouse-over */
  .btn:hover {
    background-color: #e4dbdb;
  }


  
.home{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.3rem;
    padding-top: 10rem;
}


.home .image{
    flex:.3 1 20rem;
}

.home .image{
    width:100%;
}
.home .content{
    flex:1 1 45rem;

}
.home .image:hover{
    transform: scale(1.2);
}

.home .content h3{
    font-size: 4.5rem;
    color: #020202;
    line-height: 1.8;
    text-shadow:var(--text-shadow);
}


.home .content p{
    font-size: 1.6rem;
    color:#020202;
    line-height: 1.8;
    padding: 1rem 0;
   
}

.button {
    background-color: #5691e9;
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
  }
  
  .button2:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
  }

.icons{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 10rem;
}


.icons .image{
    flex:.3 1 20rem;
}

.icons .image{
    width:100%;
}

.icons .image:hover{
    transform: scale(1.2);
}

.icons .content{
    flex:1 1 45rem;
}

.icons .content h3{
    font-size: 4.5rem;
    color: #020202;
    line-height: 1.8;
    text-shadow:var(--text-shadow);
}

.icons .content p{
    font-size: 1.6rem;
    color:#020202;
    line-height: 1.8;
    padding: 1rem 0;
}

.services{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 10rem;
}


.services .image{
    flex:.3 1 20rem;
}

.services .image{
    width:100%;
}
.services .image:hover{
    transform: scale(1.2);
}
.services .content{
    flex:1 1 45rem;

}

.services .content h3{
    font-size: 4.5rem;
    color: #020202;
    line-height: 1.8;
    text-shadow:var(--text-shadow);
}
.services .content p{
    font-size: 1.6rem;
    color:#020202;
    line-height: 1.8;
    padding: 1rem 0;
}

.about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 10rem;
}


.about .image{
    flex:1 .3 20rem;
}

.about .image{
    width:100%;
}
.about .image:hover{
    transform: scale(1.2);
}
.about .content{
    flex:1 1 45rem;

}

.about .content h3{
    font-size: 4.5rem;
    color: #020202;
    line-height: 1.8;
    text-shadow:var(--text-shadow);
}
.about .content p{
    font-size: 1.6rem;
    color:#020202;
    line-height: 1.8;
    padding: 1rem 0;
}




.doctors{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 10rem;
}




.doctors .image{
    flex:1 .3 20rem;
}
.doctors .image{
    width:100%;
}
.doctors .content{
    flex:1 1 45rem;
}

.doctors .image:hover{
    transform: scale(1.2);
}

.doctors .content h3 {
    font-size: 4.5rem;
    color: #020202;
    line-height: 1.8;
    text-shadow:var(--text-shadow);
}

.doctors .content p{
    font-size: 1.6rem;
    color:#020202;
    line-height: 1.8;
    padding: 1rem 0;
}


.footer{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 10rem;
}


.footer .image{
    flex:1 .3 20rem;
}

.footer .image{
    width:100%;
}

.footer .image:hover{
    transform: scale(1.2);
}

.footer .content{
    flex:1 1 45rem;
    margin-left: 4px;
}

.footer .content h3{
    font-size: 4.5rem;
    color: #020202;
    line-height: 1.8;
    text-shadow:var(--text-shadow);
}

.footer .content p{
    font-size: 1.6rem;
    color:#020202;
    line-height: 1.8;
    padding: 1rem 0;
}


 .credit{
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color: var(--light-color);
    border-top: 1rem solid rgba(0, 0, 0,.1);
}

.credit span{
    color: var(--green);
}











  @media (max-width:991px){
    html{
        font-size: 55%;
    }
    .header{
        padding: 2rem;
    }
  }



@media (max-width:768px){
    .btn{
        display: initial;
    }
    .header .navbar{
        position: absolute;
        top: 115%; right: 2rem;
        border-radius: .5rem;
        box-shadow: var(--box-shadow);
        width: 30rem;
        border: var(--border);
        background: #fff;
        transform: scale(0);
        opacity: 0;
        transform-origin: top right;
        transition: none;
    }

    .header .navbar.active{
        transform: scale(1);
        opacity: 1;
        transition: .2s ease-out;
}

    .header .navbar a{
        font-size: 2rem;
        display: block;
        margin: 2.5rem;
    }
    .header .navbar .dropdown .dropdown-content a {
        font-size: 2rem;
        display: block;
        margin: 2.5rem;
    }
}



@media (max-width:450px){
    html{
        font-size: 50%;
    }
}


@media screen and (min-width: 992px) {
    #viewport {
        overflow: hidden;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }
    #js-scroll-content {
        position: absolute;
        overflow: hidden;
        width: 100%;
        top: 0;
        left: 0;
    }
}
