*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 }
 body{
    background-color: #f4f0ed;
 }

 #preloader{
    background: white url(MediaWebp/PreLoader.gif) no-repeat 50% 50%;
    background-size: 30vh;
    height: 100vh;
    width: 100%;
    z-index: 100000;
    position: fixed;
}
 
 .home{
    height: fit-content;
 }

 
 .nav{
   display: flex;
   width: 100%;
   justify-content: space-between;
   padding: 2vh 30vh;
   align-items: center;
   position: relative;
   gap: 4rem;
   box-sizing: border-box;
}

.services{
 display: flex;
 width: fit-content;
 gap: 2rem;
 align-items: center;
}
.nav a{
   text-decoration: none;
   justify-content: space-between;
   align-items: center;
   font-size: 1rem;
   color:black;
   font-weight: 500;
   cursor: pointer;
   transition: 0.3s ease;
}

.nav a:hover{
   color:  #666;
   transform: translateY(-5px);
}

.logo{   
   position: relative;
   height: fit-content;
   cursor: pointer;
   transition: 0.5s ease;
 }
 
 .logo a{
    font-size: 1.5rem;
    font-weight: 900;
    color: rgb(2, 2, 2);
 }
 .logo a:hover{
    color: rgb(80, 103, 80);
 } 
 
 #download{
    background-color: rgb(80, 103, 80);
    color: aliceblue;
    padding: 10px 20px ;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
 }
 
 #download:hover{
    background-color: rgb(109, 69, 34);
    color: rgb(255, 255, 255);
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.842);
 }

 main {
   display: flex;
   justify-content: center;
   position: relative;
   top: 10vh;
   width: 100%;
   height: fit-content;
}


 .heading{
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 65px;
   width: 100%;
   text-align: center;
   opacity: 1;
   transform: translateY(20px);
   animation: fadeInUp 1s ease-out forwards;
   transform: translateX(-100%);
   
 }



 @keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(20px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}



 .heading h1{

   font-size: 6rem;
   font-weight: 800;
   color: rgb(43,41,41);
   margin-bottom: 20px;
 }

 .heading p {
   font-size: 1.3rem;
   color: rgb(10, 10, 10);
   line-height: 1.4;
   word-spacing: 2px;
   font-weight: 600;

}

.head-vid{
   margin: 50px 0px 0px;
   width: 70%;
   height: 70vh;
}

.head-vid video{
   border-radius: 30px;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
}

.story{
   text-align: justify;
   padding:65px;

}



.vision h1,
.begin h1,
.roots h1,
.legacy h1,
.bridge h1,
.open-pages h1{
   margin-top: 10vh;
   font-size: 2rem;
   color: #363636;
   
}

.vision p,
.begin p,
.roots p,
.legacy p,
.bridge p,
.open-pages p{
   font-size: 1.3rem;
   font-weight: 500;
   margin-bottom: 5vh;
}


.begin, .roots, .legacy {
  
   display: flex;
   flex-direction: column;
}

.vision, .bridge, .open-pages{
  
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   text-align: right;
}



.reach-us-box{
   background: url(MediaWebp/connect\ \(2\).webp);
   background-position: center;
   background-size: cover;
   margin: 60px 0px 0px;
   box-sizing: border-box;
   padding: 60px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   height: fit-content;
}

.reach-us-text {
  
   max-width: 60%;
}

.reach-us-text h1{
  
   font-size: 3.8rem;
   color: rgba(43,41,41,255);
   font-weight: 800;
   max-width: 70%;
   margin-bottom: 30px;
}

.reach-us-text p{
  
   font-size: 1.3rem;
   font-weight: 500;
   max-width: 70%;
   margin-bottom: 30px;
}

.connect{
    padding: 12px 80px;
   border-radius: 40px;
   border: none;
   background-color: rgb(80, 103, 80);
   font-size: 1.3rem;
   color: whitesmoke;;
}

.connect:hover{
   background-color: rgb(109, 69, 34);
   color: aliceblue;
   transform: translateY(-5px);
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.842);
}



