@import url(https://fonts.googleapis.com/css?family=Tiro+Devanagari+Hindi&display=swap);
@import url('https://fonts.googleapis.com/css2?family=Playwrite+PL&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari&display=swap');



	html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden !important;
	position: relative;
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', sans-serif;
      /* background: linear-gradient(135deg, #c3cfe2, #c3e2e1);
       * background: linear-gradient(90deg,rgba(211, 211, 173, 1) 0%, rgba(190, 197, 177, 1) 50%, rgba(211, 211, 173, 1) 100%);*/
       
      background: linear-gradient(90deg,rgba(211, 211, 173, 1) 0%, rgba(190, 197, 177, 1) 50%, rgba(211, 211, 173, 1) 100%);
      min-height: 100vh;
      
    }
    
    .devanagari-text {
               font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', sans-serif;
               font-size: 1rem; 
           }

    nav {
		width: 100%;
		background: rgba(255, 255, 255, 0.15);
      	backdrop-filter: blur(10px);
      	-webkit-backdrop-filter: blur(10px);
      	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      	padding: 0.1rem 1rem;
      	position: fixed;
      	top: 0;
		left: 0;
      	z-index: 2000;
      	font-size: 1rem;
	  	transform: none; 
    }

    .navbar {
		max-width: 1100px;
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 0 auto;      
		width: 100%;
    }

    .logo a {
		font-family: 'Playwrite PL', cursive;		
		font-size: 1.8rem !important;
		font-weight: 400;
		margin-left: 0;	
		color: #AA6255 !important;
		/*text-shadow: 1px 1px 2px #000;*/
		text-decoration: none;
		
		
		
    }

    .menu {
      display: flex;
      gap: 1.5rem;
      align-items: center;
      margin-right: 0; 
    }

    .menu li {
      position: relative;
      z-index: 10;
    }

    .menu a {
      text-decoration: none;
      color: #FFF !important;
      padding: 0.1rem 0.75rem;
      border-radius: 0;
      display: inline-block;
    }

    .menu a:hover {
      background: rgba(255, 255, 255, 0.2);
      width: 100%;
    }
    
    .content {
    width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.3rem 5rem 5rem; 
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(4px);
	min-height: 100vh; 
	border-radius: 0;   
	box-sizing: border-box;
	color: #333333 !important; 
}

    .dropdown {
  display: none;
  position: absolute;
  top: 100%;         
  left: 0;           
  transform: translateX(0); 
  background: rgba(255, 255, 255, 0.25) !important; 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); 
  padding: 0.25rem 0;
  list-style: none;
  margin: 0;
  z-index: 1000;
  min-width: max-content; 
  border-radius: 4px;
  white-space: nowrap; 
  z-index: 1000;  
    }

    .dropdown a {
      padding: 0.5rem 1rem;
    }

    .menu li:hover .dropdown {
      display: block;
    }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      justify-content: space-between;
	width: 24px;
	height: 18px;
	cursor: pointer;
	z-index: 102;
    }

    .hamburger span {
		width: 100%;
      height: 3px;
      width: 25px;
      background: white;
      margin-bottom: 5px;
      border-radius: 5px;
      transition: all 0.3s ease;
    }

.header-image {
  display: none; 
}

.floating-header-image {
  position: absolute;
  top: 0.8rem;
  left: 8%;
  z-index: 101; 
  display: none;
}

.floating-header-image img {
  height: 38px; 
  width: auto;
  pointer-events: none;
  user-select: none;
}


@media (min-width: 769px) {

  .has-dropdown:hover > .dropdown {
    display: block;
  }
  
  
    .dropdown {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    white-space: nowrap;
  }
  
  .has-dropdown {
	display: block;
    position: relative;
  }
  
     .menu {
    display: flex;
    gap: 2rem;
    list-style: none;
  }


  .menu li {
    position: relative;
  }

  .menu a {
    text-decoration: none;
    color: white; 
    border-radius: 0px;
    transition: background 0.2s ease;
  }

  .menu li:hover a {
    background: rgba(255, 255, 255, 0.1);   
    }	
    
    .menu .dropdown {
  display: none;
}

  .menu li:hover > .dropdown {
    display: block;
  }

  .dropdown li {
    padding: 0.3rem 0;
  }
  
 
  .dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
  }

  .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .content {
    margin-left: 4rem;
    margin-right: 4rem;
  }
  
   nav {
   padding-bottom: 0.4rem; 
  }
  
	 .navbar {
    position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: 100%;
  }
  
   .navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.1rem;  
  padding-bottom: 0;
  height: auto;  
  z-index: 101;
  }

    .header-image {
    order: 2; 
    margin-left: auto;
    margin-right: 2rem;
  }
  
  .header-image img {
    height: 60px; 
    width: auto;
    object-fit: contain;
    pointer-events: none; 
    user-select: none;
  }
  
  .floating-header-image {
    display: block;
  }
  
  .floating-header-image2 {
  display: none;
}
  .logo {
    order: 0; 
    margin-bottom: -0.1rem;
  }
  
     .logo a {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }

  
  .content p {
    margin-bottom: 0.3rem; 
  }
  .menu li:hover .dropdown {
    display: block;
  }
}

