* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Prevent full page scroll */
    display: flex;
    flex-direction: column;
    
    }
  
  /* Branding Bar (Fixed) */
  .branding-bar {
   
    display: flex;
    align-items: center;
    background-color: white;
    padding: 5px 10px;
    border-bottom: 2px solid #b59e85;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 54px; /* Ensure fixed height */
  
  }
  
  .myDiv {
    
    
      width: 200px;
      position: fixed; /* Fix it relative to the viewport */
      top: 42px; /* Adjust as needed */
      right: 0; /* Moves it to the right end */
      background: white;
      z-index: 999; /* Ensures visibility */
      min-height: auto; /* Adapts to content height */
    
    
  }
    .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  
  
  .branding-bar h1 {
    font-size: 28px;
    color: #b71c1c; /* Bold red title color */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 5px;
    margin-bottom: -2px; /* Move it slightly down */
    display: flex;
    align-items: center; /* Align with tagline */
  }
  
  .tagline {
    font-size: 14px;
    color: #555;
    white-space: nowrap; /* Prevents moving to the next line */
    margin-left: 5px; /* Small spacing from "MANDIRKOSH" */
  
  }
  
  .temple-video {
    position: fixed;
    right: 260px;
    top: 5px;
    width: 120px;
    height: 40px;
    z-index: 1000;
    border: none; /* Remove unwanted lines */
  }
  
  #myVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none; /* No borders */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  
  /* Fullscreen styling */
  video:fullscreen,
  video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: black;
  }
  
  
  /* Search Bar */
  .search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 880px;
  }
  
  .search-bar input {
    padding: 8px 40px 8px 12px;
    border: 1px solid #cdb79e;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
  }
  
  .search-bar .search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .search-bar .search-btn img {
    width: 20px;
    height: 20px;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
    padding: 20px;
  }
  
  /* Heading */
  h1 {
    color: #333;
    margin-bottom: 10px;
  }
  
  /* Branding Bar */
  .branding-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
  }
  
  .branding-bar .tagline {
    font-weight: bold;
  }
  
  .branding-bar h1 {
    margin-left: 10px;
  }
  
  .branding-bar .logo {
    margin-right: 15px;
  }
  .table-container {
  width: 72%;
  overflow-x: auto;
  margin: 20px auto;
  margin-top: 180px;
  }
  .table-container h2 {
    margin-top: 5px;
  }
  #resultsTable {
  width: 70%; /* Adjust width for better fit */
  border-collapse: collapse;
  margin: auto;
  }
  
  #resultsTable thead {
  background-color: #444; /* Gray background */
  color: rgb(18, 16, 16);
  font-weight: bold;
  top: 20;
  }
  
  #resultsTable th, #resultsTable td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  }
  
  #resultsTable tbody tr:nth-child(even) {
  background-color: #f9f9f9; /* Alternate row color */
  }
  
  #resultsTable tbody tr:hover {
  background-color: #f1f1f1; /* Highlight row on hover */
  }
  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .branding-bar {
        flex-direction: column;
        align-items: center;
    }
  
    h1 {
        font-size: 18px;
    }
  }
  
  /* Login Icon */
  .login-icon img {
    width: 50px;
    height: 50px;
  }
  
  /* Right Side: Menu Bar */
  .menu-bar {
    
    background-color: gray;
    padding: 10px 20px;
    text-align: right;
    position: fixed;
    top: 100px; /* Adjusted to give space for .myDiv */
    left: 0;
    width: 100%;
    z-index: 1001;
    
  }
  
  .menu-bar ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end; /* Moves menu items slightly more right */
    padding: 0;
    margin-right: 40px; /* Moves it slightly right */
  }
  
  .menu-bar li {
    position: relative;
    margin: 0 15px;
  }
  
  .menu-bar a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .menu-bar a:hover {
    background-color: skyblue;
  }
  
  /* Dropdown Menu */
  .menu-bar .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 50px;
    padding: 0;
    margin: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .menu-bar li:hover .dropdown {
    display: block;
  }
  
  .menu-bar .dropdown li {
    padding: 0 0;
    font-size: 15px;
    display: block;
    width: 30%;
  }
  
  .menu-bar .dropdown li a {
    text-decoration: none;
    color: #000;
    display: block;
    padding: 8px 0;
  }
  
  .menu-bar .dropdown li a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown-menu {
      display: none;
      position: absolute;
      top: 7px;
      right: 0;
      background-color: white;
      box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
      border-radius: 7px;
      z-index: 1000;
      min-width: 140px;
    }
  
    .dropdown-menu.active {
      display: block;
    }
  
    .dropdown-menu button {
      display: block;
      width: 85%;
      padding: 10px;
      border: none;
      background: none;
      text-align: left;
      cursor: pointer;
      color: #000;
    }
  
    .dropdown-menu button:hover {
      background-color: #f0f0f0;
    }
    .main {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 90vh;
      margin-top: 100px;
      background-image: url('https://images.pexels.com/photos/6712383/pexels-photo-6712383.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');

      background-size: 78%;
      background-repeat: no-repeat;
      background-position: center -40px;
  }
  
  .container-register {
      width: 27%;
      height: 65%;
      
      background: white;
      padding: 20px;
      border-radius: 25px;
      text-align: center;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .container-register h2 {
      padding: 10px 0;
  }
  
  input {
      width: 80%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
  }
  
  .button-container {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 15px;
  }
  
  button {
      background-color: #ffa500;
      border: none;
      color: white;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
  }
  
  button:hover {
      background-color: #ff8c00;
  }
  
  .forgot-password {
      color: #472ed4;
      text-decoration: none;
      font-weight: bold;
  }
  
  .forgot-password:hover {
      color: #2812e7;
      text-decoration: underline;
  }
  
  /* Modal Styles */
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000;
}
  .modal-content {
      background-color: white;
      margin: 10% auto;
      padding: 20px;
      width: 40%;
      height: 40%;
      border-radius: 10px;
      text-align: center;
      position: relative;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }
  .modal-content-login{
    background-color: white;
    padding: 30px;
    width: 40%; /* Adjust width as needed */
    max-width: 600px; /* Ensure responsiveness */
    border-radius: 15px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This perfectly centers the modal */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
 .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: red;
    font-weight: bold;
  }
  
  .modal-content iframe {
      width: 100%;
      height: 200px;
      border: none;
  }
  
  /* NDA Agreement Styles */
  .nda-label {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 14px;
      margin: 10px 0;
  }
  
