@font-face {
  font-family: 'Samarkan';
  src: url('/fonts/SAMAN___.TTF') format('truetype');
}

.navbar-brand img {
  height: 12vh;
  margin-right: 1vh;
}

.navbar-custom {
  background: linear-gradient(135deg, #f4f808, #c30909); /* Colorful gradient */
  color: #fff;
}

.nav-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  display: inline-block;
  }


/* Navbar link styling as buttons */
.navbar-custom .nav-link {
  color: #fff;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.navbar-custom .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  background-color: #fff;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  z-index: -1;
}

/* Colorful hover effect on navbar links */
.navbar-custom .nav-link:hover {
  color: #000;
  box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #007bff, 0 0 40px #007bff;
}

.navbar-custom .nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.navbar-brand {
  color: #fd0d0d;
  font-weight: bold;
  display: flex;
  align-items: center;
  font-size: 45px;
  font-family: 'Samarkan', cursive;
}

/* Dropdown menu styling */
.navbar-custom .dropdown-menu {
  background: #ff7e5f;
  border-radius: 8px;
}
.navbar-custom .dropdown-item {
  color: #000000;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
/* Dropdown item hover effect */
.navbar-custom .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #6520f8;
  font-weight: bold;
}
.nav-link {
  font-size: 0.25 rem;
  font-weight: 500;
  color: #555;
  padding: 0.5rem 1.2rem;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link:focus {
  color: #007bff; /* Bootstrap Primary Color */
}
.nav-item.active .nav-link {
  color: #18048f;
  font-weight: 1000;
}

/* Submenu positioning for desktop */
.dropdown-submenu {
  position: relative;
  font-size: small;
  font-weight: bolder;
}

.dropdown-submenu .dropdown-menu {
  left: 100%;
  top: 0;
  display: none;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}


/* Indentation for submenus in mobile view */
.dropdown-menu .dropdown-item {
  padding-left: 1.5rem;
}

/* Ensure submenus are visible in mobile view */
.dropdown-menu.show {
  display: block;
}

.dropdown-menu {
  min-width: 12rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: small;
  font-weight: bolder;
}
.dropdown-item {
  color: #555;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: #000;
  background-color: #ff0000;
  box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000;
}

    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }

    .modal-content {
      background: linear-gradient(135deg, #f4f808, #c30909); /* Colorful gradient */
      margin: 10% auto;
      padding: 20px;
      width: 80%;
      max-width: 900px;
      border-radius: 8px;
    }

    .close-btn {
      float: right;
      font-size: 24px;
      cursor: pointer;
    }

    .logo-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr); /* default for desktop */
     gap: 20px;
     padding-top: 20px;
    }

    .logo-item {
      text-align: center;
    }

    .logo-item img {
      width: 80px;
      height: 80px;
      object-fit: contain;
    }

    .logo-item p {
      margin-top: 8px;
      font-size: 14px;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    a:hover p {
      text-decoration: underline;
    }

    .modal-title {
      font-size: 24px;
      text-align: center;
      margin-bottom: 20px;
      color: #333;
      font-weight: bold;
    }

    .link-title {
      font-size: 12px;
      text-align: center;
      margin-bottom: 20px;
      color: #333;
      font-weight: bold;
    }

/* -------------------------------------------------------------------------------------------------------------- */
   /* Ensure the slider and images are responsive */
   .carousel,
   .carousel-item {
    height: 100vh;
    min-height: 60px;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

  /* Dark overlay */
  .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 0 0 / 0%); /* Black overlay with 50% opacity */
  }

  /* Centered content */
  .carousel-caption {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .carousel-caption p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: auto;
  }

  /* Button styles */
  .carousel-caption .btn {
    margin-top: 20px;
  }

  /* Custom indicators (white dashes) */
  .carousel-indicators {
    z-index: 3; /* Ensure indicators are above the overlay */
  }

  .carousel-indicators button {
    background-color: white;
    width: 30px;
    height: 4px;
    border-radius: 2px;
    margin: 5px;
    opacity: 0.5;
  }

  .carousel-indicators .active {
    opacity: 1;
  }

  .btn-grad {background-image: linear-gradient(to right, #c21500 0%, #ffc500  51%, #c21500  100%)}

  .btn-grad {
  margin: 05px;
  padding: 9px 15px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.2s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  }
  
  .btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
  }
  
  .btn-grad-sant-saral {background-image: linear-gradient(to right, #870000 0%, #190A05  51%, #870000  100%)}
  
  .btn-grad-sant-saral {
   width:200px;
   margin: 05px;
   margin-left:30%;
   padding: 9px 10px;
   text-align: center;
   text-transform: uppercase;
   font-weight: bold;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   box-shadow: 0 0 20px #eee;
   border-radius: 10px;
   display: block;
  }
  
  .btn-grad-sant-saral:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
  }

/* ------------------------------------------------------------------------------------------------------------- */ 

.sant-saral-section {
background-image: url('/images/pic03.webp');
background-size: cover;
background-position: center;
padding: 60px 0;
color: #ffffff;
}

.glowing-box {
display: inline-block;
padding: 2rem;
background-color: #282828;
border-radius: 5px;
box-shadow: 0 0 10px rgba(252,246,178,0.7), 0 0 40px rgba(252,246,178, 0.7),
  0 0 60px rgba(252,246,178, 0.7);
transition: box-shadow 0.3s;
text-align: justify;
text-justify: inter-word;
}
.glowing-box:hover {
box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
   0 0 90px rgba(252,246,178, 0.9);
}

/* ------------------------------------------------------------------------------------------------------------- */ 
.section-container {
padding: 50px 10px;
background: url('/images/background1.webp') no-repeat center center/cover;
position: relative;
color: #161212;
height: 100vh;
}

/* About section with its own background image */
.about-section {
font-family: 'Roboto', sans-serif;
font-size: 1rem;
background:  no-repeat center center/cover;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
color: #333;
position: relative;
overflow: hidden;
text-align: left;
}

.btn-grad-thf {background-image: linear-gradient(to right, #4776E6 0%, #8E54E9  51%, #4776E6  100%)}
.btn-grad-thf {
     margin: 20px;
     padding: 10px 25px;
     text-align: center;
     text-transform: capitalize;
     text-decoration: none;
     transition: 0.5s;
     background-size: 200% auto;
     color: white;            
     box-shadow: 0 0 20px #eee;
     border-radius: 10px;
     font-weight: bold;
   }
  
.btn-grad-thf:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
}
/* ------------------------------------------------------------------------------------------------------------- */ 
.contact-section {
background-image: url('/images/background2.webp'); /* Replace with your background image */
background-size: cover;
background-position: center;
padding: 60px 20px;
color: #ffffff;
text-align: center;
position: relative;
}

/* Overlay for better text visibility */
.contact-section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
z-index: 1;
}

/* Content should sit above the overlay */
.contact-section .content {
position: relative;
z-index: 2;
}


.contact-logo {
  width: 140px;
  display: block;
  margin: 0 auto 10px;
  border-radius: 50%;

  transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Desktop hover */
.contact-logo:hover,

/* Mobile tap */
.contact-logo:active,
.contact-logo:focus {
  transform: scale(1.1);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(255, 255, 255, 0.5);
}


/* Contact Us header */
.contact-header {
font-size: 2rem;
font-weight: bold;
color: #ffffff;
margin-bottom: 20px;
}

/* Form and field styling */
.contact-form {
max-width: 600px;
margin: 0 auto;
text-align: left;
}

.form-group1 {
  margin-bottom: 1rem; /* Adjust this value for more or less spacing */
}

.contact-form label {
font-weight: bold;
color: #ffffff;

}

.button-contact {
font-family: inherit;
font-size: 20px;
background: #dc3545;
color: white;
padding: 0.8em 2em;
padding-left: 1.0em;
display: flex;
align-items: center;
border: none;
border-radius: 16px;
overflow: hidden;
transition: all 0.2s;
cursor: pointer;
position:relative;
left: 45%;
}

.button-contact span {
display: block;
margin-left: 0.3em;
transition: all 0.3s ease-in-out;
}

.button-contact svg {
display: block;
transform-origin: center center;
transition: transform 0.3s ease-in-out;
}

.button-contact:hover .svg-wrapper {
animation: fly-1 0.6s ease-in-out infinite alternate;
}

.button-contact:hover svg {
transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.button-contact:hover span {
transform: translateX(5em);
}

.button-contact:active {
transform: scale(0.95);
}

@keyframes fly-1 {
from {
  transform: translateY(0.1em);
}

to {
  transform: translateY(-0.1em);
}
}
/* -------------------------------------------------------------------------------------------------------------- */

body.about {
  background-image: url('/images/background1.webp'); /* Replace with your background image path */
  background-size: cover;
  background-attachment: fixed;
  color: black; /* Set font color to black */
}

/* Smooth scrolling effect */
html {
  scroll-behavior: smooth;
  }
  
  .sectionaboutus {
  padding: 40px 0;
  color: black; /* Set text color to black */
  }
  
  .sectionaboutus h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 15px;
  }
  
  .sectionaboutus p {
  font-size: 1rem;
  }
  
  .sectionaboutus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  align-self: start;
  }
  
  .rounded-box1 {
  background-color: rgba(255, 255, 255, 0.7); /* Light background for contrast */
  border-radius: 15px; /* Rounded corners */
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  margin-bottom: 20px;
  }
  /* Rounded Box Styling */
  .rounded-box {
  max-width: 125%;
  background-color: rgba(255, 255, 255, 0.7); /* Light background for contrast */
  border-radius: 15px; /* Rounded corners */
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  margin-bottom: 20px;
  align-self: start;
  }
/* -------------------------------------------------------------------------------------------------------------- */

.thf-seva-section {
  background-image: url("/images/Sevabackground.png");
  background-size: cover;
  background-position: center;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.thf-seva-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  flex-direction: column;

}

.thf-seva-item {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  margin-left: -35px;
  margin-top: 20%;
}

.thf-seva-item img {
  width: 80vh;
  height: 80vh;
  display: block;
  border-radius: 15px; /* Rounded edges */
  box-shadow: 0px 4px 15px rgba(0, 0, 40, 0.866); /* Shadow effect */
}

.thf-seva-item img:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}


.thf-seva-item .text-box {
  position: absolute;
  bottom: 10%;
  width: 80vh;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.088);
  color: #ffffff;
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(5px);
  font-weight: bolder;
  border-radius: 10px; /* Rounded edges for text box */
}