.footer {
    width: 100%;
    background-color: rgb(80, 103, 80);
    padding: 20px; 
}

 .footer-top{
    display: flex;
    justify-content: space-between;
    margin-top: 5vh;
    margin-bottom: 5vh;
    width: 100%;
   }

  .health-story-box {
    height: 100%;
  }
  
  .health-story-title {
    text-align: left;
    margin-bottom: 3vh;
    font-size: 2rem;
    color: rgb(232, 227, 227);
  }
  
  .about-us-text {
    max-width: 350px;
    height: 100%;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
    color: #979a9d ;
    overflow-y: auto;  
    padding-right: 10px; 
  }


  .health-story-box a{
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    margin-top: 3vh; 
    padding: 8px 0;
    transition: all 0.3s ease;
    align-self: center; 
    color: rgb(232, 227, 227);
  }

  .health-story-box a:hover {
      color: rgb(138, 136, 136) !important;
      transform: translateY(-5px);
    }


  .footer-left{
    display: flex;
    gap: 10rem;
  }

   .address, .contacts{
    justify-content: right;
    text-align: left;
    color: #979a9d;
   }
  
   .address h3, .contacts h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
   }

  .address p a, .address p, .contacts p, .contacts p a{
      max-width: 250px;
      text-decoration: none;
      color: #939292;
      gap: 1rem;
      transition: 0.3s ease;
  }


  .contacts p a:hover, .address p a:hover{
      color: rgb(250, 246, 246);
      transform: translateY(-5px);
    }

  .socials{
      flex-direction: column;
      justify-content: center;
  }

  .socials h3{
      color: #979a9d;
      font-size: 1.4rem;
      margin-bottom: 2rem;

  }
  .icons ul {
      display: flex;
      gap: 1rem;
      list-style: none;
      text-decoration: none;
      font-size: 1.5rem;
      transition: 0.3 all ease;
  } 

  .icons ul li a{
    text-decoration: none;
    color: #939292;
    transform: translateY(-5px);
  }

    .icons { 
      font-size: 1rem;
      font-weight: 500;
      color: #8f8d8d;
    }
    
    .icons ul li a:hover{
      color: rgb(236, 233, 233);
    }
  
    .icons ul li:hover{
      color: rgb(236, 233, 233);
      transform: translateY(-5px);
    }

    .footer-bottom{
      display: flex;
      position: relative;
      bottom: 5px;
    }

    .registry {
      width: 100%;
      text-align: center;
      bottom: 20px;
    }

  .registry p{
      font-size: 1rem;
      color: #939292;
   }

/*Media Sizes*/


@media (max-width: 1204px) {

   
   .home{
      background-image: url(Media/connect\ \(2\).png);
      background-position: center;
      background-size: cover;
   }
   
   .nav{
    padding: 2vh 20vh;  
   }
   .nav a{
      font-size: 0.9rem;
   }
   .services{
      gap: 1rem;
    }

   .logo a{
      font-size: 1.2rem;
   }

   #download{
      font-size: 0.9rem;
    
   } 
   .reach-us-text h1{
      font-size: 3.5rem;
   }
   .reach-us-text p{
      font-size: 1.2rem;
   }
   .connect{
      font-size: 1rem;
   }

    
    .health-story-title {
        margin-bottom: 10px;
        font-size: 1.7rem;
      }
      
      .about-us-text {
        max-width: 370px;
        font-size: 0.9rem;
      }
      

     .footer-left{
        flex-direction: column;
        gap: 2rem;
        height: fit-content;
        width: fit-content;
        align-items: flex-end;
      }
  
       .address, .contacts{
        justify-content: right;
       }
      
       .address h3, .contacts h3 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
       }
     
     .address p a, .address p, .contacts p, .contacts p a{
        max-width: 250px;
        gap: 1rem;
        font-size: 0.9rem;
     }
     
     .socials{
        width: 100%;
     }
     
     .socials h3{
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
     
     }
     .icons{
      display: flex;
      justify-content: center;
     }
     .icons ul li{
        font-size: 1.2rem;
     }

     
   .registry p{
    font-size: 0.7rem;
 }
}