a {
  text-decoration: none;
 
  font-weight: bold;
  margin-top: 5px;
}

a:hover {
  text-decoration: underline;
}
/* NDA Agreement Checkbox Alignment */
.nda-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* Style the checkbox */
.nda-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f39c12; /* Changes the checkbox color */
  cursor: pointer;
}


/* Close Button */
/*.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close:hover {
  color: red;
}

/* Form Fields inside Modal */
.modal input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
  
  .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
      background-color: white;
      padding: 10px;
      margin: 10% auto;
      width: 35%; 
      text-align: center;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .close {
      position: absolute;
      right: 20px;
      font-size: 24px;
      cursor: pointer;
  }
  
  input {
      width: 100%;
      padding: 5px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 16px;
  }
  
  #login-email {
    width: 80%;  /* Adjust width as needed */
    padding: 10px;  /* Same padding */
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#login-password {
    width: 80%;  /* Keeps password width unchanged */
    padding: 9px;  /* Same padding */
    margin: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


  form button {
      width: 30%;
      padding: 2px;
      margin: 10px 0;
  }
  
  form button[type="reset"], form button[type="button"] {
      background-color:#0d0d0df4;
  }
  
  form button[type="reset"]:hover, form button[type="button"]:hover {
      background-color: #0d0d0df4;
  }
    
    
  
    .background-wrapper {
      position: relative; /* Ensure it follows normal document flow */
      align-items: center;
      display: flex;
      justify-content: center;
      min-height: 50vh;
      overflow: hidden;
      margin-top: 130px;
      
    }
    
    .background-image {
      background-image: url('js/new background img.webp') ;
      background-size: cover;
      background-position: center;
      height: 630px;
      width:100%;
      max-width: 1200px;
      
      transition: background-image 0.4s ease-in-out;
      overflow: hidden;
      
    }
    
    .scroll-btn {
      position: absolute;
      background: none;
      border: none;
      color: black;
      font-size: 24px;
      cursor: pointer;
      z-index: 10;
      opacity: 0.8;
      transition: none;
    }
    
    .scroll-left {
      left: 10px; /* Push closer to far left */
    }
    
    .scroll-right {
      right: 10px; /* Push closer to far right */
    }
    
    /* Disable hover effects */
    .scroll-btn:hover {
      background: none;
      color: black;
      opacity: 0.8;
    }
    
    
    
    /* ebook */