@media (max-width: 768px) {

  body .content {
    padding: 1.1rem 1.2rem 2rem !important; 
    /* top = 1.5rem, sides = 1.2rem, bottom = 2rem */
  }

  body .content p {
    margin-bottom: 0.3rem;
  }
  
  .navbar {
    display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  }
  
    .navbar-inner {
    display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.7rem 0.7rem;
  position: relative;
  z-index: 20;
  }
  
  .hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 30;
  }

  .menu {
  position: absolute;
  transform: translateX(-3.5rem);
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: flex-start;  
  background: transparent; 
  backdrop-filter: blur(6px); 
  margin-top: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 8px;
  z-index: 25;
  }
  
  .menu a,
.dropdown a {
  margin: 0;
  line-height: 1.1;
}
  .menu.show {
    display: flex;
  }

  .menu li {
    width: 100%;
    margin: 0.3rem 0; 
    padding: 0;
    line-height: 1.4; 
    border-bottom: none;
  }

  .menu li a {
    display: block;
    width: 100%;
    text-align: left;
	justify-content: flex-start;
    font-size: 1.2rem; 
    padding: 0.1rem 0;
    border-radius: 0;
    line-height: .5; 
    height: 14px;
    margin: 0;
    border: none;
    background: transparent;
    
  }

.menu li:last-child {
    margin-bottom: 1rem; 
  }
  
    .logo {
    margin-bottom: 0rem;
  }


  .logo a {
  display: block;
  font-size: 1.7rem !important;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

  .has-dropdown .dropdown {
    display: none;
    position: relative;
    background: transparent;
    margin-top: 0.3rem;
    border-left: none;
    border: none;
  }
  
  
  .has-dropdown .dropdown.show {
    display: flex;
    flex-direction: column;
  }
  
  .dropdown {
    display: none;
    flex-direction: column;
    position: relative;
    background: transparent !important; 
	backdrop-filter: blur(6px); 
	align-items: flex-start;
    padding: 0;
    margin: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    transform: none !important;
  }
  

  .dropdown.show {
    display: flex;
  }

  .dropdown li {
    margin: 0;
    padding: 0;
    line-height: 1;
	margin: -0.1rem 0 0.3rem 0;
	
	}

  .dropdown li a {
    padding: 1rem 1rem; 
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    line-height: 1.4;
    margin: 0;

  }
   
   .menu > li:last-child .dropdown li:last-child {
	margin-bottom: 1rem;
}

/* Reset bottom margin for all others */
	.dropdown li:last-child {
	margin-bottom: 0;
}
  .menu li,
.dropdown li {
  list-style: none;
}
  
  
  .floating-header-image2 {
  display: block;
  position: static;
  margin-left: -25%;
  margin-top: 2%;
  order: 0;
}

.floating-header-image2 img {
  height: 35px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

}

.content {
  text-align: justify;
  font-size: 1.1rem; 
  line-height: 1.6; 
}

.single-image {
  display: block;       
  text-align: center;   
  margin: 2rem auto;    
  max-width: 600px;    
}

.single-image img {
	width: 28rem;
	max-width: 100%;   
	height: auto;      
	display: block;    
	margin: 0 auto;    
}

.single-image figcaption {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: black;            
}

.myGallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;   
  margin: 0 auto;     
  padding: 20px;      
  background: transparent; 
  border-radius: 0; 
}

.myGallery img {
  width: 100%;
  height: auto;           
  object-fit: contain;    
  display: block;
  border-radius: 0;
  background: #fff; 
}

.myGallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.myGallery figcaption {
  margin-top: 8px;
  font-size: 1.2rem;
  color: #000;
  text-align: center;
  font-weight: 500;  
  line-height: 1.4;
}


/* Lightbox */

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;

  pointer-events: none;  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.lightbox.lightbox-show {
  pointer-events: auto; 
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border: none;
  /*border: 4px solid black;*/
  border-radius: 0;
}

.close,
.prev,
.next {
  position: absolute;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

  .close:hover, .prev:hover, .next:hover {
    color: #e9505f;
  }


.close {
  top: 30px;
  right: 40px;
}

.prev {
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.next {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

.lightbox-img {
  cursor: pointer;
}

.lightbox-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  max-width: 90%;
  line-height: 1.2;
  font-weight: 500; 
}


@media (max-width: 768px) {
  .content {
    padding: 1rem;  
  }

  .myGallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
    background: transparent; 
    width: 100%;
    max-width: 100%;
    padding: 10px;
    gap: 12px;
  }

  .myGallery img {
    width: 100%;
    height: auto;
    object-fit: cover; 
    border-radius: 6px;
  }

  .floating-header-image2 {
    margin-left: 0; 
  }
  
  .myGallery figcaption {
    font-size: 1rem;  
  }
}

.sanskrit-text p {
  text-align: center;
  font-size: 2.3rem;   
  margin: 1rem 0;
  line-height: 1.8;
  font-family: 'Tiro Devanagari Hindi', sans-serif;
}

@media (max-width: 768px) {
  .sanskrit-text p {
    font-size: 1.3rem; 
  }
}

@media (min-width: 1440px) {
  .navbar,
  .content {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1920px) {
  .navbar,
  .content {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.navbar, .menu {
  overflow: visible;
}

.dropdown {
  z-index: 2000;  
}

.dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 2000;
  min-width: 160px;
}

.has-dropdown:hover > .dropdown {
  display: block;
}

.navbar,
.navbar-inner,
.menu,
li.has-dropdown {
  position: relative;
  overflow: visible;
}

.menu > li {
  position: relative;
}

.dropdown li {
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .content {
    padding: 2rem 3rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .content {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1rem 2rem;
    box-sizing: border-box;
    font-size: 1rem;
  }
}

@media (min-width: 769px) {
  .dropdown {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

@media (min-width: 769px) {
  
  @supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
    .dropdown {
      background: rgba(205, 210, 191, 0.9) !important; 
      
      backdrop-filter: blur(10px) !important;
      -webkit-backdrop-filter: blur(10px) !important;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important; 
    }
  }
}

.myGallery.masonry {
  column-count: 4; 
  column-gap: 12px; 
}

.myGallery.masonry figure {
  break-inside: avoid; 
  margin-bottom: 12px;
  display: inline-block;
  width: 100%; 
}

.myGallery.masonry img {
  width: 100%; 
  height: auto;
  display: block;
  border-radius: 8px;
}

 .grid {
    max-width: 1050px;
    margin: 2rem auto;
    column-count: 3; 
    column-gap: 30px;
  }

  .grid img {
    width: 100%;
    margin-bottom: 30px;
    cursor: pointer;
    display: inline-block;
    border-radius: 0;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
  }

  .grid img:hover {
    transform: scale(1.05);
  }
  
   
  @media (max-width: 900px) {
    .grid {
      column-count: 2;
    }
  }

  @media (max-width: 600px) {
    .grid {
      column-count: 1;
    }
  }

#lightbox {
  display: none;
  pointer-events: none;
  
}

#lightbox.lightbox-show {
  display: flex;
  pointer-events: auto;
  
}

.page-footer {
  width: 100%;
  padding: 1rem;
  text-align: center;
  color: #333;
  font-size: 1rem;
  background: none;
}

.page-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0; 
  justify-content: center; 
  align-items: center; 
}

.social-links a {
  display: block;
}


.social-links img {
  width: 2.8rem;      
  height: 2.8rem;      
  margin: 0 1.6rem; 
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.social-links img:hover {
  transform: scale(1.1); 
}

.social-links {
  font-size: 0;
}

.social-links a {
  font-size: initial; 
}

.social-links {
  list-style: none;
}

.social-links2 {
  display: flex;
  gap: 0; 
  justify-content: center; 
  align-items: center; 
}

.social-links2 a {
  display: block;
}


.social-links2 img {
  width: 12rem;      
  height: auto;     
  margin: 0.1rem 0rem; 
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.social-links2 img:hover {
  transform: scale(1.1); 
}

.social-links2 {
  font-size: 0;
}

.social-links2 a {
  font-size: initial; 
}

.social-links2 {
  list-style: none;
}

.contact-info {
  display: inline-block;  
  text-align: center;      
  margin: 0 auto;         
  font-size: 1.2rem;     
}