@media (max-width: 1024px) /*Tablet*/

{

   .home{
       background-image: url(Media/connect\ \(2\).png);
      background-position: center ;
      background-size: cover;
   }

   .nav{
   padding: 2vh 10vh;
   }
   
   .nav a{
      font-size: 0.8rem;
     }
   .logo a{
      font-size: 1.2rem;
   }
   #download{
      font-size: 0.8rem;
    
   } 

   .heading h1{
      font-size: 5rem;
   }

   .heading p{
      font-size: 1.2rem;
   }

  
   .vision p,
   .begin p,
   .roots p,
   .legacy p,
   .bridge p,
   .open-pages p{
      font-size: 1.2rem;
      font-weight: 500;
   }

   .reach-us-text h1{
      font-size: 3rem;
   }
   .reach-us-text p{
      font-size: 1.2rem;
   }
   .connect{
      font-size: 1rem;
      padding: 2vh 10vh;
   }

   .icons ul li{
    font-size: 1.2rem;
 }
.icons{
  display: flex;
  justify-content: center;
}
 .address p a, .address p, .contacts p, .contacts p a{
 font-size: 0.9rem;
 }
   .registry p{
      font-size: 0.7rem;
   }
}



@media(max-width: 900px) /*Phone-L*/
{
   body, html {
      overflow-x: hidden;
      width: 100%;
    }

     #preloader{
    background: rgb(255, 255, 255) url(Media/PreLoader.gif) no-repeat 50% 46%;
    background-size: 30vh;
    height: 100vh;
    width: 100%;
    z-index: 10000;
    position: fixed;
}
    .home{
      background-image: url(Media/connect\ \(2\).png);
      background-position: 2vh;
      background-size: cover;
      height: fit-content;

    }

    .nav{
      padding: 2vh 3vh;
    }
    .nav a{
      font-size: 0.7rem;
    }
    .logo a{
      font-size: 1.2rem;
    }
    #download{
      padding: 5px 10px;
      font-size: 0.7;
    }

    main{
      top: 15vh;
    }
    .heading{
      position: relative;
      bottom: 10vh;
      padding: 20px ;
      margin-bottom: 0vh;

    }

    .heading h1{
      margin-bottom: 0;
      font-size: 3rem;
    }


    .heading p{
      font-size: 1rem;
    }
    .heading video, .head-vid{
      display: none;
    }
   
    .story{
      margin-top: 5vh;
      padding: 3vh;
    }
   .begin{
      margin-top: 3vh;
      
   }


   .vision h1,
   .begin h1,
   .roots h1,
   .legacy h1,
   .bridge h1,
   .open-pages h1{
      margin-top: 0px;
      font-size: 1.5rem;
      color: #363636;
      
   }


   .vision p,
   .begin p,
   .roots p,
   .legacy p,
   .bridge p,
   .open-pages p{
      font-size: 1rem;
      font-weight: 500;
      margin-bottom: 50px;
      text-align: left;
   }


   .reach-us-box{
      padding: 3vh;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
   }

   .reach-us-text{
      max-width: 100%;
   }

   .reach-us-text p{
      font-size: 1rem;
   }
   .letsconnect button{
      font-size: 1rem;
      padding: 10px 80px;
  
   }

 .socials{
       width: 100%;
       text-align: center;
      }
     .socials h3{
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
     
     }
     .icons ul li {
        font-size: 1rem;
     }
  
      
      .health-story-title {
        font-size: 1.7rem;
      }
      
    .about-us-text {
      max-width: 180px;
      font-size: 0.7rem;
      word-spacing: 0;
      line-height: normal;
    }
      
      .health-story-box a{
        font-size: 0.9rem; 
        margin-top: 5vh; 
     }
     
      .footer-left{
        gap: 2rem;
   
      }
       .address h3, .contacts h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
       }
     
     .address p a, .address p, .contacts p, .contacts p a{
        max-width: 200px;
        font-size: 0.9rem;
        gap: 0.8rem;
     }
     
      .registry {
        bottom: 10px;  
      }
     
     .registry p{
        font-size: 0.6rem;
     }

}