/* Ebook Main Section */
/* Ebook Main Section */
.main-ebook {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 150px auto 0 auto; /* Top margin adjusted, centered horizontally */
  padding: 20px;
  border-radius: 10px;
  width: 90vw; /* Increased for more content space */
  max-width: 1200px;
}

h2 {
  padding-bottom: 5px;
}

.button-container {
  display: flex;
  gap: 10px;
  margin-top: 0px; /* Reduce top space */
}

.b1, .b2 {
  background-color: rgb(29, 28, 27);
  color: white;
  border-radius: 5px;
  padding: 10px 20px 10px 15px;
  font-size: 14px;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns text to left */
}

.b1 button, .b2 button {
  background: transparent;
  border: none;
  color: white;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.b1 {
  margin-right: 10px; /* Space between the buttons */
}

.ebooks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.ebook {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.ebook button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.ebook button:hover {
  background-color: #45a049;
}

/* Ebook Viewer Section - Embedded */
.ebook-viewer {
  display: none; /* Initially hidden, shown via JS */
  width: 100vw; /* Full width on screen */
  max-width: 1150px;
  height: 1200px; /* Add this line */
  margin: -40px auto 0 auto; /* Center horizontally */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  box-sizing: border-box;
}

/* PDF Frame */
#pdfFrame {
  width: 100%; /* Ensure full width */
  height: 180vh;  /* More height for better visibility */
  border: none;
  border-radius: 8px;
  margin: 0; /* Remove all margins */
  padding: 0;
  box-sizing: border-box;
}

/* Book Selection */
.book-selection {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.book-selection label {
  font-size: 18px;
  font-weight: bold;
  align-self: center;
}

#ebookSelect {
  width: 50%;
  padding: 5px 10px;
  font-size: 16px;
  border: 2px solid #007bff;
  border-radius: 5px;
  outline: none;
  transition: 0.3s;
}

#ebookSelect:hover,
#ebookSelect:focus {
  border-color: #0056b3;
  box-shadow: 0px 0px 5px rgba(0, 91, 187, 0.5);
}



/* Responsive Styles */
@media (max-width: 768px) {
  .main-ebook {
    width: 80%;
  }

  .ebooks-container {
    grid-template-columns: 1fr;
  }

  #ebookSelect {
    width: 100%;
  }

  .ebook-viewer {
    width: 95vw;
    padding: 15px;
  }

  #pdfFrame {
    width: 100%; /* Full width */
    margin-left: 0; /* Adjust margin as needed */
  }
}
  
  /*publication */
    .main-publication {
      font-family: Arial, sans-serif;
      background: linear-gradient(to right, #fefefe, #e9e7e8);
      color: rgb(7, 7, 7);
      text-align: center;
      margin: 0;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
      animation: fadeIn 1s ease-out;
      margin-top: 140px; /* Same as the menu height */
  }
  .comming-soon {
    margin-top: 200px;
  }
  .publication {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      width: 65%;
      max-width: 1100px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(10px);
      overflow-y: auto;
      max-height: 69vh;
      margin: 0 auto;
      opacity: 0;
      animation: fadeIn 2s forwards;
  }
  
  .book-box {
      background: rgba(255, 255, 255, 0.2);
      padding: 10px;
      text-align: center;
      border-radius: 10px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      animation: slideIn 0.5s ease forwards;
  }
  
  .book-box:hover {
      transform: scale(1.07);
      box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .book-box img {
      width: 60%;
      height: auto;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
      transition: transform 0.3s ease;
  }
  
  .book-box img:hover {
      transform: scale(1.1);
  }
  
  .book-box a {
      text-decoration: none;
      color: rgb(5, 5, 5);
      font-weight: bold;
      display: block;
      margin-top: 10px;
      font-size: 16px;
      transition: color 0.3s ease, text-shadow 0.3s ease;
  }
  
  .book-box a:hover {
      color: #ffcc00;
      text-shadow: 2px 2px 5px rgba(255, 204, 0, 0.8);
  }
  
  .mode {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  opacity: 0;
  }
  
  
  .mode.show .mode-content {
  animation: zoomIn 0.5s forwards;
  }
  
  
  .mode-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  width: 50%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  color: black;
  transform: scale(0.7);
  }
  
  .close {
      color: red;
      float: right;
      font-size: 24px;
      cursor: pointer;
  }
  
  @keyframes fadeIn {
      to {
          opacity: 1;
      }
  }
  
  @keyframes slideIn {
      0% {
          opacity: 0;
          transform: translateY(20px);
      }
      100% {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  @keyframes fadeInModal {
      to {
          opacity: 1;
      }
  }
  
  @keyframes zoomIn {
      to {
          transform: scale(1);
      }
  }
  #modeDescription {
  font-size: 22px; /* Increase font size */
  /* font-weight: bold;  Make it bold if needed */
  margin-top: 10px; /* Add spacing */
  }
  
  .feedback-container {
    position: fixed; /* Fix it on screen */
    top: 10px; /* Adjust distance from top */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: white;
    min-height: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    
    direction: ltr; /* Prevent layout flip */
  }


  h2 {
    color: #333;
    text-align: center;
    font-size: 28px;
    
    margin-top: 5px;
  }

  form {
    overflow-y: auto; /* Scroll inside form */
    flex-grow: 1;      /* Fill vertical space */
    width: 100%;
    padding-right: 10px; /* For scrollbar space */
    box-sizing: content-box;
  }

  form label {
    display: block;
    text-align: left;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
  }

  input[type="text"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 10px;
    margin-top: 1px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
  }

  textarea {
    resize: none;
  }

  .rating {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }

  .rating label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    cursor: pointer;
  }

  .rating input[type="radio"] {
    display: none;
  }

  .custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    border-radius: 50%;
    display: inline-block;
    position: relative;
  }

  .rating input[type="radio"]:checked + .custom-radio {
    background-color: #4CAF50;
    border: 2px solid #4CAF50;
  }

  .custom-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }

  .rating input[type="radio"]:checked + .custom-radio::after {
    display: block;
  }

  .buttons {
    display: flex;
    justify-content: center;
    gap: 10px; 
    flex-wrap: wrap;
     bottom: 0;
    padding-top: 10px;
  }

  button {
    background: rgb(39, 35, 27);
    padding: 9px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 48%;
    box-sizing: border-box;
  }

  button:hover {
    background: #005bbb;
  }

  .error-message {
    color: red;
    display: none;
    text-align: center;
    margin-top: 15px;
  }

  p {
    color: #777;
    font-size: 12px;
    margin-top: 10px;
  }

