

*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}


nav{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0%;
    background: transparent;
    position: relative; 
    

  
  
}

nav img{
    width: 65px;
    height: 65px;
   position: relative;
   top: 5px;
   left: 5px;
    border-radius: 50%;
   justify-content: center;
    align-items: center;
    z-index: 999999999999999999999;
}



.menubar {
    display: flex;
    justify-content: center; 
    align-items: center;    
    text-align: center;
     z-index: 200;
     color: rgb(243, 243, 250);
   
}


.menubar h1 {

  width: 100%;
  position: absolute;             
  top: 70%;                  
  left: 50%;                    
  transform: translate(-50%, -50%); 
  font-size: 15px;
  margin: 0;
  
  
  justify-content: center; 
    align-items: center;    
    text-align: center;
}

@media(max-width: 375px){

.menubar h1{
    font-size: 5px;
   }
   }


@media(max-width: 481px){

.menubar h1{
    font-size: 8px;
   }
   }

@media(max-width: 768px){

.menubar h1{
    font-size: 13px;
                     }
                   }









/* Small phones (≤480px) */
@media (max-width: 481px) {
    nav img{
        width: 60px;
        height: 60px;
    }
}

/* Medium devices (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
   
     nav img{
        width: 54px;
        height: 54px;
    }
}

/* Large screens (769px–1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
 
     nav img{
        width: 60px;
        height: 60px;
    }
}

/* Extra large desktop / 4K screens */
@media (min-width: 1201px) {
  
     .nav img{
        width: 72px;
        height: 72px;
    }
}














html,body{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;

}


#main{
    
    width: 100%;
    background-color: transparent; 
    background-image: url('slideimages/slidez.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* Make sure the div has a height to show the image */
    justify-content: center;
    align-items: center;
    text-align: center;


   
}

#center {

  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex; /* optional, if you want horizontal layout */
  gap: 10px;     /* spacing between image containers */
  
}

.imagecontainer {
  position: absolute; /* changed from absolute for layout flow */
  overflow: hidden;
  width: 0%;
  height: 100%;
  flex-shrink: 0; /* prevents shrinking if using flex */
  transition: none; /* Let GSAP handle transitions */
 
  
  
}

.imagecontainer img {
  width: 100%;
  height: 100%;
 object-fit: cover;
  display: block;
  background: center;
  
  
}

/* Small Screens (≤480px) */
@media (max-width: 480px) {
  #center {
    width: 100%; 
    height: 50vh; 
    }

    #main{
    width: 100%;
    height: 50vh; 
    }

  .imagecontainer img {
   width: 485px;
   height: 50vh; 
   }

    
}

/* Medium Screens (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
    #center {
        width: 100%; /* Slightly smaller container */
        height: 100%;
    }

   
}

/* Large Screens (769px and above) */
@media (min-width: 769px) {
   
}















.float-btn {
    cursor: pointer; /* instead of grab */
    touch-action: auto;
}
.float-btn:active {
    cursor: pointer; /* remove grabbing effect */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: olive;
 /* background: rgb(229, 137, 195);*/
  z-index: 999999; /* lower than .float-btn and menu */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease; 
}

.overlay.active {
  opacity: 0.5;
  pointer-events: auto;
}

  .menu a.show{
    opacity:1;
    transform:scale(1);
    pointer-events:auto;
  }


   .menu a{
    position:fixed;
    display:flex; 
    align-items:center; 
    justify-content:center;
    width:68px;
    height:68px;
    font-size: 12px;
    border-radius:50%;
    background:olive;
    color:whitesmoke;
    text-decoration:none; 
    font-weight:500;
    box-shadow:0 6px 14px rgba(17, 16, 16, 0.12);
    pointer-events:auto;
    z-index:2147483647;
     transform:scale(0.3);
    transition:opacity .25s;
    transition:opacity .4s ease, transform .4s ease;
    opacity:0;
  }
    
  .menu a.show{opacity:1;}


:root {
    --float-size: 60px;      /* default button size */
    --float-font: 28px;      /* default icon font size */
    --menu-radius: 120px;    /* distance of links from button */
}

/* Floating Button Styles */
.float-btn {
    width: var(--float-size);
    height: var(--float-size);
    border-radius: 50%;
    background: olive;
    color:white;
    font-size: var(--float-font);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    padding: 10px 5px 10px;
    top: 5px;
    right: 5px;
    z-index: 300;
    box-shadow: 0 6px 18px rgba(0,0,0,.24);
    cursor: grab;
    user-select: none;
    touch-action: none;
}

  .float-btn:active{cursor:grabbing}


