@font-face {
  font-family: "TiroDevanagariMarathi";
  src: url("https://siddhabet.org/wp-content/themes/siddhabet-website/fonts/TiroDevanagariMarathi-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

.Container {
  font-family: "TiroDevanagariMarathi", sans-serif;
  width: auto;
  font-size: 1.8rem;
  line-height: 3.1rem;
  color: darkblue;
  font-weight: 550;
  background: antiquewhite;
  text-align: justify;
}

h2 {
  font-family: "TiroDevanagariMarathi", sans-serif;
}
p {
  text-indent: 20px;
}

.Intro-Para {
  margin: 10px;
}

.button-text {
  margin-right: 25px;
}

.Separator {
  height: auto;
  max-width: 25%;
  border-radius: 0px;
  margin-top: -10px;
}

.frame {
  display: none;
}

/* Section - 1 */

.Container .Section1 {
  display: grid;
  grid-template-columns: 40% 60%;
  margin-top: 10px;
  align-items: center;
}

.Section1-Left {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.Section1-Right {
  padding: 20px;
  background: whitesmoke;
  border-radius: 10px;
  box-shadow: 0 0 20px -8px #000000;
  font-weight: 500;
  margin-bottom: 10px;
}

.Section1-Image {
  height: auto;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 20px -8px #000000;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.Section1-Caption {
  text-align: center;
  font-weight: bold;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 3rem;
}

@media all and (max-width: 1400px) {
  .Container .Section1 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1400px) {
  .Section1-Image {
    width: 60%;
  }
}

@media (min-width: 768px) {
  .page_content .container {
    margin: 0 15%;
    background: antiquewhite;
    border-style: none !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5), 0 0 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
    margin-top: 40px;
    padding-left: 0;
    padding-right: 0;
  }
}

.Poster-Top {
  display: block;
  height: auto;
  max-width: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.Poster-Top-Mobile {
  display: none;
  height: auto;
  max-width: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .Poster-Top {
    display: none;
  }

  .Poster-Top-Mobile {
    display: block;
  }

  .Separator {
    max-width: 50%;
  }
}

.pagenavbar {
  overflow: hidden;
  display: flex;
  justify-content: center;
  font-size: 25px;
}
.pagenavbar a {
  float: left;
  display: block;
  color: #793200;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}
.pagenavbar a.active.firstOpt {
  background-color: #ffaf6e;
  color: #990000;
}
.pagenavbar a.active.secondOpt {
  background-color: #bcd7ff;
  color: #990000;
}
.pagenavbar a:not(:first-child) {
  border-left: 1px solid #990000;
}
.content {
  padding: 20px;
}
.content section {
  display: none;
}
.content section:first-child {
  display: block;
}
.dropdown-button {
  background-color: #dfe5ff;
  color: #7e4b00;
  padding: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease;
  border-radius: 8px;
  font-weight: bold;
  font-size: 21px;
  box-shadow: 0 0px 5px rgb(0 0 0 / 35%);
}

.button1 {
  background-color: #bcd7ff;
  color: #000c5b;
}

.dropdown-button::after {
  content: "\25BC"; /* Unicode for down arrow */
  font-size: 16px;
  position: absolute;
  right: 10px;
  transition: transform 0.3s ease;
}

.dropdown-button.open {
  background-color: #000364;
  color: #ffac31;
}

.dropdown-button.open.button1 {
  background-color: #000c5b;
  color: white;
}

.dropdown-button.open::after {
  transform: rotate(180deg);
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  margin-top: 10px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: whitesmoke;
  border-radius: 10px;
  box-shadow: 0 0 20px -8px #000000;
  font-weight: 500;
  margin-bottom: 10px;
}

.dropdown-content.open {
  max-height: 999rem; /* Adjust according to your content height */
  padding: 10px;
}

.Ovee {
  height: auto;
  max-width: 100%;
  border-radius: 5px;
  width: calc(60rem + 1vw);
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 15px;
}

.Ovee:hover {
  box-shadow: 0 0 20px -8px #000000;
}

.Seva-Image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  box-shadow: 0 0 20px -8px #000000;
  width: 70%;
  margin-bottom: 10px;
}

.Kirtan-Image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  box-shadow: 0 0 20px -8px #000000;
  width: 50%;
  margin-bottom: 10px;
}

.Grid1 {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-top: 10px;
  align-items: center;
}

.Grid1-Left {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.Grid1-Image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  box-shadow: 0 0 20px -8px #000000;
  width: 100%;
}

.PravachanSeva {
  width: auto;
  display: grid;
  justify-content: center;
}
.photo-Caption {
  margin-left: auto;
  margin-right: auto;
}
.PravachanSeva img {
  width: 100%;
  height: auto;
  justify-content: center;
}

.Grid1-Caption {
  text-align: center;
  font-weight: bold;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 3rem;
  margin-top: 15px;
}

@media all and (max-width: 768px) {
  .Grid1 {
    grid-template-columns: 1fr;
  }

  .Grid1-Image {
    width: 100% !important;
  }

  .Seva-Image {
    width: 100% !important;
  }

  .Kirtan-Image {
    width: 100% !important;
  }
}

@media all and (max-width: 1400px) {
  .Grid1 {
    grid-template-columns: 1fr;
  }

  .Grid1-Image {
    width: 70%;
  }
}

/* Pune - Photo Gallery */

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  display: block;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-arrow-button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

#modalLeftArrow {
  left: 40px;
  z-index: 1000;
}

#modalRightArrow {
  right: 40px;
}

/* Ensure modal is responsive for mobile */
@media screen and (max-width: 600px) {
  .modal-content {
    max-width: 100%;
    max-height: 70%;
  }
  .modal-arrow-button {
    font-size: 30px;
  }
  .close {
    font-size: 30px;
  }
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photogallery-container {
  width: 80%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  position: relative;
  margin-top: 10px;
}

button {
  width: 5%;
}
.arrow-button {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

#leftArrow {
  left: 10px;
}

#rightArrow {
  right: 10px;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px -8px #000000;
}

.thumbnails-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}

.thumbnails {
  display: flex;
  flex-wrap: nowrap;
}

.thumbnail {
  width: 100px;
  height: 75px;
  margin: 0 10px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border 0.3s;
  flex: 0 0 auto;
}

.thumbnail:hover,
.thumbnail.active {
  border: 2px solid #007bff;
}

@media all and (max-width: 767px) {
  .photogallery-container {
    max-width: 350px;
  }
}