/* Responsive */
@media (max-width: 768px) {
  .feedback-container {
    width: 90%;
    height: 500px; /* Slightly smaller height on mobile */
    padding: 15px;
    margin-top: 80px; /* Push form down on mobile */
  }

  h2 {
    font-size: 24px;
  }

  form label {
    font-size: 14px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    position: sticky;
    margin-top: 30px; /* Increased margin for mobile */
    bottom: 0;
    background: white; /* Add background to avoid overlap */
    padding-top: 10px; /* Optional: give some padding */
  }

  button {
    width: 100%;
  }
}

/* For larger screens, add margin-top too */
@media (min-width: 769px) {
  .feedback-container {
    margin-top: 120px; /* Push form down on desktop */
  }
}



  /* amravati */
  /* Middle Content Styles */
  .middle-content {
    background:#f9f9f9; /* Soft gradient background */
    margin: 0px auto;
    padding: 10px;
    width: 1100px; /* Set explicit width */
    max-width: 100%; /* Prevent overflow */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #333;
    position: relative;
    margin-top: 140px;
    overflow: auto;
  }
  
  /* Decorative Corner Elements */
  .middle-content::before,
  .middle-content::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    
    
    
  }
  
  .middle-content::before {
    top: -50px;
    left: -50px;
  }
  
  .middle-content::after {
    bottom: -50px;
    right: -50px;
  }
  
  /* Section Header */
  .section-header {
    text-align: center;
    font-size: 2.5rem; /* Larger text */
    font-weight: bold;
    color:brown;
    margin-bottom: 0px;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); Add subtle text shadow */
    margin-top: -10px;
     background-color:#E3BC9A;
  }
  
  
  
  /* Subsection Headings */
  .about-container h2, .temple-container h2 {
    color: #0056b3; /* Distinct color for headings */
    
    position: relative;  
    text-align: center;
     
  }
  .Temple-image {
    max-width: 230px; /* Reduced size for temple image */
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-right: 70%;
  }
  
  .district-map-image {
    width: 230px; /* Reduced size for map image */
    height: 160px;
    margin-top: -60px;
    border-radius: 8px;
    margin-right: 70%;
  }
  
  
  /* Paragraph Text */
  
  .about-container p, .temple-container p {
     /* Improved readability */
     font-size: 1.3rem;
     text-align: justify;
     line-height: 1.5rem;
     max-width: 750px;
     margin: 5px 0px;
    margin-top: -140px;
    margin-left: 350px;
    color: #000;
  }
  
  
  
  /* "Read More" Button Styles */
  .read-more-btn {
    background: none;
    color: #2442d6; /* Dark blue */
    padding: 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2rem; /* Increased font size */
    margin-left: 10px;
    vertical-align: middle;
    text-decoration: underline;
  }
  
  .read-more-btn:hover {
    color: #2442d6;
    text-decoration: underline;
    background: none;
  }
  
  
  /* for-table */
  
  #templeTable {
    display: none;
    margin-top: 20px;
  }
  
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: -8px;
  }
  
  table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  
  table th {
    background-color: #f4f4f4;
    font-weight: bold;
  }
  
  .stats-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 18px;
    font-weight: bold;
    margin-left: 30%;
    position: relative;
    bottom: 98px;; /* Move content slightly up */
    color: #e94444;
}