img {
  vertical-align: top;
  }

.img-text {
  margin-left: 10px; /* add any additional margin if needed */
  }

.card1 {
background: #11101016;
height:80vh;
width:80vh;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
padding-top: 80px; /* Space for the image overlap */
gap:30px;
margin-left: -25%;
margin-top: 40%;
}

.card1:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}

.card2 {
background: #11101016;
height:80vh;
width:80vh;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
padding-top: 80px; /* Space for the image overlap */
gap:30px;
margin-left: -25%;
margin-top: 40%;

}

.card2:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}

.card3 {
background: #11101016;
height:80vh;
width:80vh;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
padding-top: 80px; /* Space for the image overlap */
gap:30px;
margin-left: -25%;
margin-top: 30%;

}

.card3:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}

.card4 {
background: #11101016;
height:80vh;
width:80vh;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
padding-top: 80px; /* Space for the image overlap */
gap:30px;
margin-left: -25%;
margin-top: 30%;

}

.card4:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}

.card5 {
background: #11101016;
height:80vh;
width:80vh;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
padding-top: 80px; /* Space for the image overlap */
gap:30px;
margin-left: -25%;
margin-top: 30%;

}

.card5:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}

.card6 {
background: #11101016;
height:80vh;
width:80vh;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
position: relative;
padding-top: 80px; /* Space for the image overlap */
gap:30px;
margin-left: -25%;
margin-top: 30%;
}
.card6:hover {
  border-radius: 15px; 
  box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
 0 0 90px rgba(252,246,178, 0.9);
}


.card-image {
position: relative;
transform: translateX(-50%);
border-radius: 50%;
}

.card-image img {
width: 50%;
height: 50%;
object-fit: cover;
margin-top: -33%;
margin-left: 75%;
}

.card-content {
padding: 20px;
}

.card-content h2 {
font-size: 7vh;
font-weight: bolder;
margin-top: -25%;  /* 5px below the card-image */
margin-bottom: 5px;  /* Create a 5px gap above the paragraph */
color: #0ff3ef;
text-align: center;
font-family: 'Roboto', sans-serif;
text-align: center;
}

.card-content p {
font-size: 3.5vh;
color: #ffffff;
margin-bottom: 20px; /* Optional: Keep bottom spacing for paragraph */
text-align: left;

}
/* Falling objects container */
.falling-container {
  position: fixed; /* Cover the entire screen height */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Ensure it doesn't block interactions */
  z-index: 9999; /* Bring falling objects to the front */
}

/* Falling object styles */
.falling-object {
  position: absolute;
  width: 90px;
  height: 90px;
  animation: fall-and-spin linear infinite;
  filter: brightness(1.8);
  z-index: 9999; /* Ensure objects stay on top */
}

/* Combined falling and spinning animation */
@keyframes fall-and-spin {
  0% {
      transform: translateY(-100px) rotate(0deg);
      opacity: 1;
  }
  100% {
      transform: translateY(100vh) rotate(360deg); /* Extend to cover full screen height */
      opacity: 0;
  }
}

/* ------------------------------------------------------------------------------------------------------------- */ 

body.sant-saral-gita-summ {
  background-image: url('/images/chptrs.png'); 
  background-size: cover;
  background-attachment: fixed;
  color: black; 
  }


/* Full-Width Image */
.sant-saral-gita-summ .shri-hari-image {
  width: 100%;
  height: auto;
  margin-top: 0px;
}

/* Full-Width Image */
.sant-saral-gita-summ .sant-saral-image {
  width: 100%;
  height: auto;
  margin-top: 0px;
}

/* Full-Width Image */
.sant-saral-gita-summ .full-width-image {
  width: 100%;
  height: auto;
  margin-top: 0px;
}

.sant-saral-gita-summ .counter-container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  border-radius: 10px;
  top:20%;
}

.sant-saral-gita-summ .counter-item {
  font-size: 2rem;
}

.sant-saral-gita-summ .counter {
  font-size: 3rem;
  font-weight: bold;
}

/* Grid Section */
.sant-saral-gita-summ  .grid-section {
  padding: 20px;
  margin-top: 20px;
}

.sant-saral-gita-summ  .image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sant-saral-gita-summ   .grid-item {
  position: relative;
  background: #f0f0f000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgb(0, 0, 0);
  cursor: pointer;
}

.sant-saral-gita-summ  .grid-item img {
  width: 100%;
  height: auto;
}