/* ---------- Responsive Sizes ---------- */

/* Small phones (≤480px) */


@media (max-width: 481px) {
    :root {
        --float-size: 60px;
        --float-font: 22px;
        --menu-radius: 95px;
    }
    .float-btn {
        right: 5px;
        bottom: 5px;
    }
    .menu a {
        width: 65px;
        height: 65px;
        font-size: 14px;
        line-height: 20px;
        padding: 5px;
    }
}


/* Medium devices (481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --float-size: 54px;
        --float-font: 24px;
        --menu-radius: 95px;
    }
    .menu a {
        width: 54px;
        height: 54px;
        font-size: 10px;
        line-height: 24px;
        padding: 9px;
    }
}

/* Large screens (769px–1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
    :root {
        --float-size: 65px;
        --float-font: 28px;
        --menu-radius: 110px;
    }

    .menu a {
        width: 65px;
        height: 65px;
        font-size: 12px;
        line-height: 24px;
        padding: 9px;
    }
}

/* Extra large desktop / 4K screens */
@media (min-width: 1201px) {
    :root {
        --float-size: 72px;
        --float-font: 32px;
        --menu-radius: 130px;
    }
    .menu a {
        width: 77px;
        height: 77px;
        font-size: 15px;
        line-height: 28px;
        padding: 12px;
    }
}



.float-btn.centered {
  position: fixed;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
}












/*phone-call-icon */

.phone-call{
    color: white;
    background: olive;
    text-decoration: none;
    border: 2px solid rgb(253, 254, 255);
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 200;
    opacity: 1;
    pointer-events: all;
    transition: all 6s;
    animation: glow 2s infinite ease-in-out;

    /*animation: glow 1.1s infinite;*/

    

}
@keyframes glow {
    0% {
    box-shadow: 
      0 0 3px rgba(18, 128, 0, 1),
      0 0 6px rgba(128, 128, 0, 1);
    transform: scale(1) translateY(0);
  }

  25% {
    box-shadow: 
      0 0 6px rgba(100, 255, 0, 1),
      0 0 9px rgb(125, 151, 230);
    transform: scale(1.05) translateY(-2px);
  }

  50% {
    box-shadow: 
      0 0 9px rgba(128, 128, 0, 1),
      0 0 6px rgb(44, 50, 136);
    transform: scale(1.1) translateY(2px);
  }

  75% {
    box-shadow: 
      0 0 6px rgba(100, 255, 0, 1),
      0 0 3px rgba(180, 180, 0, 1);
    transform: scale(1.05) translateY(-2px);
  }

  100% {
    box-shadow: 
      0 0 5px rgba(18, 128, 0, 1),
      0 0 10px rgba(128, 128, 0, 1);
    transform: scale(1) translateY(0);
  }

  }



.to-top{
    color: white;
    background: olive;
    text-decoration: none;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
}
.to-top.active{
 
    bottom: 70px;
    pointer-events: all;
  z-index: 200;
    opacity: 1;
}




/*-----welcome div starts---*/

.welcome {
    width: 100%;
    display: block;
    align-items: center;
    text-align: center;
    margin-bottom: 0%;
    background-color: whitesmoke;
    word-spacing: 5px;
    
}


.welcome h1{
    font-size: 25px;
    word-spacing: 2px;
    margin: 8PX 0;
    padding: 0px 20px;
    color: crimson;
}
.welcome  p{
    text-align: justify;
    color: darkblue;
    font-size: 17px;
    line-height: 20px;
    margin: auto;
    padding: 10px 20px;
    
}

.btn{

    font-size: 15px;
    border: 1px solid black;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    text-align: center;
    align-items: center;
    padding: 3px 5px ;
    margin-top: 15px;
    background-color: olive;
    
}


@media (max-width: 768px){

    .welcome    h1{
       
        font-size: 17px;
    }
    .welcome p{
        color: darkblue;
        line-height: 22PX;
        margin: auto;
        padding: 10px 10px;   
    }  
}





/*------welcome box div ends----*/



/*----our team doctor card starts---*/



.card-container{

    background-color: white;
    color: royalblue;
    align-items: center;
    
    padding: 10px;
    
    

}

.card-container .heading{
    text-align: center;
    padding-bottom: 8px;
    color: crimson;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    font-size: 25px;
}

.card-container .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4px;
}

.card-container .box-container .box{

    border-radius: 5px;
    background: #fff;
    text-align: center;
    padding: 5px 5px;
}

