 /* CSS reset */
*, *::before, *::after {
    box-sizing: border-box;
}
  
* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-color: #F6F8FF;
    font-family: "Ubuntu Sans", sans-serif;
    width: 100%;
    font-weight: 500;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
  
p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

.headerDiv{
    background-color: #F6F8FF;
    width: 100%;
    height: 100px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 10000;
}

.logo img{
    height:75px;
}
  
.navBar{
  background-color: #CCCED7;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 10px;
  border-radius: 50px;
  padding: 0vw 1.5vw;
  height: 54px;
  contain: content;
}

.navTab{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

.navTab li{       
  border-radius: 50px;       
  height: 100%;
  white-space: nowrap;
  
}

.navTab li a{
    color: #000;
    text-decoration: none;
    transition: color 0.5s;  
}

.navTab li a:hover{
    color:#FFF;
    transition: color 0.5s;
}

.contentDiv{
    padding-top: 10.3%;
    padding: 10.3% 100px 0px;
    display: flex;
    flex-direction: column;
    gap: 20vh;
}

.baner{
    margin-top: 3vh;
    /* margin-bottom: 65px; */
    position: relative;
    width: 100%;
    height: 100%;
}

.baner img{
    width: 90vw;
}

.banerText{
    color: #FFF;
    position: absolute;
    z-index: 999;
    left: 250px;
    top: 190px;
    display: none;
}

.banerText .slogan{
    font-weight: bolder;
    font-size: 40px;
    white-space: nowrap;
}

.banerText .companyName{
    font-size: 64px;
    white-space: nowrap;
}

.banerText .name{
    font-size: 44px;
    white-space: nowrap;
}

.banerText .servicesName{
    font-size: 40px;
    white-space: nowrap;
}

.banerImg img{
    position: absolute;
    z-index: 1;
}

.banerImgPhoto img{
    position: absolute;
    z-index: 2;
    left: 900px;
}

.banerImg img,
.banerImgPhoto img{
    bottom: 0;  
}

.servicesPriceList{
    font-size: 22px;
    text-align: center;
    margin: 0 auto;
}

.servicesList{
    display: flex;
    gap: 50px;
}

.service{
    background-color: #CCCED7;
    flex: 1 1 0;
    min-width: 0;
    padding: 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    gap: 20px;
}

.serviceImg{
    width: 300px;        
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
}

#physioterapyImg{
    background-image: url("./assets/physioterapyImg.jpg");
}

#shockWaveImg{
    background-image: url("./assets/shockwaveimg.jpg");
}

#homeVisitImg{
    background-image: url("./assets/homeVisitImg.jpg");
}

.servicesDesc h1,
.servicesPriceList h1,
.personalDesc h1,
.contact h1{
    text-align: center;
    font-size: 34px;
    color: #314468;
    margin-bottom: 50px;
}

.personalDesc{
    margin: 0 auto;
    padding: 0% 15%;
}

.about{
    display: flex;
    gap: 30px;
}

.personalDesc .personalPhoto img{
    height: 500px;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 24px;
}

.personalDesc .divider .dividerBody{
    background-color: #4D7298;
    height: 500px;
    width: 8px;
    border-radius: 30px;
}

.personalDesc .personalText{
    text-align: justify;
    font-size: 20px;
    line-height: 40px;
}

.personalDesc .personalText h2, h3{
    color: #24324d;
    text-align: center;
    font-size: 26px;
    padding: 30px;
}

.contact{
    width: 1000px;
    margin: 0 auto;
}

.contactContainer{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contactInfo{
    font-weight: bold;
    font-size: 20px;
}

.contactInfo ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contactInfo ul li{
    display: flex;
    gap: 20px;
    align-items: center;
}

.map iframe{
    border-radius: 30px;
}

footer{
    margin-top: 100px;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: #CCCED7;
    color: #363636;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    font-weight: bold;
}

.socialmediaLinks{
    display: flex;
    justify-content: center;
    gap: 10px;
}

footer a img{
    width: 50px;
}

.socialmediaLinks img{
    transition: opacity 0.3s;
}

.socialmediaLinks img:hover{
    opacity: 0.4;
}

footer a{
    color: #1954C2;
    text-decoration: none;
}

footer a:hover{
    color: #0d2c66;
}

/* Mobile view */
@media screen and (max-width: 768px){
    body{
        width: 100%;
        margin: 0;
    }
    
    .headerDiv{
        flex-direction: column;
        align-content: center;
        width: 100%;
        height: auto;
        padding: 10px 20px;
        position: fixed;
    }

    .logo{
        text-align: center;
    }

    .navTab{
        font-size: 16px;
    }

    .contentDiv{
        padding: 20% 0 0;
    }

    .baner{
        background: linear-gradient(133deg,rgba(92, 134, 212, 1) 28%, rgba(0, 161, 170, 1) 50%, rgba(102, 181, 128, 1) 80%); 
        width: 100%;
        height: 100%;
        padding: 20vh 5vw 10vh 5vw;
        margin: 0;     
        box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 24px;
        display: flex;           
        flex-direction: column;   
        align-items: flex-start;
        min-height: unset;
        margin-bottom: 0px; 
    }

    .baner img{
        display: none;
    }

    .banerText{  
        color: #FFF;
        position: relative;
        display: block;
        left: 2%;
        top: 35%;
        width: 100%;  
        max-width: 95%;
        text-align: center;    
    }

    .slogan, .servicesName{
        color: #FFF;
    }

    .banerText .slogan{
        font-size: 20px;
        white-space: normal;
    }

    .banerText .companyName{
        font-size: 36px;
        white-space: normal;
    }

    .banerText .name{
        font-size: 26px;
        white-space: normal;
    }

    .banerText .servicesName{
        font-size: 18px;
        white-space: normal;
    }

    .banerImg, .banerImgPhoto{
        display: none;
    }

    .servicesDesc h1,
    .servicesPriceList h1,
    .personalDesc h1,
    .contact h1{
        font-size: 26px;
    }

    .servicesList{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .service {
        padding: 20px;
        width: 70%;
        height: 40%;
        gap: 1px;
    }

    .service .serviceImg{
        width: 90%;
    }

    .service h3 {
        font-size: 18px;
    }

    .service p {
        font-size: 12px;
    }

    .servicesPriceList{
        font-size: 16px;
    }

    .about{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0% 10%;
    }

    .personalDesc{
        padding: 0%;
    }

    .personalDesc .personalPhoto img{
        height: 20rem;
    }

    .personalDesc .personalText p{
        font-size: 16px;
        line-height: 30px;
        text-align: left;
    }

    .personalDesc .personalText ul{
        font-size: 16px;
        text-align: left;
    }

    .divider{
        display: none;
    }

    .contact{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0% 10%;
        width: 100%;
    }

    .contact ul{
        font-size: 18px;
    }

    #map{
        width: 80vw;
    }
}

