:root{
    /* --primary-font: 'Poppins', sans-serif; */
    --primary-font: 'Frank Ruhl Libre', serif;
    --primary-color:#09371F;
    --secondary-color:red;
    --animate-duration: 1000ms;
    --animate-delay: 0.5s;
}

html{
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    font-family: var(--primary-font);
    font-weight: 400;
   }
   .fixed-top {
    top: -40px;
    transform: translateY(40px);
    transition: transform .3s;
}

   body{
    background-color: rgb(242,237,219);
   }
   .primary-color{
    color: var(--primary-color);
   }

   .primary-bg-color{
    background-color: var(--primary-color);
   }
   .secondary-color{
    color: var(--secondary-color);
   }
   .secondary-bg-color{
    background-color: var(--secondary-color);
   }

   .mega-btn{
    padding: 1rem 2rem;
    font-size: 2rem;
    text-decoration: none;
    background-color: var(--primary-color);
    border-radius: 0.5rem;

   }

   h1{
    font-size: 2.8rem;
   }
   h2{
    font-size: 2.6rem;
   }
   h4{
    font-size: 1.8rem;
   }
   p{
    font-size: 2rem;
   }
   .servicesbox {
    min-width: 320px ;
    margin-left: 10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.heading{
    background-color: #09371F;
    width: fit-content;
    border-radius: 20px;
    padding: 5px 20px;
    font-size: 4rem;
    color: #fff;
}

.minusm {
    margin-top: -20px;
}

.servicesbox:hover {
    /* padding: 20px; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 20px;

}

.imgservice {
    width: 220px;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.midtxt {
    font-size: 20px;
    color: #000;
    font-weight: 400;
    text-align: center;
    padding: 5px 0px;
    /* margin-top: 5px; */
}

.servicepara{
    margin-bottom:10px ;
    font-size: 2rem;
}

.pbutton {
    color: #fff;
    /* font-family: 'Berkshire Swash', cursive; */
    /* margin-top: 50px; */
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--primary-color);
    text-decoration: none;
    font-size: 20px;
    /* font-weight: 600; */
}

.clinicimage{
    width: 90%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
}

@media (max-width: 720px) {

    .servicesbox {
        margin-left: 5px;
        padding: 10px;
        min-width: 200px ;

    }

    .imgservice {
        width: 160px;
        height: 160px;
    }

    .midtxt {
        font-size: 18px;
    }

    .pbutton {
        padding: 10px;
        font-size: 18px;
    }

}

@media (max-width: 480px) {
    .clinicimage{
        
        height: 200px;
    }
    .servicesbox {
        margin-left: 0px;
        padding: 10px;
        min-width:160px
    }

    .imgservice {
        width: 130px;
        height: 130px;
    }

    .midtxt {
        /* margin-top: 20px; */
        font-size: 18px;

    }

    /* .btnbox {} */

    .pbutton {
        padding: 10px;
        font-size: 14px;
    }
    .heading{
        font-size: 3rem;
    }
}

   @media (max-width:600px) {

    html{
        font-size: 40%;
    }
   }