.card-container .box-container .box img{
    height: 160px;
    border: 1px solid darkblue;
    border-radius: 3px;
}

.card-container .box-container .box h3{
    color: darkblue;
    font-size: 18px;
    padding: 6px 0;

}
.card-container .box-container .box p{
    color: darkblue;
    font-size: 13px;
    text-align: center;
    padding: 8px 0;
    line-height: 1.5;

}

.card-container .box-container .box .btn{
    margin-top: 10px;
    display: inline-block;
    background: olive;
    color: azure;
    font-size: 15px;
    border-radius: 4px;
    padding: 5px 25px;



}

.card-container .box-container .box .btn:hover{

    letter-spacing: 1px;
}

.card-container .box-container .box:hover{
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.01);
}

span{
    color: crimson;
}


@media (max-width:768px){
    .card-container{
        padding: 1px;
    }
}


/*------our team doctor card end--*/




/*about_gosainkunda_4th_pages*/


.about-gosaikunda{
    
    text-align: justify;
    align-items: center;
    width: 100%;
    height: auto;
    position: relative;

}



    .about-gosaikunda p{
        color: darkblue;
        padding: 10px 20px;
        font-size: 15px;
        line-height: 22PX;
    }














  .about_bathrog{
    text-align: justify;
    align-items: center;
    width: 100%;
    height: auto;
    position: relative;

}

.about_bathrog h1{
     font-size: 25px;
    color: crimson;
    text-align: center;

}

.about_bathrog  p{
    color: darkblue;
    font-size: 15px; 
    text-align: justify;
    padding: 10px 10px;
    line-height: 22PX;
}




    .about-gosaikunda h1{
    font-size: 30px;
    color: crimson;
    text-align: center;
}

    

@media (max-width: 768px){

    .about-gosaikunda h1{
        font-size: 25px;
        color: crimson;
        text-align: center;
        
    }

    .about-gosaikunda p{
        padding: 10px 10px;
        font-size: 15px;
    }

    .about_bathrog h1{
        font-size: 22px;
        color: crimson;
        text-align: center;
        
    }

    .about_bathrog p{
        padding: 10px 10px;
        font-size: 15px;
    }


}



.about_bathrog span{
    font-size: 14px;
    color: crimson;
    font-weight: 600;

}

 .bathrog, .drdeepa,  .drdipendra {

    width: 200px;
    padding: 1px 0;
    border-radius: 4px;

}


.bathroo-deepa{
    width: 150px;
    padding: 5px 5px 5px 0;
    float: left;
}


.bathrog{
    float: right ;
}


.drdeepa{
float: right;

}
.drdipendra
{
    float: left;
}


/*services*/


/*--Our services*/
#services_scroll {
    font-size: 30px;
    color: crimson;
    text-align: center;
}




.main_scroll {
    width: 100%;
    /*margin: 10px 10px;*/
    display: grid;
    column-gap: 0px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 2fr));
    flex-direction: column;
    text-align: center;
    color: black;
   
    
  }
  
  .section {
    width: 100%;
    color: darkblue;
    padding: 10px 0 10px;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0; /* Hidden by default */
    transform: translateY(50px); /* Initial position */
    transition: opacity 0.5s ease, transform 0.5s ease;


  }
  .section img{
    width: 310px;
    height: 200px;
    border-radius: 3px;
    object-fit: cover;
    background-position: center;
  }
  
  .section h2{
    font-size: 18px;
  }

  .section p{
    font-size: 15px;
  }

  
  .section.animate {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Reset position */
  }

@media (max-width: 768px){

#services_scroll {
    font-size: 25px;
  
    
}


}


.one-day-camp{
     width: 100%;
    display: block;
    align-items: center;
    text-align: center;
    margin-bottom: 0%;
    background-color: olive;
    word-spacing: 5px;
}

.one-day-camp  h1{
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    text-align: center;
    padding-top: 5px;
    color: whitesmoke;
} 

.one-day-camp p{
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    text-align: center;
    padding-top: 2px;
    color: white;
}




