/*
Template Name: Krishna Temple
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/

/*********************faq****************/
.center_faq {
  background-image: url(../img/99.png);
  background-position: center center;
  background-size: cover;
}

.accordion-button {
  background: #b73a18;
  color: #fff;
  padding: 8px 15px;
  font-weight: bold;
  border: 0;
  font-size: 20px;
  text-align: left;
}
.accordion-button:focus {
  box-shadow: none;
  border: none;
}
.accordion-button:not(.collapsed) {
  background: #f74f22;
  color: #fff;
  padding: 8px 15px;
}
.accordion-body {
  padding: 20px;
  background: #fff;
}
.accordion-button::after {
  width: auto;
  height: auto;
  content: "+";
  font-size: 40px;
  background-image: none;
  font-weight: 100;
  color: #fff;
  transform: translateY(-4px);
}
.accordion-button:not(.collapsed)::after {
  width: auto;
  height: auto;
  background-image: none;
  content: "-";
  font-size: 40px;
  transform: translate(-5px, -4px);
  transform: rotate(0deg);
}
.accordion-item {
  border: none;
  border-radius: 0;
  background: none;
  border-bottom: 1px solid #efefef;
  margin-bottom: 10px;
}

#faq {
  padding-bottom: 150px !important;
}
/*********************faq_end****************/

@media screen and (max-width: 767px) {
  .faq_1r {
    margin-top: 20px;
  }
  #faq {
    padding-bottom: 40px !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
}

@media (min-width: 768px) and (max-width: 991px) {
}

@media (min-width: 992px) and (max-width: 1200px) {
}

@media (min-width: 1400px) and (max-width: 2000px) {
}

/* Custom scrollbar for light theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #b0b0b0;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #888888;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-corner {
  background-color: #f1f1f1;
}

/* Style for the fixed translate box at the bottom corner with blurred background */
.translate-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.4); /* Transparent white background */
  border: 2px solid #007bff; /* Blue border */
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999; /* Ensures the box stays on top of other content */
  backdrop-filter: blur(10px); /* Apply blur effect to content behind the box */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 200px; /* Maximum width for the translate box */
  width: 100%; /* Makes the box responsive */
  box-sizing: border-box;
}

/* Styling the text inside the translate box */
.translate-text {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: black; /* Orange text color */
  text-align: center;
}

/* Container for buttons to align them horizontally */
.button-container {
  display: flex;
  justify-content: space-between;
  gap: 5px; /* Space between buttons */
  width: 100%;
}

/* Style for the buttons inside the translate box */
.translate-button {
  background-color: transparent; /* No background color by default */
  color: black; /* Blue text color */
  border: 2px solid #007bff; /* Blue border */
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 45%; /* Buttons take up 45% of the container width */
}

/* Hover effect for buttons */
.translate-button:hover {
  background-color: #007bff; /* Light blue background on hover */
  color: white; /* White text on hover */
}

/* Style for the selected (active) button */
.translate-button.selected {
  background-color: #007bff; /* Blue background for the selected button */
  color: white; /* White text for the selected button */
}

/* Hide the Hindi text by default */
.hindi-text {
  display: none;
}

/* Ensure English text is visible by default */
.english-text {
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .translate-box {
    padding: 8px;
    width: 100%; /* Full width for smaller screens */
    max-width: 150px; /* Slightly narrower box for mobile */
    bottom: 25px; /* Reduce space at the bottom */
    right: 25px; /* Reduce space on the right side */
  }

  .translate-text {
    font-size: 12px; /* Smaller text size */
    margin-bottom: 6px; /* Reduced space between text and buttons */
  }

  .translate-button {
    font-size: 10px; /* Smaller text on buttons */
    padding: 5px 10px; /* Smaller button padding */
    width: 45%; /* Buttons remain at 45% width */
  }
}

@media (max-width: 320px) {
  .translate-box {
    max-width: 120px; /* Even narrower box on very small screens */
  }

  .translate-button {
    font-size: 9px;
    padding: 5px 8px;
  }
}

/* Default styles (for larger screens) */
.navbar-brand {
  font-size: 1.5rem; /* default font size for larger screens */
}

.navbar-brand .font_14 {
  font-size: 0.875rem; /* default font size for the smaller text */
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem; /* Smaller font for "Shri Ridhi Sidhi" on mobile */
  }

  .navbar-brand .font_14 {
    font-size: 0.625rem; /* Even smaller font for "Vedhsahtri Guruji" on mobile */
  }
}

.button_dis {
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: not-allowed; /* Shows the disabled cursor */
  opacity: 0.6; /* Makes it look disabled */
}

.button_dis:disabled {
  background-color: #ccc; /* Grey background for disabled state */
}
