/* General styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

 /* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: #6a1b9a;
  color: white;
}

.logo-title {
  display: flex;
  align-items: center;
}

.logo {
  width: 60px;
  margin-right: 10px;
}

.title {
  font-size: 24px;
  font-weight: 100;
}

.nav-links {
  display: none;
}

.selected {
  color: #ffe066;
  font-weight: bold;
}

/* Top Wrapper */
.top-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background-color: #6a1b9a;
  overflow: hidden;
  color: white;
}

.top-text {
  text-align: center;
  overflow: hidden;
  font-size:20px;
}

.top-image {
  margin-top: 40px;
  overflow: hidden;
}

.top-wrapper h2 {
    font-size: 38px;
    color: white;
    font-weight: 600;
    font-family: Inter, sans-serif;
}

.cta-button {
  background-color: white;
  color: #6a1b9a;
  border: none;
  padding: 10px 40px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 15px;
}


h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  list-style-type: none;
  margin-bottom: 8px;
  text-align: justify;
}

/* Top Banner */
.top-banner {
  background-color: #6a1b9a;
  color: white;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.top-banner h1 {
  font-size: 28px;
  font-weight: bold;
}

/* Tiles Container */
.tiles-container {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Tile */
.tile {
  display: flex;
  flex-direction: column-reverse;
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.tile.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Mobile-first layout */
.tile-content {
  padding: 15px;
  flex: 1;
  background-color: #fff6ff;
  border-radius: 12px 0 0 12px;
  line-height: 200%;
}

.tile-image {
  flex: 0 1 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
  width: 90%;
  margin: 0 auto;
}

.tile-image img {
  width: 100%;
  border-radius: 8px;
}

.tile h2 {
  color: #6a1b9a;
  font-size: 20px;
  margin-bottom: 5px;
}

.tile h3 {
  color: #424242;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: justify;
}

.tile p {
  color: #666666;
  line-height: 175%;
  font-size: 17px;
  text-align: justify;
}

/* Sanskrit Verse Styling */
.sanskrit-verse {
  color: #00796b;
  margin-bottom: 10px;
  text-align: center;
  font-size:13px;
}

.tile-text {
  font-size: 18px;
  color: #00796b;
  margin-bottom: 10px;
}

.numbered-list {
  padding-left: 5px;
}

.circle {
  width: 20px; 
  height: 20px; 
  border-radius: 50%; 
  background-color: #c7c7c7; 
  text-align: center; 
  line-height: 20px; 
  font-size: 12px;
  color: white;
  display: inline-block;
  margin-right: 10px;
}
.small-list{
	font-size:12px;
}

.small-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #6a1b9a;
  color: white;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
}

.highlight {
  color: #6a1b9a;
  font-weight: bolder;
}
.lowlight {
  color: #c7c7c7;
  font-weight: lighter;
  font-size:15px;
}

/* Gallery */ 

.gallery-tile {
            background-color: #f0f0f0;
            padding: 10px;
            border-radius: 8px;
            overflow: hidden;
			width:90%;
        }
		
.gallery {
            display: flex;
            overflow-x: auto; /* Enable horizontal scrolling */
            overflow-y: hidden; /* Hide vertical overflow */
            scrollbar-width: thin; /* Use a thin scrollbar for Firefox */
            -ms-overflow-style: -ms-autohiding-scrollbar;  /* Autohiding scrollbar for Internet Explorer and Edge */
        }

        .gallery::-webkit-scrollbar {
            height: 8px; /* Set height of the scrollbar */
        }

        .gallery::-webkit-scrollbar-thumb {
            background: #ccc; /* Color of the scrollbar */
            border-radius: 10px; /* Rounded scrollbar */
        }

        .gallery::-webkit-scrollbar-track {
            background: transparent; /* Background of the scrollbar track */
        }

        .image-container {
            min-width: 110px; /* Minimum width for each image */
            margin-right: 20px;
            text-align: center; /* Center the caption */
            margin-bottom: 20px;
        }

        img {
            max-width: 100%;
            border-radius: 5px;
        }

        .caption {
            margin-top: 5px;
            font-weight: bold;
        }
		
/* Footer */
footer {
            background-color: #6a1b9a;
            color: white;
            text-align: center;
			margin: 20px;
            padding: 20px;
            font-size: 16px;
            bottom: 0;
        }
        
.JoinButton {
    /*display: inline-block;*/
    background-color: #6a1b9a;
    color: white; /* White text */
    padding: 0px 5px;
    margin: 5px 0px;
    font-size: 16px; /* Font size */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth hover transition */
	
    display: inline-flex; /* Use flexbox to align icon and text */
    align-items: center; /* Center icon and text vertically */
    
}

.JoinButton:hover {
    background-color: #6a1b9a; /* Darker on hover */
}
        
/* Beautiful hover effect for larger screens */
@media (min-width: 600px) {
	.tiles-container{
		margin: 0 300px;
	}
  .tile {
    flex-direction: row;
    align-items: center;
  }

  .tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-tile {
           	width:40%;
        }
}

/* Burger Menu */

 /* Styles for the burger menu */
    .burger-menu {
      width: 30px;
      cursor: pointer;
    }

    .line {
      width: 100%;
      height: 3px;
      background-color: white;
      margin: 5px 0;
    }

    /* Hidden menu container */
    .menu {
      display: none;
      background-color: white;
      padding: 10px 40px;
      position: absolute;
      top: 40px;
      right: 10px;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menu a {
      display: block;
      padding: 10px 0;
      text-decoration: none;
      color: #6a1b9a;
    }

    .menu a:hover {
      color: #007BFF;
    }

   /* Basic styling for the numbers */
        .tooltip-container {
            display: inline-block;
            position: relative;
            cursor: pointer;
            margin: 0 5px; /* Add spacing between numbers */
        }

        /* Tooltip text styling */
        .tooltip-text {
            visibility: hidden;
            background-color: #6B309A;
            color: #fff;
            text-align: center;
            padding: 10px; /* Increased padding for better appearance */
            border-radius: 4px;
            position: absolute;
            z-index: 1;
            bottom: 125%; /* Position above the number */
            left: 50%;
            transform: translateX(-50%);
            max-width: 250px; /* Increased max-width for more content */
            white-space: normal; /* Allow text to wrap */
            opacity: 0;
            transition: opacity 0.3s;
            line-height: 1.5; /* Improved line height for better readability */
        }

        /* Tooltip arrow styling */
        .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%; /* Arrow pointing down */
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

        /* Show tooltip on hover or focus */
        .tooltip-container:focus .tooltip-text,
        .tooltip-container:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        /* Prevent tooltips from going off-screen */
        .tooltip-text.adjust-left {
            left: auto;
            right: 0;
            transform: translateX(0);
        }
		
		
		/* icon button */
		
	.button-icon {
	width: 20px; /* Set icon width */
	height: 20px; /* Set icon height */
	margin-right: 8px; /* Space between icon and text */
	vertical-align: middle;
}

.captionlowlight{
	    margin: 0;
    padding: 0;
    line-height: normal;
    font-size: 14px;
    color: grey;
}