/* Styling for the full-size image viewer */
.gallery-main {
 

    width: 100%;
    height: 100vh;
    background:rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    



  }
  
  .gallery-main img {
    max-width: 100%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  
  .gallery-main span {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 99999999999999999999999999999999999999999;
  }
  
  /* Styling for the image gallery thumbnails  */
  .gallery-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    align-items: center;
    text-align: center;
  }
  
  .gallery-img img {
    width: 200px;
    height: 170px;
    object-fit: cover;
    border-radius: 5px;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .gallery-img img:hover {
    transform: scale(1.1);
  }


  .more-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    align-items: center;
    text-align: center;
  }



  .more-images img {
    max-width: 200px;
    max-height: 170px;
    object-fit: cover;
    border-radius: 5px;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
    
  
  .more-images img:hover {
    transform: scale(1.1);
  } 
  /* Show more button styling */
  #toggle-btn {
    display: block;
    margin: 5px auto;
    padding: 10px 10px;
    font-size: 16px;
    background-color: olive;
    color: white;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  #toggle-btn:hover {
    background-color: #0056b3;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .gallery-img {
      flex-direction: column;
      align-items: center;
    }
  
    .gallery-img img {
      width: 80%;
      height: auto;
    }

    .more-images {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .more-images img {
        width: 80%;
        height: auto;
        align-items: center;
        text-align: center;
      }

  }
  
  @media screen and (max-width: 768px) {
    .gallery-main span {
      font-size: 24px;
      top: 10px;
      right: 15px;
    }
  
    #toggle-btn {
      width: 100%;
      font-size: 14px;
    }
  }

.more_less{
   position: relative;
   margin: 20px;
    width: 100%;
    height: 40px;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 15px;
  

    text-decoration: none;
    color: white;
    padding: 5px 5px ;
    margin-top: 15px;
    background-color: olive;

}







  /*footer_4_column*/

  .contact_Us h1{
    font-size: 25px;
    color: crimson;
    text-align: center;
   

}


  .footer_container{
    width: 100%;
    display: flex;
    position: relative;
    margin: 0 0;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    font-family:  sans-serif;

    background-position: center;
    background-size: cover;

}
/*--content container--*/


 .container_a{
    width: 45%;
    margin: 0 0; 
    color: darkblue;
    font-size: 14px;
    padding: 10px;
    text-align: justify;
    

}


.container_a .sci{
    margin-top: 10px;
    display: flex;
}
.container_a .sci li{
    list-style: none;
}
.sci li a{
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: 24px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 5px;
}


.sci li a .fab{
    color: darkblue;
    font-size: 20px;
}

/*content--container--end--*/

/*--time--schedule--starts--ss */

.container_b{
    position: relative;
    width: 45%;
    padding: 10px;
    background: transparent;
    color: darkblue;
    font-size: 12px;
}


 .container_b .table{
    width: 100%;
    box-shadow: 1px 1px 0px 0px;
    border-radius: 5px;
    background: transparent;
}

table, td, th{
    padding: 6px;
    text-align: center;
    font-size: 12px;
}






/* ---map---- */

.container_c{
    position: relative;
    width: 45%;
    padding: 10px;
    margin-left: 3px;
    background-color: transparent; 
    color: darkblue;  
    

}

iframe{
    position: relative;
    width: 100%;  
    height: 270px;
    border-radius: 4px;
    padding: 2px;
}

/*--map containere--end---*/




.container_d{
    display: inline-block;
    margin: 0px;
    padding: 10px;
    color: darkblue;
   
    width: 45%;
    font-size: 12px;
    font-family: Arial, sans-serif;


    
}
.container_d .info{
    position: relative;
    padding: 0 20px 10px 0;
    width: 100%;
}
.container_d .info li{
    display: flex;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 30px;

}


.container_d .info li span:nth-child(1){
    color: darkblue;
    font-size: 15px;
    margin-right: 15px;

}


.container_d .info li span{
    color: darkblue;
    cursor: pointer;
    font-size: 15px;

}

.container_d .info li a{
    color: darkblue;
    text-decoration: none;
    font-size: 15px;
    
}


.container_d .info li a:hover{
    color: green;
    text-decoration: none;
    font-size: 17px;
    
}


   .copyrightText {
    width: 100%;
    position: relative;
    background: olive;
    text-align: center;
    align-items: center;
    font-size: 14px;
    border-bottom-right-radius: 3px;

    border-bottom-left-radius: 3px;
}
.copyrightText p{
     text-align: center;
    align-items: center;
    font-size: 12px;
    padding: 15px;
    color: white;
}


 @media (max-width: 768px){
     .container_a  {
        position: relative;
        width: 95%;
    }

    .container_b{
        position: relative;
        width: 95%;
    }

   .container_c{
    position: relative;
    width: 95%;
    
    background-color: transparent;
    
   }

   iframe{
    
    width: 100%;
    height: 280px;
    }

    .container_d{
        width: 95%;
    }


 }


