@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

:root{
    --green:#f1b441;
    --black:#444;
    --light-color:#777;
    --box-shadow:.5rem .5rem 10px rgba(22, 160, 133, .2);
    --text-shadow:.4rem .4rem 0 rgba(0, 0, 0, .2);
    --border:.1rem solid var(--green);
}

*{
    font-family: 'Poppins', 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: #f5f5f5;
}



.header{
    padding:1rem 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);
    text-decoration: none;
}

.header .logo i{
    color: var(--green);
}
.navbar{
    margin: 0;
    padding-top: 20px;
}
.header .navbar a{
    font-size: 1.7rem;
    color: var(--light-color);
    margin-left: 2rem;
    text-decoration: none;
  
    position: relative;
}
.header .navbar a span{
    content: '';
    background-color: #f1b441;
    width: 0;
    height: 2px;
    position:absolute ;
    bottom: -5px;
    left: 0;

}
.header .navbar a:hover span{
    width: 100%;
}



.header .navbar a:hover{
    color: var(--green);
    
}

#menu-btn{
    font-size: 2.5rem;
    border-radius: .5rem;
    background: #eee;
    color:var(--green);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: none;
}

.home{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap:1.5rem;
   
}
#head{
 
    margin-top: 100px;
    background-color: #f5f5f5;
}
.col-md-4{
    margin: 0;
}
.thumbnail{
    margin-bottom: 0 !important;
}
.thumbnail img{
    width: 100%;
}
#media a {
    display: flex;
  font-size: 30px;
   align-items: center;
   justify-content: space-around;
}
#detail{
    background-color: #f1dbb2;
    padding: 50px 20px;
}
.detail-row{
    width: 98%;
    margin: auto;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
text-align: center;
}
.detail-col1 h3,.detail-col2 h3{
    background-color: #f1b441;
    padding: 20px;
    margin: 0;
}
.detail-col1{
    flex-basis: 30%;
    border: 1px solid #ccc;
  
}
.detail-col1 li{
text-align: left;
padding: 10px;
font-size: 16px;
font-weight: 600;
list-style: none;
background-color: #fff;
margin: 5px 10px;

}

.detail-col1 li i{
    color: #000;
    font-size: 18px;
    padding-right: 5px;
}

.detail-col2{

    flex-basis: 66%;
    border: 1px solid #ccc;
}
.detail-col2 li{
    text-align: left;
    padding: 10px;
    font-size: 18px;
}
.title{
    text-align: center;
    padding: 0 0 30px;
    position: relative;

}
.title h1::after{
content: '';
font: 50px;
width: 200px;
height: 5px;
background-color: #f1b441;
position: absolute;
top: 50px;
left: 50%;
transform: translateX(-50%);
}
.gallery{
    background-color: rgb(226, 222, 222);
    padding: 50px 0;
}
.image-gallery{
    width: 80%;
    margin:  auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    grid-gap: 30px;
}
.image-gallery img{
    width: 250px;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}
.image-gallery img:hover{
    transform: scale(0.8) rotate(-15deg);
    border-radius: 20px;
    box-shadow:0 5px 10px rgba(0, 0, 0, .2)

}
.full-img{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .9);
    position:fixed;
    top:15%;
    left: 0;
    display: none;
    align-items:flex-start;
    justify-content: center;
    z-index: 100;
}
.full-img img{
    margin-top: 25px;
    width: 600px;
    height: 500px;
}
.full-img span{
    background-color: #f1b441;
    padding: 0 10px;
    border-radius: 30px;
    position: absolute;
    top:5%;
    right:5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap:2rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color:var(--black);
    padding: 1rem 0;
}

.footer .box-container .box p{
    display: block;
    font-size: 1.5rem;
    color:var(--light-color);
    padding: 1rem 0;
   
}
.footer .box-container .box p:hover i{
    transform: scale(2);
   
}
.footer .box-container .box p a{
    text-decoration: none;
    color: var(--light-color);
}
.footer .box-container .box p:hover a{
    border-bottom: 1px solid #f1b441;
    color: #f1b441;
   
}
.footer .box-container .box  .doctor{
    font-weight: bold;
}
.footer .box-container .box p span{
    color: #f1b441;
    font-weight: bold;
}

.footer .box-container .box p i{
    padding-right: .5rem;
    color:var(--green);
}



.footer .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);
}

.footer .credit span{
    color:var(--green);
}









/* media queries  */
@media (max-width:1024px){
    .full-img img{
        width: 700px;
        height: 500px;
}



}
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding: 2rem;
    }

    section{
        padding:2rem;
    }
   
}


@media (max-width:768px){

    #menu-btn{
        display: block;
    }

    .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;
    }
    .image-gallery img{
        width: 100%;
    }
    .full-img img{
        width: 400px;
        height: 350px;
        margin-top: 90px;
}
}

@media (max-width:540px){
    .detail-col1{
        flex-basis: 100%;
    }
    .detail-col2{
        flex-basis: 100%;
    }
}

@media (max-width:450px){

    html{
        font-size: 50%;
    }
    #banner{
        height: 400px;
    }
   .carousel-inner{
        height: 200px;
    }
    .carousel-inner img{
        width:300px;
    }
    .clinic-title{
        font-size: 24px;
        bottom:60%;
    }
   .gallery{
      padding:120px 50px 0;
   }
   .footer .credit{
       font-size: 14px;
   }
  .clinic-title{
      font-size: 40px;
      bottom:50%
  }
  .iframe{
      width: 100%;
  }
 .full-img{
     display: none;
 }
 .fullImgBox{
    display: none;
 }
 .image-gallery img{
     width: 100%;
 }
 .gallery{
     padding: 20px 0;
 }
 .full-img img{
     width: 300px;
     height: 400px;
     margin-bottom: 0px;
 }
 .detail-col1{
  flex-basis: 100%;
  margin-bottom: 20px;
 }
 .detail-col2{
    flex-basis: 100%;
  margin-bottom: 20px;


 }
}
@media (max-width:280px){
    .full-img img{
        width: 200px;
        height: 300px;
    } 
    
}