.stats-box:hover {
  background: #ffcc00; /* Bright yellow */
  color: #090707; /* Black text for contrast */
  transform: scale(1.05);
  box-shadow: 0px 4px 12px rgba(255, 204, 0, 0.7); /* Glow effect */
  transition: all 0.3s ease-in-out;
}



  
  /* Style for the Back to Home button */
  .back-home-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #28a745; /* Green color */
  border: none;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 20px;
  }
  
  /* Hover Effect */
  .back-home-btn:hover {
  background-color: #218838; /* Darker green */
  transform: scale(1.05); /* Slight zoom */
  }
  
  /* Focus Effect */
  .back-home-btn:focus {
  outline: none;
  box-shadow: 0 0 5px #28a745;
  }
  
  /* Contact Section */
  .contact {
    background-color:	white;
    padding: 30px;
    width: 75%;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin:auto;
    height: auto;
    margin-top: 190px;
  }
  
  .contact h2 {
    color: #0e0e0e;
  }
  
  .contact p {
    font-size: 16px;
    color: #252424;
  }
  
  /* Footer */
  .contact-footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
  }
  
  /* Advertisement Styling */
  .temple-img {
    width: 170px;
    height: 370px;
    border: 2px solid black;
    position: fixed;
  }
  
  /* Search Error Message */
  #errorMessage {
    color: red;
    visibility: hidden;
    font-size: 14px;
    margin-top: 5px;
  }
  
  
 .about-us {
  padding: 40px 20px;
  background-color: white;
  margin-top: 100px;
  max-height: 100vh;       /* Keep the section full-screen */
  overflow-y: auto;        /* Vertical scroll if needed */
}
.about-us h1 {
  margin-top: 20px;
}
.about-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.about-container h1 {
  color: #ff4800;
  font-size: 32px;
  margin-bottom: 30px;
}

/* Side-by-side equal boxes */
.about-media {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 30px;
}

.media-box {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image img,
.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 

  
/* Side-by-side on larger screens */
@media (min-width: 768px) {
  .about-media {
    flex-direction: row;
  }

  .media-box {
    width: 48%;
  }
}

/* Info section with H2 and para */
.about-info {
  max-width: 900px;
  margin: auto;
  padding: 0 15px;
  text-align: justify;   /* Keep justified */
}

.about-info p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 10px;
  text-align: left;      /* Force left alignment */
  margin-left: 0;        /* Remove auto margins */
  margin-right: 0;
  padding-left: 15px;    /* Some gap from left */
  padding-right: 15px;   /* Some gap from right */
  max-width: 100%;       /* Full width */
}


.about-info h2 {
  text-align: center;
  color: darkgoldenrod;
  font-size: 24px;
  margin-bottom: 20px;
}



 
 /* Reset body and html */
 html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Left and Right Ads */
.left-ads, .right-ads {
  
  position: fixed;
  top: 56.9%;  /* Adjust as needed */
  transform: translateY(-50%);
  width: 168px; /* Adjust width */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0; /* Ensure no space between images */
}

/* Left and Right Ads Position */
.left-ads { left: 0px; }
.right-ads { right: 0; }

/* Images inside ads */
/* Images inside ads */
.left-ads img, .right-ads img {
  width: 100%;
  height: 37.9vh;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: 2px solid #000; /* ✅ Added border */
}

/* Reduce width of the bottom image in left ads */
.left-ads a:last-child img {
  width: 100%; /* Reduce width slightly */
}

  /* Fixed Footer */
  .footer {
    display: flex;
    justify-content: space-between;
    background-color: #000;
    color: #FFFFFF;
    font-weight: 700;
    
    padding: 8px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }