*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: -apple-system, "Segoe UI", sans-serif
}
body{
    background-color: #f4f0ed;

}




#preloader{
    background: rgb(255, 255, 255) url(Media/PreLoader.gif) no-repeat 50% 50%;
    background-size: 30vh;
    height: 100vh;
    width: 100%;
    z-index: 10000;
    position: fixed;
}

.home{
    position: relative;
    height: 110vh;
    background-image: url(MediaWebp/bg3.webp);
    background-size: cover;
}

.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 {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    z-index: 1;
    padding-left: 8vh;
    top: 10vh;

}

.content {
  position: relative;
  width: 100%;
  opacity: 1;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.content h1 {
    width: 30%;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(43,41,41,255);
    margin-bottom: 2vh;
 
}

.content p {
    width: 100% !important;
    font-size: 1.3rem;
    color: rgb(10, 10, 10);
    line-height: 2rem;
    word-spacing: 2px;
    max-width: 40vh;
    font-weight: 600;
}

.reach-us{
    background-color: rgb(80, 103, 80);
    position: absolute;
    color: aliceblue;
    align-self: flex-start; 
    margin-top: 10vh; 
    border: none;
    padding: 10px 40px ;
    border-radius: 25px;
    border-color: black;
    cursor: pointer;
    font-size: 1.3rem;
    transition: 0.3s ease;
}

.reach-us:hover{
    background-color: rgb(109, 69, 34);
    color: aliceblue;
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.842);
}

  


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Center the section content */

.ben-img-container{
    display: flex;
    align-items: center;
    background-image: url(MediaWebp/10\ Wonderfully\ Tasty\ Makhana\ Recipes.webp);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 50vh;
}
.benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
}

.content-ben{
    display: flex;
    padding: 3vh 8vh;
    width: 100%;
    height: fit-content;
    background-color: #f4f0ed;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin: 0 0 6vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-ben h1{
    display: flex;
    justify-content: center;
    font-size: 3.8rem;
    font-weight: 800;
    color: rgba(43,41,41,255);
    font-weight: 900;
    transition-delay: 0.8s;

}

/* .content-ben p{
    max-width: 30%;
    font-size: 1.3rem;
    text-align: left;
    font-weight: 600;
    color: black;
    transition-delay: 1.0s;
} */



.benefits-images {
    position: relative;
    display: flex;
    align-items: center;
    background-color:rgba(85, 107, 47, 0.655) ; 
    width: 100%;
    max-height: 250px;
    padding: 0px 0; 
    overflow: hidden; 
    white-space: nowrap; 
}


.benefits-images ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none; 
    padding: 2vh 0 1.7vh;
    margin: 0;
    animation: scrollIcons 80s linear infinite;
}


.benefits-images .img {
    display: inline-block;
    text-align: center;
    margin: 1vh 10vh; /* Space between icons */
}
li .img{
    display: flex;
    align-items: center;

}


.benefits-images .img img {
    width: 12vh; /* Set icon size */
    height: 12vh; /* Set icon size */
    border-radius: 50%; /* Make icons round */
    object-fit: cover; /* Maintain aspect ratio */
}

.benefits-images .img p {
    margin-top: 0.5vh; /* Space between icon and text */
    font-size: 1rem; /* Adjust text size */
    color: white; /* Text color */
    font-weight: 600;
    padding: 0.5vh 2vh 0px;
    width: 30vh;
}

/* Animation for scrolling icons */
@keyframes scrollIcons {
    0% {
        transform: translateX(0%); /* Start from the right */
    }
    100% {
        transform: translateX(-100%); /* Move to the left */
    }
}
/* Card Container */
.card-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 8vh 0px;
    width: 100%;
  }
  
  .card {
    flex: 1;
    padding: 20px 60px;
    text-align: center;
    justify-content: center;
    width: 33vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Card Backgrounds */
  .card-1 { 
    background-color: #f4f0ed;
    overflow: hidden;
    }
  .card-2 { 
    background-image: url(MediaWebp/CardBG2.webp);
    background-size: cover;
    
  }
  .card-3 {
    background-image: url(MediaWebp/ChatGPT\ Image\ Apr\ 19\,\ 2025\,\ 02_08_20\ PM\ -\ Copy.webp);
    background-size: cover;
    background-position: center;

  }
  
  /* Card Content */
  .card h1 {
    text-align: center;
    max-width: 100%;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: rgba(43,41,41,255);
    opacity: 0;
    transform: translateY(20px);
    transition: all 3s ease-out;
  }

  .card-2 p {
    text-align: center !important;
  }



  .card-2 :is(img, span) {
    position: absolute;
    opacity: 0;
  }
  
  .card p {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 80vh;
    margin-bottom: 20px;
    color: #363636;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 3s ease-out;
  }
  
 
 #sizes-container {
    display: block; /* Takes full width */
    text-align: center; /* Centers child content */
    margin-top: 1em; /* Adds spacing from previous content */
  }
  
  #sizes {
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block; /* Allows centering while staying in flow */
  }


  .card-1 img{
    display: inline-block;

    width: 97%;
    height:15vh ;
    margin-top: 30px;
    border-radius: 20px;
    object-fit: cover;

  }
  /* Custom Scrollbar */
.card-1 p::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
    border-radius: 10px;
  }
  
  .card-1 p::-webkit-scrollbar-thumb {
    background-color: #38653c;
    border-radius: 3px;
  }
  
  .card-1 p::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 20px;
  }
  .card-1 h1{
    color: rgba(43,41,41,255);
  }
  .card-1 p {
    margin: 0 !important; /* Reset first */
    margin-top: 20px !important; /* Then apply your custom margin */
    height: 70vh;
    font-size: 1.3rem !important;
    overflow-y: auto;
    color: #363636 !important;
  }
  .card-1 button{
    margin: 0 !important;
    margin-top: 58px !important;
  }
  .card button {
    margin-top: 30px;
    padding: 10px 50px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    background-color:  rgb(80, 103, 80);
    color: whitesmoke;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out, background-color 0.2s ease;
  }
  
  /* Hover Effects */
  .card-1 button:hover { box-shadow: 0 4px 6px rgba(255, 255, 255, 0.936); }
  .card button:hover {
    
    background-color: rgb(109, 69, 34);
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.842);
  }


 .experience{
    display: flex;
    height: fit-content;
    flex-direction: column;
    text-align: left;
    padding: 0 60px ;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 3s ease, transform 2s ease;
 }

 .exp-txts{
  display: flex;
  width: 100%;
  padding-left: 0vh 8vh;
  align-items: center;
 }

 .exp-main{
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-width: fit-content;
  justify-content: center;
 }


.experience h1{
    font-size:3.8rem;
    font-weight: 800;
    max-width: fit-content;
    color: #363636;
    height: fit-content;
}

.exp-main p{
    margin-top: 10vh;
    max-width: 60%;
    font-size: 1.3rem;
    font-weight: 500;
}

 .exp-perks{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }


.exp-content1, .exp-content2, .exp-content3{
    display: flex;
    gap: 5rem;
    margin-top: 5vh;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}


.exp-content1 p b, .exp-content2 p b, .exp-content3 p b{
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 1.5rem;
    color: #38653c;
    
}

.exp-content1 p, .exp-content2 p, .exp-content3 p {
    text-align: center;
    max-width: 40vh;
    font-size: 1.2rem;
    font-weight: 500;
}

.exp-vid{
   display: flex; 
   height: 60vh;
   width: 80%;
   border: 2px solid black;
   margin-top: 10vh; 
   border-radius: 30px; 
}
.experience video {
    object-fit: cover;
    object-position: center;
}


/* Base animate-in style */
.animate-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Initial hidden states */
  main .content,
  .content-ben {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
  }
  
  /* Experience section */
  .experience,
  .experience h1,
  .experience p,
  .exp-content1,
  .exp-content2,
  .exp-content3 {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
  }
  
  .experience video {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
  }
  
  /* Staggered delays for experience section */
  .experience h1 { transition-delay: 0.1s; }
  .experience p { transition-delay: 0.2s; }
  .exp-content1 { transition-delay: 0.3s; }
  .exp-content2 { transition-delay: 0.4s; }
  .exp-content3 { transition-delay: 0.5s; }
  .experience video { transition-delay: 0.6s; }
.experience video { transition-delay: 0.6s; }

/* ===== Giving Back Section (kept consistent) ===== */
.givingback,
.text-content,
.video-item {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.givingback { transform: translateY(20px); }
.text-content { transform: translateY(-20px); }
.video-item { transform: translateX(100px); }

/* Delays */
.text-content { transition-delay: 0.8s; }


.givingback {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vh;
    margin: 3vh 0;
    box-sizing: border-box;
}

.text-content {
    flex: 1;
    display: flex;
    max-width: fit-content;
    height: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3vh;
}

.givingback h1 {
    font-size: 3.8rem;
    color: #363636;
    max-width: 500px;
}

.givingback p {
    font-size: 1.3rem;
    color: black;
    text-align: left;
    max-width: 50vw;
    font-weight: 600;
    margin: 0;
}

.video-grid {
    flex: 1;
    width: fit-content;
    display: grid;
    justify-content: right;
    grid-template-columns: repeat(3, 20vh);
    grid-template-rows: repeat(3, 13vh);
    gap: 3rem;
    padding: 40px 0;
    align-content: center;
    overflow: hidden;
}

.video-item video {
    background-color: #332716;
    border-radius: 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* Shift 2nd row left */
.video-item:nth-child(4),
.video-item:nth-child(5),
.video-item:nth-child(6) {
    transform: translateX(-80px);
}

/* ===== Animation Styles ===== */
/* Base hidden state */
.givingback,
.text-content,
.video-item {
    opacity: 0;
    transition: all 1s ease;
}

/* Specific entry animations */
.givingback {
    transform: translateY(20px);
}

.text-content {
    transform: translateY(-20px);
    transition-delay: 0.3s;
}

.video-item {
    transform: translateX(100px);
}

/* Visible state */
.givingback.visible,
.text-content.visible,
.video-item.visible {
    opacity: 1;
    transform: none;
}

/* Staggered video animations */
.video-item:nth-child(1) { transition-delay: 0.1s; }
.video-item:nth-child(2) { transition-delay: 0.2s; }
.video-item:nth-child(3) { transition-delay: 0.3s; }
.video-item:nth-child(5) { transition-delay: 0.3s; transform: translateX(calc(-80px)); }
.video-item:nth-child(6) { transition-delay: 0.4s; transform: translateX(calc(-80px)); }
.video-item:nth-child(4) { transition-delay: 0.2s; transform: translateX(calc(-80px)); }
.video-item:nth-child(7) { transition-delay: 0.3s; }
.video-item:nth-child(8) { transition-delay: 0.4s; }
.video-item:nth-child(9) { transition-delay: 0.5s; }

.joinus{
   
    max-width: 100%;
    padding: 0px  6vh 0;
    height: fit-content;
    position: relative;
    box-sizing: border-box;
}


.joinus-content{
display: flex;
justify-content: space-around;
align-items: center;
max-width: 100%;
height:90vh;
}

.joinus-content h3{
    font-weight: 700;
    color: #363636;
}

.joinus-content h1{
    margin-top: 2%;
    font-size: 3.8rem;
    color: #363636;
}
.joinus-img{
      animation: UpAndDown 2s linear infinite;
      display: flex;
      object-fit: cover;
      object-position: center;
  }

  @keyframes UpAndDown {
    0% {
        transform: translateY(0px) 
    }
    50%{
 
       transform: translateY(-20px);
    }
   
 }

.joinus-content img{
    border-radius: 30px;
    width: 40vh;
    height: 60vh;
}

#img1{
  transform: translateX(20vh) rotate(-25deg);
}

#img2{
  transform: translateX(-10vh) rotate(12deg);
}

.joinus-content button{
    position: relative;
    padding: 1.5vh 8vh;
    max-width: 25vh;
    margin-top: 18vh;
    transition: 0.3s all ease;
}

.bulk-orders-section {
    margin: 00px 0px 5vh;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.videobox {
    width: 50%;
    height: 120vh;
    display: flex;
    transform: translateY(10vh);
    padding: 8vh 3vh;
    justify-content: left;
    overflow: hidden;
}
.videobox video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
}

.form-section {
   
    scroll-behavior: smooth;
    width: 50%;
    padding: 8vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.form-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #363636;
}
.form-title p{
    font-size: 18px;
    font-weight: 500;
    color:#363636 ;
}
.bulk-order-form {
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #363636;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 120px;
}
#countryCode{
    max-width: 120px;
}
.phone-number {
    flex: 1;
}

.submit {
    background-color: rgb(80, 103, 80);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit:hover {
    background-color: rgb(109, 69, 34);
    transform: translateY(-5px);
    box-shadow: #666;
}

.required:after {
    content: " *";
    color: red;
}


.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: 1330px) {
   
  body, html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
    .home{
      background-position: center;
      height: 120vh;
    
    }
    .nav{
      padding: 2vh 20vh;
    }
    .nav a{
       font-size: 0.9rem;
    }
   
    .services{
      gap: 1rem;
    }
    .logo a{

       font-size: 1.2rem;
    }
    #download{
       font-size: 0.9rem;
     
    }
    .content h1{
      font-size: 4.7rem;
    }

    .reach-us{
      margin-top: 20vh;
    }

    .experience video{
      top: 90vh;
    }
    
   
    .video-grid{
      grid-template-columns: repeat(3,18vh);
      grid-template-rows: repeat(3,13vh);
    }
    
    .video-item:nth-child(4),
    .video-item:nth-child(5),
    .video-item:nth-child(6){
     transform: translateX(0px);
    }
    .joinus-content{
      justify-content: space-around;
    }
    

    
    
    .joinus-content button{
      font-size: 1.1rem;
      padding:  1vh 6vh;
    }
    
    .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 screen and (max-device-height: 800px) and (min-device-width: 650px){ 

  .content p{
    max-width: 50%;
  }

    .joinus button{
      padding: 1vh 5vh;
    }
}


@media screen and (min-device-width: 1203px) and (max-device-width: 1329px) { 
  .nav{
       padding: 2vh 30vh;
  }
    .logo a{
      font-size: 1.5rem;
    }
  
}
 
@media (max-width: 1023px) /*Tablet*/

{
  .home{
    height: 110vh;
    background-image: url(MediaWebp/bg3mobile.webp);
    background-size: cover;
    background-position: center;
  }
   .nav{
    padding: 2vh 10vh;
   }
   
   .nav a{
    font-size: 0.8rem;
   }

   .logo a{
      font-size: 1.2rem;
   }
   #download{
      font-size: 0.8rem;
    
   }

   .content h1{
    font-size: 5rem;
   }
   
   .content p{
  
    font-size: 1.2rem;
   }
   .reach-us{
    font-size: 1.1rem;
    margin-top: 30vh;
   }

   .content-ben{
    align-items: center;
   }

   .content-ben h1{
    text-align: left;
    text-align-last: left;
    max-width: 100%;
    font-size: 3rem;
   }
   .content-ben p{
    font-size: 1.2rem;
   }
   .card-container{
    flex-direction: column;
   }
   .card{
    text-align: center;
    width: 100%;
    height: 100vh;
   }
   .card h1{
    max-width: 100%;
    font-size: 2.6rem;
   }
   .card-1 h1{
    font-weight: 700 !important;
   }
   .card-1 p{
    font-size: 1rem;
   }
   .card-1 p{
    font-size: 1.2rem !important;
   }
   .card p{
    font-size: 1.2rem;
   }
   .card-1 img{
    width: 80%;
   }
   .card-2{
    background-position: center;
    background-size: cover;
   }
   .card-2 h1{
    text-align: center;
   }
  .card-2 img{
    position: relative;
    opacity: 0;
   height: 100vh;
   opacity: 0;
  }
  .card-2 span{
    position: relative;
    opacity: 1;
  }
  .exp-txts{
    flex-direction: column;
  }
  .exp-main p{
    margin-top: 5vh;
    max-width: 100%;
  }
  .experience video{
  margin-top: 5vh;
    width: 100%;
  }
  .exp-perks{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3rem;
    margin-top: 5vh;
  }

  .exp-content1, .exp-content2, .exp-content3{
    width: 100%;
    justify-content: space-around;
    margin-top: 0;
  }
  .exp-content1 p,.exp-content2 p, .exp-content3 p{
   text-align: center;
  }

  .exp-content1 p b,.exp-content2 p b, .exp-content3 p b{
    display: flex;
    justify-content: center;
  }
  .givingback{
    flex-direction: column;
    align-items: flex-start;
  }
  .text-content{
    max-width: 100%;
  }
  .givingback h1{
    display: flex;
    min-width: 100%;
    justify-content: center;
    font-size: 3rem;
  }
  .givingback p{
    font-size: 1.1rem;
    max-width: 100%;
  }

  .video-grid{
    justify-content: center;
    width: 100%;
    grid-template-columns: repeat(3,27vh);
    grid-template-rows: repeat(3, 15vh);
  }

   .joinus-content h1{
    font-size: 3rem;
   }

   .joinus-img{
    width: 50vw;
   }
   .joinus-img img{
    width: 25vw;
    height: 40vh;
   }

   .reach-us{
    font-size: 1.1rem;
    padding: 10px 20px;
   }
   
   .reach-us-text h1{
      font-size: 3rem;
   }
   .reach-us-text p{
      font-size: 1.2rem;
   }
   .connect{
      font-size: 1rem;
   }

   .videobox video{
    height: 100%;
   }
   .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 screen and (min-device-width: 901px) and (max-device-width: 1023px) { 

    .home{
      background-image: url(Media/bg3.jpg);
    }
    .content h1{
      font-size: 3.8rem;
    }
    .content-ben h1{
      max-width: 100%;
    }
}



@media(max-width: 900px) /*Phone-L*/
{
  body, html {
    overflow-x: hidden;
    width: 100%;
  }

    #preloader{
    background: rgb(255, 255, 255) url(MediaWebp/PreLoader.gif) no-repeat 50% 46%;
    background-size: 30vh;
    height: 100vh;
    width: 100%;
    z-index: 10000;
    position: fixed;
}
    .home{
      background-image: url(MediaWebp/bg3mobile.webp);
      height: 100vh;
    }

    .nav{
      padding: 2vh 3vh;
    }

    .nav a{
      font-size: 0.7rem;
    }

    .logo{
     
      display: flex;
      width: 100%;
      height: 100%;
      align-items: center;
      
    }
    .logo a{
      font-size: 1.2rem;
    }
    #download{
      padding: 5px 10px;
      font-size: 0.7rem;
    }

    main{
     padding-left: 3vh!important;
     height: fit-content;
     top: 8vh;
    }

  

    .content h1{
      font-size: 3.5rem;
      max-width: 100% ;
    }
    .content p{
     
      line-height: 1.3rem;
      font-size: 1rem;
      max-width: 50% !important;
    }
    .reach-us{
      font-size: 1rem;
    }

    
  

    .content-ben{
      justify-content: center;
       padding: 0px 3vh;
    }
    .content-ben h1{
      font-size: 2rem;
    }
     .break::after{
      content: "\A";
      white-space: pre;
      display: block;
     }
    .content-ben p{
      font-size: 1rem;
      max-width: 100%;
      margin-top: 3vh ;
    }

    .ben-img-container{
      height: 30vh;
    }
    .benefits-images{
      height: 24vh
    }
    .benefits-images .img img{
      width: 12vh;
      height: 12vh;
    }
    .card h1{
      font-size: 1.8rem;
    }

    .card p{
      font-size: 1rem;
    }
    .card-1 p{
      font-size: 1rem !important;
    }

    .experience{
      padding: 0px 3vh;
    }
    .experience h1{
      font-size: 3rem;
    }
    .experience p{
      margin: 3vh 0;
      font-size: 1rem;
    }

    .experience video{
      margin-top: 3vh;
    
    }
    .exp-perks{
    gap: 1rem;
    margin-top: 5vh;
  }
    .exp-content1, .exp-content2, .exp-content3{
      margin-top: 0 !important;
    }
    .exp-content1 p,.exp-content2 p, .exp-content3 p{
      text-align: center;
      font-size: 1rem;
      margin: 0;
     }
   
     .exp-content1 p b,.exp-content2 p b, .exp-content3 p b{
       display: flex;
       justify-content: center;
       font-size: 1.2rem;
     }
     .givingback{
      align-items: center;
      padding: 3vh;
     }
     .givingback h1{
      max-width: 80%;
      font-size: 2.5rem;
     }

     .givingback p{
      font-size: 1rem;
      text-align: left;
     }
     .video-grid{
     display: none;
     }
     .joinus{
      padding: 3vh;
     }
     .joinus-content{
      justify-content: flex-start;
      height: fit-content;
      margin: 5vh 0;
     }


     .joinus-content button{
      font-size: 1rem !important;
      top: 5vh;
     } 
     .joinus-img{
      display: none;
     }
     .joinus-img #img1, #img2{
      display: none;
     }
     .joinus-content button{
      margin-top: 0vh;
     }
    
     .videobox{
      display: none;
     }
     .form-section{
      margin-top: 10vh;
      width: 100%;
     }
     .form-title{
      font-size: 1.5rem;
     }
     .form-group:is(select, textarea, input, label){
      font-size: 1rem !important;
     }
  
    .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;
     }
}

@media screen and (min-device-width: 628px) and (max-device-width: 899px) { 
    .home{
      background-image: url(Media/bg3.jpg);
    }
    .content h1{
      font-size: 3.8rem;
    }
}

@media (max-width: 382px) /*Phone-M*/
{
   .nav{
    padding: 2vh 5vh;
   }
}