.sant-saral-gita-summ  .grid-item:hover {
box-shadow: 0 0 10px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
   0 0 90px rgba(252,246,178, 0.9);
}

/* Overlay Text Container */
.sant-saral-gita-summ .text-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: white;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between; /* Adjust this to control spacing */
}

/* Positioning for text elements */
.sant-saral-gita-summ .text-overlay .text1 {
position: absolute;
top: 40%; /* Move text1 down from the top */
left: 32%; /* Move text1 from the left */
font-size: 1.50vw;
font-weight: bold;
color: rgb(19, 5, 5);
align-items: center;
word-wrap: break-word;
}

.sant-saral-gita-summ .text-overlay .text2 {
position: absolute;
top: 72%; /* Center text2 vertically */
left: 32%; /* Align text2 with the left */
transform: translateY(-50%); /* Center vertically */
font-size: 1.56vw;
font-weight: bold;
color: rgb(181, 234, 34);
}

.sant-saral-gita-summ .text-overlay .text3 {
position: absolute;
bottom: 05%; /* Position text3 near the bottom */
left: 32%; /* Align text3 with the left */
font-size: 1.56vw;
font-weight: bold;
color: rgb(181, 234, 34);
}

.sant-saral-gita-summ .text-overlay .text1:hover {
  color: #e61c30;
  text-shadow: 1px 1px 5px #111103;
  font-weight: bolder; 
}

.text-overlay .text2:hover {
  color: #0bedf1;
}

.text-overlay .text3:hover {
  color: #1aec32;
}

/* Background image styling */
.sant-saral-gita-summ .image-container {
  position: relative;
  width: 100%;
  height: 100%;
  }
  
  .background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  }
  
  /* Counter container styling */
  .counter-container1 {
  position: absolute;
  display: flex;
  gap: 15.5vw;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -55%);
  top: 50%; 
  left: 45%;
  }
  
  /* Individual counter spot styling */
  .counter-spot1 {
  color: #151313;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5vw;
  margin-left: 8vw;
  margin-right: 3%;
  
  }
  
  /* Individual counter spot styling */
  .counter-spot2 {
  position: relative;
  color: #151313;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5vw;
  margin-left: 02%;
  margin-right: 0%;
  }
  
  .counter-spot3 {
  color: #151313;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5vw;
  right: 05%;
  
  }
  
  .counter1 {
  font-size: 2.5vw;
  font-weight: bold;
  color: rgb(19, 5, 5);
  } 
  
    /* Popup styles */
    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.841);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 24px;
      cursor: pointer;
    }
  
    .popup-content {
  /*    background: linear-gradient(135deg, #f4f808, #c30909); /* Colorful gradient */
      background: linear-gradient(44deg, #59a0fc, #5a7ff2, #6a58df);
      padding: 10vw;
      width: 80%;
      height: 40%;
      text-align: center;
      position: relative;
      border-radius: 8px;
      font-size: 2vh;
      font-weight: bolder;
    }
  
    .popup-buttons {
      display: flex;
      justify-content: space-around;
      gap: 5vw;
      flex-wrap: wrap;
      justify-content: space-around;
    }
   
  .popup-btn {
    position: relative;
    top: 0;
    left: 0;
    width: 250px;
    height: 50px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .popup-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; 
    padding: 10px;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    color: #072749;
    font-weight: 400px;
    font-size: larger;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(9px);
  }
  .popup-btn:hover a {
    letter-spacing: 3px;
  }
  .popup-btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.316), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
  }
  .popup-btn:hover a::before {
    transform: skewX(45deg) translate(200px);
  }
  .popup-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #f00;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5;
  }
  .popup-btn:hover::before /*lightup button*/ {
    bottom: 0;
    height: 50%;
    width: 80%;
    border-radius: 10px;
  }
  
  .popup-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    top: -5px;
    width: 30px;
    height: 10px;
    background: #f00;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5;
  }
  .popup-btn:hover::after /*lightup button*/ {
    top: 0;
    height: 50%;
    width: 80%;
    border-radius: 10px;
  }
  .popup-btn:nth-child(1)::before, /*chnage 1*/
  .popup-btn:nth-child(1)::after {
    background: #ff1f71;
    box-shadow: 0 0 5px rgb(255, 31, 113), 0 0 15px #ff1f71, 0 0 30px #ff1f71,
      0 0 60px #ff1f71;
  }
  .popup-btn:nth-child(3)::before, /* 2*/
  .popup-btn:nth-child(3)::after {
    background: #2db2ff;
    box-shadow: 0 0 5px #2db2ff, 0 0 15px #2db2ff, 0 0 30px #2db2ff,
      0 0 60px #2db2ff;
  }
  .popup-btn:nth-child(2)::before, /* 3*/
  .popup-btn:nth-child(2)::after {
    background: #1eff45;
    box-shadow: 0 0 5px #1eff45, 0 0 15px #1eff45, 0 0 30px #1eff45,
      0 0 60px #1eff45;
  }
/* ----------------------------------   MOOL PAATH   ----------------------------------------------------------- */

body.sant_saral_gita_chapter {
  background-image: url('/images/chptrs.png'); /* Replace with your background image path */
  background-size: cover;
  background-attachment: fixed;
  color: black; /* Set font color to black */
}



.responsive-image-mool-path {
  width: 100%;
  aspect-ratio: 3 / 1;
  height: auto;
  display:block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -70px;
  object-fit: cover; 
}

.responsive-image1 {
  width: 100%;
  height: 250px;
  margin-bottom: -100px;
}

.logo-section {
  margin-top: -20px;
  padding: 20px 0;
}

.logo-item-nav img {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border-radius: 50%; /* Optional: make it circular if the logo supports it */
  margin-left: 105px;
}

.logo-item-nav img:hover {
  transform: scale(0.8); /* Slight zoom on hover */
  box-shadow: 0 0 0 5px rgb(64, 0, 255),  0 0 0 10px rgba(85, 0, 255, 0.7);
}

.logo-item img {
  width: 69px;
  height: 69px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border-radius: 50%; /* Optional: make it circular if the logo supports it */
}

.logo-item img:hover {
  transform: scale(0.9); /* Slight zoom on hover */
  box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
}


/* Styling for marquee sections */
.marquee1 {
  background: #f6f6f6;
  color: rgb(11, 10, 10);
  padding: 3px 0;
  font-size: 1.2rem;
  margin-top: 30px;
  font-weight: bolder;
  font-family: 'Times New Roman', Times, serif;
}

.marquee1:hover {
  box-shadow: 0 0 10px rgba(226, 26, 33, 0.9), 0 0 60px rgba(233, 11, 18, 0.9),
  0 0 90px rgba(235, 8, 57, 0.9);
}

.marquee2 {
  background: #f6f6f6;
  color: rgb(11, 10, 10);
  padding: 10px 0;
  font-size: 1.2rem;
  margin-top:90px;
  font-weight: bolder;
  font-family: 'Times New Roman', Times, serif;
}

.marquee2:hover {
  box-shadow: 0 0 10px rgba(226, 26, 33, 0.9), 0 0 60px rgba(233, 11, 18, 0.9),
  0 0 90px rgba(235, 8, 57, 0.9);
}

.hindi-text-section {
  margin: 20px 0;
}    


/* Yellow text box in h1 section */
.yellow-box {
  background-color: #C1FF72;
  padding: 1px;
  border-radius: 6px;
  text-align: center;
  margin: 5px auto;
  display: inline-block;
  margin-left: 40px;
  position: sticky;

}

.yellow-box:hover {
  box-shadow: 0 0 10px rgba(248, 88, 9, 0.9), 0 0 60px rgba(228, 11, 11, 0.9),
     0 0 90px rgba(252,246,178, 0.9);
}
.amita-bold {
  font-family: "Amita", serif;
  font-weight: 700;
  font-style: normal;
}

.yatra-one-regular {
  font-family: "Yatra One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.yatra-one-regular1 {
  font-family: "Yatra One", system-ui;
  font-weight: 400;
  font-size: medium;
  font-style: normal;
  font-weight: bold;
}

.yatra-one-regular2-id {
  font-family: "Yatra One", system-ui;
  font-weight: 600;
  font-size: x-large;
  font-style: normal;
  margin-top: 0px;
  margin-bottom:30px;
}

.yatra-one-regular2 {
  font-family: "Yatra One", system-ui;
  font-weight: 600;
  font-size: x-large;
  font-style: normal;
  margin-top: 0px;
  margin-bottom:30px;
}

/* White text box in the image-text-audio section */
.white-box {
  background-color: white;
  padding: 9px;
  border-radius: 15px;
  text-align: center;
  width: min-content; 
  margin-top: 68px;
}

/* Buttons styling */
.custom-buttons .btn {
  margin: 10px;
}

   /* Styling for logo section on bar image */
.bar-logo-container {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 10px 0;
  margin-top: 110px;
}

.logo-line {
  display: flex;
  justify-content: center;
  align-items: center;
  left: 25px;
  gap: 10px;
  transform: translateY(-170px); /* Move the logos upward */
  margin-top: -140px;
}

.logo-line img {
  width: 59px; /* Adjust size as needed */
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border-radius: 50%; /* Optional: make it circular if the logo supports it */
}

.logo-line img:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
}

.img-fluid1 {
  position: sticky;
  top: 20px; /* The image will stick 20px below the viewport's top edge */
  width: 290px; /* Adjust the size of the image */
  height: 290px;
  margin: auto;
  display: block;
}    

.top-image-section {
  margin-bottom: 100px; /* Removes extra margin from the bottom of the top image section */
  margin-top: 100px;
  padding-bottom: -90px; /* Ensures no padding at the bottom of the top section */
}

.sticky-element_image {
  position: sticky;
  margin-top: 70px; 
  margin-left: -5px;
  display: inline-block;
  padding: 0.2rem;
  background-color: #282828;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(252,246,178,0.7), 0 0 40px rgba(252,246,178, 0.7),
    0 0 60px rgba(252,246,178, 0.7);
  transition: box-shadow 0.3s;

}

.sticky-element_image1 {
    position: sticky;
    top: 20px; 
    margin-left: 5px;
    display: inline-block;
    padding: 0.2rem;
    background-color: #282828;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(252,246,178,0.7), 0 0 40px rgba(252,246,178, 0.7),
      0 0 60px rgba(252,246,178, 0.7);
    transition: box-shadow 0.3s;
}

.sticky-element_image:hover {
box-shadow: 20px 20px 60px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
   0 0 90px rgba(252,246,178, 0.9);
}

.audio-container {
display: flex;
flex-direction: column;
align-items: center; /* Center align */
position: relative;
}

.play-button {background-image: linear-gradient(to right, #56CCF2 0%, #2F80ED  51%, #56CCF2  100%)}

.play-button {
padding: 10px 15px;
text-align: center;
text-transform: uppercase;
transition: 0.5s;
background-size: 200% auto;
color: white;            
box-shadow: 0 0 20px #eee;
border-radius: 10px;
display: block;
margin-bottom: -9px; /* Space between button & audio control */
margin-top: 20px;
font-weight: bolder;
}

.play-button:hover {
color: #fff;
text-decoration: none;
box-shadow: 20px 20px 60px rgba(252,246,178, 0.9), 0 0 60px rgba(252,246,178, 0.9),
   0 0 90px rgba(252,246,178, 0.9);
}


.sticky-element-audio {
    position: sticky;
    margin-top: 10px;
    margin-left: -20px;
    text-align: center;
    margin-bottom: -70px; 

  }

.btn1-grad-sant-saral-chpt {background-image: linear-gradient(to right, #c21500 0%, #ffc500  51%, #c21500  100%)}
.btn1-grad-sant-saral-chpt {
margin: 10px;
padding: 15px 45px;
text-align: center;
text-transform: uppercase;
transition: 0.5s;
background-size: 200% auto;
color: rgb(31, 0, 104);            
box-shadow: 0 0 20px #eee;
border-radius: 10px;
display: inline-block;
font-weight: bolder;
left: 20px;
}

.btn1-grad-sant-saral-chpt:hover {
background-position: right center; /* change the direction of the change here */
color: #120f0f;
text-decoration: none;
font-weight: bolder;
}

#scrollTopBtn {
display: none; /* Hidden initially */
position: fixed;
bottom: 40px;
right: 10px;
z-index: 100;
width: 38px;   /* Adjust size */
height: 38px;
cursor: pointer;
opacity: 1.0;
transition: opacity 0.3s ease;
}
#scrollTopBtn:hover {
opacity: 1;
}

/* Falling objects animation */
@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.falling-object-kk {
  position: fixed;
  width: 50px;
  height: 50px;
  animation: fall linear infinite;
  opacity: 0;
  z-index: 10; /* Ensures falling objects are above everything else */
  filter: brightness(1.5) contrast(1.5) saturate(1.0);
  transition: all 0.3s ease-in-out;
}

.falling-object-kk:nth-child(1) {
  left: 8%;
  animation-duration: 5s;
  animation-delay: 0s;
}

.falling-object-kk:nth-child(2) {
  left: 9%;
  animation-duration: 5s;
  animation-delay: 1s;
}

.falling-object-kk:nth-child(3) {
  left: 10%;
  animation-duration: 5s;
  animation-delay: 2s;
}

.falling-object-kk:nth-child(4) {
  left: 12%;
  animation-duration: 5s;
  animation-delay: 1s;
}

.falling-object-kk:nth-child(5) {
  left: 13%;
  animation-duration: 5s;
  animation-delay: 2s;
}

.falling-objec-kkt:nth-child(6) {
  left: 14%;
  animation-duration: 5s;
  animation-delay: 0s;
}
.falling-object-kk:nth-child(7) {
  left: 15%;
  animation-duration: 4s;
  animation-delay: 1s;
}

.falling-object-kk:nth-child(8) {
  left: 16%;
  animation-duration: 3s;
  animation-delay: 2s;
}

.falling-object-kk:nth-child(9) {
  left: 17%;
  animation-duration: 4s;
  animation-delay: 2.5s;
}

.falling-object-kk:nth-child(10) {
  left: 18%;
  animation-duration: 4s;
  animation-delay: 2s;
}

.falling-object-kk:nth-child(11) {
  left: 19%;
  animation-duration: 4s;
  animation-delay: 2.5s;
}    

.falling-object-kk:nth-child(12) {
  left: 20%;
  animation-duration: 4s;
  animation-delay: 2.5s;
}
.falling-object-kk:nth-child(13) {
  left: 21%;
  animation-duration: 4s;
  animation-delay: 2.6s;
}

.falling-object-kk:nth-child(14) {
  left: 22%;
  animation-duration: 4s;
  animation-delay: 1.5s;
}

.falling-object-kk:nth-child(15) {
  left: 23%;
  animation-duration: 4s;
  animation-delay: 2.5s;
}

.falling-object-kk:nth-child(16) {
  left: 24%;
  animation-duration: 4s;
  animation-delay: 2.8s;
}

.falling-object-kk:nth-child(17) {
  left: 25%;
  animation-duration: 4s;
  animation-delay: 2.4s;
}

#message {
    font-size: 110% !important;
    line-height: 30px!important;
    display: flex !important;
  }  

div#aksharamukha-navbar1 {
      font-family: inherit;
      display: inline-block;
      border: 0;
      text-decoration: none;
      border-radius: 10px;
      background-color: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.1);
      backdrop-filter: blur(30px);
      color: rgba(12, 1, 1, 0.8);
      cursor: pointer;
      text-transform: uppercase;
      top: 585px !important;
      right:40px !important;
      font-weight: bolder;
    }

div#aksharamukha-navbar {
      background: #F1F1E7 !important;
      border: 3px solid rgb(251, 9, 70) !important;
      top: 585px !important;
      right:40px !important;
      box-shadow: 0 0 20px #eee;
      border-radius: 10px;
    }

div#aksharamukha-navbar:hover {
      box-shadow: 20px 20px 60px #0bedf1, 0 0 50px #0bedf1,
        0 0 80px #0bedf1;
      }


button#aksharamukha-minlogobutton {
    font-family: inherit;
    background: #dc3545;
    color: rgb(31, 0, 104);  
    padding: 18px 15px;
    padding-left: 18px;
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    height: 9px;
    font: 1.5em sans-serif;
    top: 5px;
    font-weight: bolder;
    background-image: linear-gradient(to right, #c21500 0%, #ffc500  51%, #c21500  100%)
    }

    @media (max-width: 768px) {
/* White text box in the image-text-audio section */
    html, body {
    overflow-x: hidden !important;
    }

    .logo-grid {
      grid-template-columns: repeat(2, 1fr); /* tablet */
    }
    .white-box {
      background-color: white;
      padding: 5px;
      border-radius: 15px;
      text-align: center;
      width: 99%; 
      margin-top: 68px;
    }
    .logo-section {
      margin-top: -44px;
      padding: 30px 6px;
      width: 100%;
    }
    .sticky-element-audio {
      margin-left: -1%;
      pointer-events: auto;
      touch-action: manipulation; 

    }  

    .yatra-one-regular1 {
      font-size: 0.70rem;
    }   
    .btn1-grad-sant-saral-chpt {
      margin-left: 0px;
    } 

    .logo-item-nav img {
      width: 70px;
      height: 70px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
      border-radius: 50%; /* Optional: make it circular if the logo supports it */
      margin-left: 25px;
    }
  
    .logo-item-nav img:hover {
      transform: scale(0.9); /* Slight zoom on hover */
      box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
    }

    .logo-item img {
      width: 30px;
      height: 30px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
      border-radius: 50%; /* Optional: make it circular if the logo supports it */
      margin-left: -10px;
    }

    .logo-item img:hover {
      transform: scale(0.9); /* Slight zoom on hover */
      box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
    }

    .responsive-image {
      width: 100%;
      height: auto;
      display:block;
    }

    .responsive-image-mool-path {
      width: 100%;
      height: 200px;
      display:block;
      height: 150px;
      object-fit: cover;
    }

    .responsive-image1 {
      width: 100%;
      height: 250px;
      margin-bottom: -100px;
    }    

    /* Yellow text box in h1 section */
    .yellow-box {
      background-color: #C1FF72;
      padding: 1px;
      border-radius: 6px;
      text-align: center;
      margin: 1px auto;
      display: inline-block;
      margin-left: 0px;
      position: sticky;
    }

    .sticky-element_image {
      border-radius: 0px;
      margin-left: 5px;
    }

    .img-fluid {
      max-width: 97%;
      height: auto;
    }    

    .h1, h1 {
      font-size: 1.6rem;
    }

   /* Falling objects animation */
   @keyframes fall {
      0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
      }
      100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
      }
    }

    .falling-object-kk {
      position: fixed;
      width: 50px;
      height: 50px;
      animation: fall linear infinite;
      opacity: 0;
      z-index: 10; /* Ensures falling objects are above everything else */
      filter: brightness(1.5) contrast(1.5) saturate(1.0);
      transition: all 0.3s ease-in-out;
    }

    .falling-object-kk:nth-child(1) {
      left: 10%;
      animation-duration: 5s;
      animation-delay: 6s;
    }

    .falling-object-kk:nth-child(2) {
      left: 15%;
      animation-duration: 5s;
      animation-delay: 7s;
    }

    .falling-object-kk:nth-child(3) {
      left: 20%;
      animation-duration: 5s;
      animation-delay: 8s;
    }

    .falling-object-kk:nth-child(4) {
      left: 25%;
      animation-duration: 5s;
      animation-delay: 9s;
    }

    .falling-object-kk:nth-child(5) {
      left: 30%;
      animation-duration: 5s;
      animation-delay: 10s;
    }

    .falling-objec-kkt:nth-child(6) {
      left: 35%;
      animation-duration: 5s;
      animation-delay: 11s;
    }
    .falling-object-kk:nth-child(7) {
      left: 40%;
      animation-duration: 4s;
      animation-delay: 12s;
    }

    .falling-object-kk:nth-child(8) {
      left: 45%;
      animation-duration: 3s;
      animation-delay: 2s;
    }

    .falling-object-kk:nth-child(9) {
      left: 50%;
      animation-duration: 4s;
      animation-delay: 8s;
    }

    .falling-object-kk:nth-child(10) {
      left: 55%;
      animation-duration: 4s;
      animation-delay: 7s;
    }

    .falling-object-kk:nth-child(11) {
      left: 60%;
      animation-duration: 4s;
      animation-delay: 10s;
    }    

    .falling-object-kk:nth-child(12) {
      left: 65%;
      animation-duration: 4s;
      animation-delay: 12.5s;
    }
    .falling-object-kk:nth-child(13) {
      left: 70%;
      animation-duration: 4s;
      animation-delay: 16s;
    }

    .falling-object-kk:nth-child(14) {
      left: 75%;
      animation-duration: 4s;
      animation-delay: 19s;
    }

    .falling-object-kk:nth-child(15) {
      left: 80%;
      animation-duration: 4s;
      animation-delay: 22.5s;
    }

    .falling-object-kk:nth-child(16) {
      left: 83%;
      animation-duration: 4s;
      animation-delay: 28s;
    }

    .falling-object-kk:nth-child(17) {
      left: 85%;
      animation-duration: 4s;
      animation-delay: 5s;
    }    
    }
    button#aksharamukha-minlogobutton {
      left:0%;
      }
    
    div#aksharamukha-navbar {
      left:35%;
    }

/* ------------------------------------------------------------------------------------------------------------- */ 

/* Footer Styling */
.footer {
background: linear-gradient(to right, #c21500 0%, #ffc500  51%, #c21500  100%);
color: #000; /* White text */
padding: 20px 10px;
font-size: 14px;
width: 100%;
margin: 0px 0 0 0px;
position:absolute;
}

/* Top row styling */
.footer-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}

.footer-logo {
text-align: center;
margin-bottom: 03px;
}

.footer-logo img {
width: 100px;
margin-bottom: 03px;
}

.footer-logo div {
font-size: 16px;
font-weight: bold;
}

.footer-middle {
text-align: center;
margin-bottom: 13px;
font-size: 20px;
font-weight: bold;
}

.footer-middle ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer-middle ul li {
margin: 5px 0; /* Vertical spacing for stacked links */
}

.footer-middle ul li a {
color: #000;
text-decoration: none;
transition: color 0.3s;
}

.footer-middle ul li a:hover {
color: #00bcd4; /* Light blue hover effect */
}

.footer-follow-us {
text-align: center;
margin-bottom: 3px;
font-size: 20px;
font-weight: bold;
}

.footer-follow-us a {
color: #000;
text-decoration: none;
margin: 0 05px;
font-size: 20px;
transition: color 0.3s;
}

.footer-follow-us a:hover {
color: #00bcd4; /* Light blue hover effect */
}

/* Bottom row styling */
.footer-bottom {
text-align: center;
padding-top: 10px;
font-size: 20px;
font-weight: bold;
margin-top: 25px;
}

/* ------------------------------------------------------------------------------------------------------------- */ 
@media (max-width: 576px) {
.navbar-brand img {
  height: 07vh;
}

html.sant_saral_gita_chapter, body.sant_saral_gita_chapter {
  overflow-x: hidden !important;
  }
  
.navbar-brand {
  color: #fd0d0d;
  font-weight: bold;
  display: flex;
  align-items: right;
  font-size: 3vh;
  font-family: 'Samarkan', cursive;
  margin-left: 1vh;
}

.carousel,.carousel-item {
  height: 26.5vh;
  width: 100vw;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-caption {
  bottom: -15px;
  width:170px;
  left: 55%;
  transform: translateX(-50%);
  z-index: 2;
}

.carousel-caption p {
  font-size: 0.4rem;
  max-width: 700px;
  margin: auto;
}

.carousel-caption .btn {
  font-size: 0.8rem;
}

.btn-grad-sant-saral {
  width:70px;
  margin: -2px;
  margin-left:30%;
  padding: 3px 3px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  font-size: 05px;
 }

.btn-grad {
  margin: 00px;
  padding: 4px 4px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.2s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  font-size: 05px;
 }
   
.section-container {
    padding: 30px 10px;
    background: url('/images/background1.webp') no-repeat center center/cover;
    position: relative;
    color: #161212;
    height: 100vh;
}
   
/* About section with its own background image */
.about-section {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  background:  no-repeat center center/cover;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  color: #333;
  position: relative;
  overflow: hidden;
  text-align: left;
}
    
.btn-grad-thf {background-image: linear-gradient(to right, #4776E6 0%, #8E54E9  51%, #4776E6  100%)}
.btn-grad-thf {
  margin: 10px;
  padding: 3px 7px;
  text-align: center;
  text-transform: capitalize;
  text-decoration: none;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.8rem;
 }
      
.btn-grad-thf:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.button-contact {
  position: relative;
  left: 25%; /* Remove left positioning */
  display: inline-flex;
  margin: 1rem auto; /* Center the button */
  padding: 0.4em 2em;
  overflow: hidden;
  align-items: center;
}
      
.footer-top {
  flex-direction: column;
  align-items: center;
}

.thf-seva-container {
  flex-direction: column;
  max-height: 500px;
  overflow-y: scroll;
}

.thf-seva-item {
  margin-left: 0;      /* Remove left margin for mobile */
  margin-bottom: 50px; /* Increase gap below the item */
}

.thf-seva-item img {
  width: 100%;
  height: 45vh;
}


.thf-seva-item .text-box {
  width: 100%;
}

.card1 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card2 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card3 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card4 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card5 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card6 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card-image img {
width: 50%;
height: 50%;
object-fit: cover;
margin-top: -40%;
margin-left: 80%;
}

.card-content h2 {
font-size: 7vh;
font-weight: bolder;
margin-top: -55px;  /* 5px below the card-image */
margin-bottom: 5px;  /* Create a 5px gap above the paragraph */
color: #0ff3ef;
text-align: center;
font-family: 'Roboto', sans-serif;
text-align: center;
}

.card-content p {
font-size: 2.5vh;
color: #ffffff;
margin-bottom: 50px; /* Optional: Keep bottom spacing for paragraph */
text-align: left;

}

.sant-saral-gita-summ .image-grid {
  display: grid;
  grid-template-columns: 1fr;  /* Only one column for vertical stacking */
  gap: 20px;
}

.sant-saral-gita-summ .grid-item {
  width: 100%; /* Ensure each item takes full width */
  margin-bottom: 20px; /* Space between the items */
}

/* Overlay Text Container */
.sant-saral-gita-summ .text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Adjust this to control spacing */
  }
  
  /* Positioning for text elements */
  .sant-saral-gita-summ .text-overlay .text1 {
  top: 40%; /* Move text1 down from the top */
  left: 32%; /* Move text1 from the left */
  font-size: 5.0vw;
  }
  
  .sant-saral-gita-summ .text-overlay .text2 {
  top: 75%; /* Center text2 vertically */
  left: 32%; /* Align text2 with the left */
  font-size: 6vw;
  }
  
  .sant-saral-gita-summ .text-overlay .text3 {
  bottom: 6.0%; /* Position text3 near the bottom */
  left: 32%; /* Align text3 with the left */
  font-size: 6vw;
  }
  
  /* Individual counter spot styling */
.counter-spot1 {
  margin-left: 7%;
  }
  
  /* Individual counter spot styling */
  .counter-spot2 {
  margin-left: -15%;
  }
  
  .counter-spot3 {
  margin-left: -8%;
  
  }
  
  .counter1 {
  font-size: 3.0vw;
  font-weight: bold;
  color: rgb(19, 5, 5);
  } 
/* White text box in the image-text-audio section */

html, body {
  overflow-x: hidden !important;
  }
  .white-box {
    background-color: white;
    padding: 5px;
    border-radius: 15px;
    text-align: center;
    width: 99%; 
    margin-top: 98px;
  }
  .logo-section {
    margin-top: -44px;
    padding: 30px 6px;
    width: 100%;
  }
  .sticky-element-audio {
    margin-left: -1%;
    pointer-events: auto;
    touch-action: manipulation; 

  }  

  .yatra-one-regular1 {
    font-size: 0.70rem;
  }   
  .btn1-grad-sant-saral-chpt {
    margin-left: 0px;
  } 

  .logo-item-nav img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 50%; /* Optional: make it circular if the logo supports it */
    margin-left: 25px;
  }

  .logo-item-nav img:hover {
    transform: scale(0.9); /* Slight zoom on hover */
    box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
  }

  .logo-item img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 50%; /* Optional: make it circular if the logo supports it */
    margin-left: -10px;
  }

  .logo-item img:hover {
    transform: scale(0.9); /* Slight zoom on hover */
    box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
  }

  .responsive-image {
    width: 100%;
    height: auto;
    display:block;
    margin-left: -10px;
    margin-right: auto;
    margin-bottom: -70px;
  }

  .responsive-image-mool-path {
    width: 100%;
    height: 200px;
    display:block;
  }
  .responsive-image1 {
    width: 100%;
    height: 250px;
    margin-bottom: -100px;
  }    

  /* Yellow text box in h1 section */
  .yellow-box {
    background-color: #C1FF72;
    padding: 1px;
    border-radius: 6px;
    text-align: center;
    margin: 1px auto;
    display: inline-block;
    margin-left: 0px;
    position: sticky;
  }

  .sticky-element_image {
    border-radius: 0px;
    margin-left: 5px;
  }

  .img-fluid {
    max-width: 97%;
    height: auto;
  }    

  .h1, h1 {
    font-size: 1.6rem;
  }

 /* Falling objects animation */
 @keyframes fall {
    0% {
      transform: translateY(-100px) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(100vh) rotate(360deg);
      opacity: 0;
    }
  }

  .falling-object-kk {
    position: fixed;
    width: 50px;
    height: 50px;
    animation: fall linear infinite;
    opacity: 0;
    z-index: 10; /* Ensures falling objects are above everything else */
    filter: brightness(1.5) contrast(1.5) saturate(1.0);
    transition: all 0.3s ease-in-out;
  }

  .falling-object-kk:nth-child(1) {
    left: 10%;
    animation-duration: 5s;
    animation-delay: 6s;
  }

  .falling-object-kk:nth-child(2) {
    left: 15%;
    animation-duration: 5s;
    animation-delay: 7s;
  }

  .falling-object-kk:nth-child(3) {
    left: 20%;
    animation-duration: 5s;
    animation-delay: 8s;
  }

  .falling-object-kk:nth-child(4) {
    left: 25%;
    animation-duration: 5s;
    animation-delay: 9s;
  }

  .falling-object-kk:nth-child(5) {
    left: 30%;
    animation-duration: 5s;
    animation-delay: 10s;
  }

  .falling-objec-kkt:nth-child(6) {
    left: 35%;
    animation-duration: 5s;
    animation-delay: 11s;
  }
  .falling-object-kk:nth-child(7) {
    left: 40%;
    animation-duration: 4s;
    animation-delay: 12s;
  }

  .falling-object-kk:nth-child(8) {
    left: 45%;
    animation-duration: 3s;
    animation-delay: 2s;
  }

  .falling-object-kk:nth-child(9) {
    left: 50%;
    animation-duration: 4s;
    animation-delay: 8s;
  }

  .falling-object-kk:nth-child(10) {
    left: 55%;
    animation-duration: 4s;
    animation-delay: 7s;
  }

  .falling-object-kk:nth-child(11) {
    left: 60%;
    animation-duration: 4s;
    animation-delay: 10s;
  }    

  .falling-object-kk:nth-child(12) {
    left: 65%;
    animation-duration: 4s;
    animation-delay: 12.5s;
  }
  .falling-object-kk:nth-child(13) {
    left: 70%;
    animation-duration: 4s;
    animation-delay: 16s;
  }

  .falling-object-kk:nth-child(14) {
    left: 75%;
    animation-duration: 4s;
    animation-delay: 19s;
  }

  .falling-object-kk:nth-child(15) {
    left: 80%;
    animation-duration: 4s;
    animation-delay: 22.5s;
  }

  .falling-object-kk:nth-child(16) {
    left: 83%;
    animation-duration: 4s;
    animation-delay: 28s;
  }

  .falling-object-kk:nth-child(17) {
    left: 85%;
    animation-duration: 4s;
    animation-delay: 5s;
  }
}    
/* ------------------------------------------------------------------------------------------------------------- */ 
@media (min-width: 577px) and (max-width: 768px) {
  .navbar-brand img {
      height: 08vh;
  }
  
  html.sant_saral_gita_chapter, body.sant_saral_gita_chapter {
    overflow-x: hidden !important;
    }
    
  .navbar-brand {
    color: #fd0d0d;
    font-weight: bold;
    display: flex;
    align-items: right;
    font-size: 3vh;
    font-family: 'Samarkan', cursive;
    margin-left: 1vh;
  }
  .carousel,.carousel-item {
    height: 190px;
    width: 100vw;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .carousel-caption {
    bottom: -15px;
    width:170px;
    left: 55%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .carousel-caption p {
    font-size: 0.4rem;
    max-width: 700px;
    margin: auto;
  }


  .carousel-caption .btn {
    font-size: 0.8rem;
  }

  .btn-grad-sant-saral {
    width:70px;
    margin: 2px;
    margin-left:30%;
    padding: 3px 3px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    font-size: 05px;
   }

   .btn-grad {
    margin: 00px;
    padding: 4px 4px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.2s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    font-size: 05px;
    }
    
.section-container {
  padding: 30px 10px;
  background: url('/images/background1.webp') no-repeat center center/cover;
  position: relative;
  color: #161212;
  height: 100vh;
  }
 
  /* About section with its own background image */
.about-section {
  font-family: 'Roboto', sans-serif;
  font-size: 0.5rem;
  background:  no-repeat center center/cover;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  color: #333;
  position: relative;
  overflow: hidden;
  text-align: left;
  }
      
.btn-grad-thf {background-image: linear-gradient(to right, #4776E6 0%, #8E54E9  51%, #4776E6  100%)}
.btn-grad-thf {
  margin: 20px;
  padding: 20px 35px;
  text-align: center;
  text-transform: capitalize;
  text-decoration: none;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  font-weight: bold;
}
        
.btn-grad-thf:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.button-contact {
  position: relative;
  left: auto; /* Remove left positioning */
  display: inline-flex;
  margin: 1rem auto; /* Center the button */
  padding: 0.4em 2em;
  overflow: hidden;
  align-items: center;
}
      
.footer-top {
  flex-direction: column;
  align-items: center;
}     

.thf-seva-container {
  flex-direction: column;
  max-height: 500px;
  overflow-y: scroll;
}

.thf-seva-item {
  margin-left: 0;      /* Remove left margin for mobile */
  margin-bottom: 50px; /* Increase gap below the item */
}

.thf-seva-item img {
  width: 100%;
  height: 45vh;
}

.thf-seva-item .text-box {
  width: 100%;
}

.card1 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card2 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card3 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card4 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card5 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card6 {
width: 100%;
height: auto;
margin-top: 1vh;
margin-bottom: 1vh;
margin-left: 0%;
}

.card-image img {
width: 50%;
height: 50%;
object-fit: cover;
margin-top: -40%;
margin-left: 80%;
}

.card-content h2 {
font-size: 7vh;
font-weight: bolder;
margin-top: -55px;  /* 5px below the card-image */
margin-bottom: 5px;  /* Create a 5px gap above the paragraph */
color: #0ff3ef;
text-align: center;
font-family: 'Roboto', sans-serif;
text-align: center;
}

.card-content p {
font-size: 2.5vh;
color: #ffffff;
margin-bottom: 50px; /* Optional: Keep bottom spacing for paragraph */
text-align: left;

}

/* White text box in the image-text-audio section */

html, body {
  overflow-x: hidden !important;
  }
  .white-box {
    background-color: white;
    padding: 5px;
    border-radius: 15px;
    text-align: center;
    width: 99%; 
    margin-top: 98px;
  }
  .logo-section {
    margin-top: -44px;
    padding: 30px 6px;
    width: 100%;
  }
  .sticky-element-audio {
    margin-left: -1%;
    pointer-events: auto;
    touch-action: manipulation; 

  }  

  .yatra-one-regular1 {
    font-size: 0.70rem;
  }   
  .btn1-grad-sant-saral-chpt {
    margin-left: 0px;
  } 

  .logo-item-nav img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 50%; /* Optional: make it circular if the logo supports it */
    margin-left: 25px;
  }

  .logo-item-nav img:hover {
    transform: scale(0.9); /* Slight zoom on hover */
    box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
  }
  .logo-item img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 50%; /* Optional: make it circular if the logo supports it */
    margin-left: -10px;
  }

  .logo-item img:hover {
    transform: scale(0.9); /* Slight zoom on hover */
    box-shadow: 0 0 0 5px rgba(255, 0, 0, 1),  0 0 0 10px rgba(255, 0, 0, 0.7);
  }

  .responsive-image-mool-path {
    width: 100%;
    height: 200px;
    display:block;
  }

  .responsive-image {
    width: 100%;
    height: auto;
    display:block;
    margin-left: -10px;
    margin-right: auto;
    margin-bottom: -70px;
  }

  .responsive-image1 {
    width: 100%;
    height: 250px;
    margin-bottom: -100px;
  }    

  /* Yellow text box in h1 section */
  .yellow-box {
    background-color: #C1FF72;
    padding: 1px;
    border-radius: 6px;
    text-align: center;
    margin: 1px auto;
    display: inline-block;
    margin-left: 0px;
    position: sticky;
  }

  .sticky-element_image {
    border-radius: 0px;
    margin-left: 5px;
  }

  .img-fluid {
    max-width: 97%;
    height: auto;
  }    

  .h1, h1 {
    font-size: 1.6rem;
  }

 /* Falling objects animation */
 @keyframes fall {
    0% {
      transform: translateY(-100px) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(100vh) rotate(360deg);
      opacity: 0;
    }
  }

  .falling-object-kk {
    position: fixed;
    width: 50px;
    height: 50px;
    animation: fall linear infinite;
    opacity: 0;
    z-index: 10; /* Ensures falling objects are above everything else */
    filter: brightness(1.5) contrast(1.5) saturate(1.0);
    transition: all 0.3s ease-in-out;
  }

  .falling-object-kk:nth-child(1) {
    left: 10%;
    animation-duration: 5s;
    animation-delay: 6s;
  }

  .falling-object-kk:nth-child(2) {
    left: 15%;
    animation-duration: 5s;
    animation-delay: 7s;
  }

  .falling-object-kk:nth-child(3) {
    left: 20%;
    animation-duration: 5s;
    animation-delay: 8s;
  }

  .falling-object-kk:nth-child(4) {
    left: 25%;
    animation-duration: 5s;
    animation-delay: 9s;
  }

  .falling-object-kk:nth-child(5) {
    left: 30%;
    animation-duration: 5s;
    animation-delay: 10s;
  }

  .falling-objec-kkt:nth-child(6) {
    left: 35%;
    animation-duration: 5s;
    animation-delay: 11s;
  }
  .falling-object-kk:nth-child(7) {
    left: 40%;
    animation-duration: 4s;
    animation-delay: 12s;
  }

  .falling-object-kk:nth-child(8) {
    left: 45%;
    animation-duration: 3s;
    animation-delay: 2s;
  }

  .falling-object-kk:nth-child(9) {
    left: 50%;
    animation-duration: 4s;
    animation-delay: 8s;
  }

  .falling-object-kk:nth-child(10) {
    left: 55%;
    animation-duration: 4s;
    animation-delay: 7s;
  }

  .falling-object-kk:nth-child(11) {
    left: 60%;
    animation-duration: 4s;
    animation-delay: 10s;
  }    

  .falling-object-kk:nth-child(12) {
    left: 65%;
    animation-duration: 4s;
    animation-delay: 12.5s;
  }
  .falling-object-kk:nth-child(13) {
    left: 70%;
    animation-duration: 4s;
    animation-delay: 16s;
  }

  .falling-object-kk:nth-child(14) {
    left: 75%;
    animation-duration: 4s;
    animation-delay: 19s;
  }

  .falling-object-kk:nth-child(15) {
    left: 80%;
    animation-duration: 4s;
    animation-delay: 22.5s;
  }

  .falling-object-kk:nth-child(16) {
    left: 83%;
    animation-duration: 4s;
    animation-delay: 28s;
  }

  .falling-object-kk:nth-child(17) {
    left: 85%;
    animation-duration: 4s;
    animation-delay: 5s;
  }

}


/* ------------------------------------------------------------------------------------------------------------- */  
 /* Show dropdowns on hover for desktops */
 @media (min-width: 768px) and (max-width: 900px) {

  .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .navbar-brand {
    color: #fd0d0d;
    font-weight: bold;
    display: flex;
    align-items: right;
    font-size: 3vh;
    font-family: 'Samarkan', cursive;
    margin-left: 1vh;
  }
  .carousel,.carousel-item {
    height: 30vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .carousel-caption {
    bottom: -15px;
    width:170px;
    left: 55%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .carousel-caption p {
    font-size: 0.4rem;
    max-width: 700px;
    margin: auto;
  }


  .carousel-caption .btn {
    font-size: 0.8rem;
  }

  .btn-grad-sant-saral {
    width:70px;
    margin: -2px;
    margin-left:30%;
    padding: 3px 3px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    font-size: 05px;
   }

   .btn-grad {
    margin: 00px;
    padding: 4px 4px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.2s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    font-size: 05px;
    }

    
    .section-container {
      padding: 30px 10px;
      background: url('/images/background1.webp') no-repeat center center/cover;
      position: relative;
      color: #161212;
      height: 100vh;
      }
     
      /* About section with its own background image */
      .about-section {
      font-family: 'Roboto', sans-serif;
      font-size: 0.5rem;
      background:  no-repeat center center/cover;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
      color: #333;
      position: relative;
      overflow: hidden;
      text-align: left;
      }
      
      .btn-grad-thf {background-image: linear-gradient(to right, #4776E6 0%, #8E54E9  51%, #4776E6  100%)}
      .btn-grad-thf {
           margin: 20px;
           padding: 10px 25px;
           text-align: center;
           text-transform: capitalize;
           text-decoration: none;
           transition: 0.5s;
           background-size: 200% auto;
           color: white;            
           box-shadow: 0 0 20px #eee;
           border-radius: 10px;
           font-weight: bold;
         }
        
      .btn-grad-thf:hover {
         background-position: right center; /* change the direction of the change here */
         color: #fff;
         text-decoration: none;
      }

.thf-seva-container {
     flex-direction: column;
     max-height: 500px;
     overflow-y: scroll;
}

.thf-seva-item {
     margin-left: 0;      /* Remove left margin for mobile */
     margin-bottom: 50px; /* Increase gap below the item */
}

.thf-seva-item img {
  width: 180%;
  height: 100%;
}

.thf-seva-item .text-box {
  width: 180%;
}

.card1 {
  width: 380%;
  height: auto;
  margin-top: 180vh;
  margin-bottom: 1vh;
  left: 0%;
}

.card2 {
  width: 100%;
  height: auto;
  margin-top: 1vh;
  margin-bottom: 1vh;
  margin-left: 0%;
}

.card3 {
  width: 100%;
  height: auto;
  margin-top: 1vh;
  margin-bottom: 1vh;
  margin-left: 0%;
}

.card4 {
  width: 100%;
  height: auto;
  margin-top: 1vh;
  margin-bottom: 1vh;
  margin-left: 0%;
}

.card5 {
  width: 100%;
  height: auto;
  margin-top: 1vh;
  margin-bottom: 1vh;
  margin-left: 0%;
}

.card6 {
  width: 100%;
  height: auto;
  margin-top: 1vh;
  margin-bottom: 1vh;
  margin-left: 0%;
}

.card-image img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  margin-top: -40%;
  margin-left: 80%;
}

.card-content h2 {
  font-size: 7vh;
  font-weight: bolder;
  margin-top: -55px;  /* 5px below the card-image */
  margin-bottom: 5px;  /* Create a 5px gap above the paragraph */
  color: #0ff3ef;
  text-align: center;
  text-align: center;
}

.card-content p {
  font-size: 2.5vh;
  color: #ffffff;
  margin-bottom: 50px; /* Optional: Keep bottom spacing for paragraph */
  text-align: left;

}

}